summaryrefslogtreecommitdiffstats
path: root/sync
diff options
context:
space:
mode:
authorzea@chromium.org <zea@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-03-16 00:07:07 +0000
committerzea@chromium.org <zea@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-03-16 00:07:07 +0000
commite859d06015371958d9015f9b2e26e38c76d76614 (patch)
tree7bbdf2f4df93569484378dc80f70a1a119651d40 /sync
parent38fd57abb3663de8a28e2788572092eff3cac148 (diff)
downloadchromium_src-e859d06015371958d9015f9b2e26e38c76d76614.zip
chromium_src-e859d06015371958d9015f9b2e26e38c76d76614.tar.gz
chromium_src-e859d06015371958d9015f9b2e26e38c76d76614.tar.bz2
[Sync] Fix history implicit types
Fixes two issues related to history delete directives. 1. Types should not be enabled by default 2. Proxy tabs information was not being sent to the server. BUG=170162 Review URL: https://chromiumcodereview.appspot.com/12875004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@188521 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'sync')
-rw-r--r--sync/engine/build_commit_command.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/sync/engine/build_commit_command.cc b/sync/engine/build_commit_command.cc
index ea0346c..531eaf6 100644
--- a/sync/engine/build_commit_command.cc
+++ b/sync/engine/build_commit_command.cc
@@ -112,6 +112,8 @@ void BuildCommitCommand::AddClientConfigParamsToMessage(
int field_number = GetSpecificsFieldNumberFromModelType(iter->first);
config_params->mutable_enabled_type_ids()->Add(field_number);
}
+ config_params->set_tabs_datatype_enabled(
+ routing_info.count(syncer::PROXY_TABS) > 0);
}
namespace {