summaryrefslogtreecommitdiffstats
path: root/chrome/browser/sync/syncable/syncable_unittest.cc
diff options
context:
space:
mode:
authorakalin@chromium.org <akalin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-12-08 19:26:11 +0000
committerakalin@chromium.org <akalin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-12-08 19:26:11 +0000
commit334e0cd1ff440365b1f3b28630362ede5548f400 (patch)
tree21bd11c1c63da39d65eb1135731cffc390addab1 /chrome/browser/sync/syncable/syncable_unittest.cc
parent4352cdc7cd0f295952c1d9cec49b37beb7f6fae9 (diff)
downloadchromium_src-334e0cd1ff440365b1f3b28630362ede5548f400.zip
chromium_src-334e0cd1ff440365b1f3b28630362ede5548f400.tar.gz
chromium_src-334e0cd1ff440365b1f3b28630362ede5548f400.tar.bz2
[Sync] Replace all instances of ModelTypeBitSet with ModelEnumSet
Also introduce FullModelEnumSet for use cases that work with UNSPECIFIED and TOP_LEVEL_FOLDER types. Remove all functions that work with ModelTypeBitSet. BUG=79970 TEST= Review URL: http://codereview.chromium.org/8851004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113639 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/sync/syncable/syncable_unittest.cc')
-rw-r--r--chrome/browser/sync/syncable/syncable_unittest.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/sync/syncable/syncable_unittest.cc b/chrome/browser/sync/syncable/syncable_unittest.cc
index 6f4be5a..6348c7f 100644
--- a/chrome/browser/sync/syncable/syncable_unittest.cc
+++ b/chrome/browser/sync/syncable/syncable_unittest.cc
@@ -885,8 +885,8 @@ TEST_F(SyncableDirectoryTest, TestGetUnsynced) {
TEST_F(SyncableDirectoryTest, TestGetUnappliedUpdates) {
Directory::UnappliedUpdateMetaHandles handles;
int64 handle1, handle2;
- syncable::ModelTypeBitSet all_types;
- all_types.set();
+ const syncable::FullModelEnumSet all_types =
+ syncable::FullModelEnumSet::All();
{
WriteTransaction trans(FROM_HERE, UNITTEST, dir_.get());