summaryrefslogtreecommitdiffstats
path: root/sync/util
diff options
context:
space:
mode:
authorzea@chromium.org <zea@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-02-14 20:24:19 +0000
committerzea@chromium.org <zea@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-02-14 20:24:19 +0000
commita6fddf4f98b6c8e0a4dbe22bcac6a64dbd82ea75 (patch)
tree346b816eb88b4ed3b4a0610cdc18a458c051480f /sync/util
parent9d47976a4e27c092a6730b47bb1fb59adce39f01 (diff)
downloadchromium_src-a6fddf4f98b6c8e0a4dbe22bcac6a64dbd82ea75.zip
chromium_src-a6fddf4f98b6c8e0a4dbe22bcac6a64dbd82ea75.tar.gz
chromium_src-a6fddf4f98b6c8e0a4dbe22bcac6a64dbd82ea75.tar.bz2
[Sync] Make SESSIONS an implicit type
We add TABS as a new local type, which is now what is enabled via the user settings. It implicitly enables SESSIONS. Similarly, History now corresponds with Typed URLs, which implicitly enables history delete directives if the proper command line flag is passed. Finally, History delete directives implicitly enables SESSIONS, which we can do because Sessions is no longer a user selectable type. BUG=170162 TBR=jhawkins@chromium.org Review URL: https://chromiumcodereview.appspot.com/11961030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@182527 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'sync/util')
-rw-r--r--sync/util/data_type_histogram.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/sync/util/data_type_histogram.h b/sync/util/data_type_histogram.h
index e72cebb..75e833e 100644
--- a/sync/util/data_type_histogram.h
+++ b/sync/util/data_type_histogram.h
@@ -99,6 +99,9 @@
case ::syncer::DICTIONARY: \
PER_DATA_TYPE_MACRO("Dictionary"); \
break; \
+ case ::syncer::PROXY_TABS :\
+ PER_DATA_TYPE_MACRO("Tabs"); \
+ break; \
default: \
NOTREACHED() << "Unknown datatype " \
<< ::syncer::ModelTypeToString(datatype); \