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

Unified Diff: chrome/browser/sync/sessions/sync_session_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
« no previous file with comments | « chrome/browser/sync/sessions/sync_session_context_unittest.cc ('k') | chrome/browser/sync/sync_prefs.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/sync/sessions/sync_session_unittest.cc
diff --git a/chrome/browser/sync/sessions/sync_session_unittest.cc b/chrome/browser/sync/sessions/sync_session_unittest.cc
index d78ab4c521bc9160e232df62a0fcc0397d5a1704..660729afe1e2dcee6e8d50964b4548a7b4893f8f 100644
--- a/chrome/browser/sync/sessions/sync_session_unittest.cc
+++ b/chrome/browser/sync/sessions/sync_session_unittest.cc
@@ -108,14 +108,14 @@ class SyncSessionTest : public testing::Test,
FAIL() << msg;
}
- syncable::ModelEnumSet ParamsMeaningAllEnabledTypes() {
- syncable::ModelEnumSet request_params(
+ syncable::ModelTypeSet ParamsMeaningAllEnabledTypes() {
+ syncable::ModelTypeSet request_params(
syncable::BOOKMARKS, syncable::AUTOFILL);
return request_params;
}
- syncable::ModelEnumSet ParamsMeaningJustOneEnabledType() {
- return syncable::ModelEnumSet(syncable::AUTOFILL);
+ syncable::ModelTypeSet ParamsMeaningJustOneEnabledType() {
+ return syncable::ModelTypeSet(syncable::AUTOFILL);
}
MessageLoop message_loop_;
@@ -537,7 +537,7 @@ TEST_F(SyncSessionTest, RebaseRoutingInfoWithLatestWithSameType) {
TEST_F(SyncSessionTest, MakeTypePayloadMapFromBitSet) {
- syncable::ModelEnumSet types;
+ syncable::ModelTypeSet types;
std::string payload = "test";
syncable::ModelTypePayloadMap types_with_payloads =
syncable::ModelTypePayloadMapFromEnumSet(types, payload);
« no previous file with comments | « chrome/browser/sync/sessions/sync_session_context_unittest.cc ('k') | chrome/browser/sync/sync_prefs.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698