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

Unified Diff: chrome/browser/sync/test/engine/mock_connection_manager.h

Issue 8772074: [Sync] Convert syncable/ directory to ModelEnumSet (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix typo 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/test/engine/mock_connection_manager.h
diff --git a/chrome/browser/sync/test/engine/mock_connection_manager.h b/chrome/browser/sync/test/engine/mock_connection_manager.h
index 2d2be847f3c4bc84fcb821aedfa32d5cec71cc51..786672dd5f164211bfdf789a076cd373c08fd118 100644
--- a/chrome/browser/sync/test/engine/mock_connection_manager.h
+++ b/chrome/browser/sync/test/engine/mock_connection_manager.h
@@ -207,7 +207,7 @@ class MockConnectionManager : public browser_sync::ServerConnectionManager {
// Expect that GetUpdates will request exactly the types indicated in
// the bitset.
void ExpectGetUpdatesRequestTypes(
- std::bitset<syncable::MODEL_TYPE_COUNT> expected_filter) {
+ syncable::ModelEnumSet expected_filter) {
expected_filter_ = expected_filter;
}
@@ -344,7 +344,7 @@ class MockConnectionManager : public browser_sync::ServerConnectionManager {
// use the older sync_pb::SyncEntity_BookmarkData-style protocol.
bool use_legacy_bookmarks_protocol_;
- std::bitset<syncable::MODEL_TYPE_COUNT> expected_filter_;
+ syncable::ModelEnumSet expected_filter_;
syncable::ModelTypePayloadMap expected_payloads_;
« no previous file with comments | « chrome/browser/sync/syncable/transaction_observer.h ('k') | chrome/browser/sync/test/engine/mock_connection_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698