Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(18)

Unified Diff: chrome/browser/sync/engine/cleanup_disabled_types_command_unittest.cc

Issue 8919021: [Sync] Rename ModelEnumSet to ModelTypeSet (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/sync/engine/cleanup_disabled_types_command_unittest.cc
diff --git a/chrome/browser/sync/engine/cleanup_disabled_types_command_unittest.cc b/chrome/browser/sync/engine/cleanup_disabled_types_command_unittest.cc
index ea96beec3a74b8e6708f70ce4bb5c409eaf513c1..f6ad509a1d1bc41f48aed28f13e5c9c42c73357b 100644
--- a/chrome/browser/sync/engine/cleanup_disabled_types_command_unittest.cc
+++ b/chrome/browser/sync/engine/cleanup_disabled_types_command_unittest.cc
@@ -18,7 +18,7 @@ namespace browser_sync {
namespace {
using syncable::HasModelTypes;
-using syncable::ModelEnumSet;
+using syncable::ModelTypeSet;
using testing::_;
class CleanupDisabledTypesCommandTest : public MockDirectorySyncerCommandTest {
@@ -40,7 +40,7 @@ class CleanupDisabledTypesCommandTest : public MockDirectorySyncerCommandTest {
// TODO(tim): Add syncer test to verify previous routing info is set.
TEST_F(CleanupDisabledTypesCommandTest, NoPreviousRoutingInfo) {
CleanupDisabledTypesCommand command;
- ModelEnumSet expected = ModelEnumSet::All();
+ ModelTypeSet expected = ModelTypeSet::All();
expected.Remove(syncable::BOOKMARKS);
EXPECT_CALL(*mock_directory(),
PurgeEntriesWithTypeIn(HasModelTypes(expected)));
@@ -72,7 +72,7 @@ TEST_F(CleanupDisabledTypesCommandTest, TypeDisabled) {
prev[syncable::PREFERENCES] = GROUP_PASSIVE;
session()->context()->set_previous_session_routing_info(prev);
- const ModelEnumSet expected(syncable::PASSWORDS, syncable::PREFERENCES);
+ const ModelTypeSet expected(syncable::PASSWORDS, syncable::PREFERENCES);
EXPECT_CALL(*mock_directory(),
PurgeEntriesWithTypeIn(HasModelTypes(expected)));
command.ExecuteImpl(session());
« no previous file with comments | « chrome/browser/sync/engine/cleanup_disabled_types_command.cc ('k') | chrome/browser/sync/engine/download_updates_command.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698