Skip to content

Commit

Permalink
[Sync] Add search_terms field to session_specifics.proto
Browse files Browse the repository at this point in the history
Syncing the search terms that were extracted from a URL.

BUG=159326,153477


Review URL: https://chromiumcodereview.appspot.com/11437022

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@171359 0039d316-1c4b-4281-b951-d872f2087c98
  • Loading branch information
mathp@chromium.org committed Dec 6, 2012
1 parent 32debfb commit 8f537a7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions sync/protocol/proto_value_conversions.cc
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,7 @@ DictionaryValue* TabNavigationToValue(
SET_BOOL(navigation_chain_start);
SET_BOOL(navigation_chain_end);
SET_INT64(global_id);
SET_STR(search_terms);
return value;
}

Expand Down
2 changes: 2 additions & 0 deletions sync/protocol/session_specifics.proto
Original file line number Diff line number Diff line change
Expand Up @@ -118,4 +118,6 @@ message TabNavigation {
// The id for this navigation, which is globally unique with high
// probability.
optional int64 global_id = 15;
// Search terms extracted from the URL.
optional string search_terms = 16;
}

0 comments on commit 8f537a7

Please sign in to comment.