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

Unified Diff: chrome/browser/sync/sessions/session_state_unittest.cc

Issue 8786014: [Sync] Convert sessions/ directory to ModelEnumSet (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Sync to head 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/session_state.cc ('k') | chrome/browser/sync/sessions/status_controller.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/sync/sessions/session_state_unittest.cc
diff --git a/chrome/browser/sync/sessions/session_state_unittest.cc b/chrome/browser/sync/sessions/session_state_unittest.cc
index 2c7c81cdf52d8ced209de1be68773a305543b1e6..a6a0dd8eb10fa91300f29e9fe3c7fc4df14e1705 100644
--- a/chrome/browser/sync/sessions/session_state_unittest.cc
+++ b/chrome/browser/sync/sessions/session_state_unittest.cc
@@ -126,11 +126,10 @@ TEST_F(SessionStateTest, SyncSessionSnapshotToValue) {
const int kNumServerChangesRemaining = 105;
const bool kIsShareUsable = true;
- syncable::ModelTypeBitSet initial_sync_ended;
- initial_sync_ended.set(syncable::BOOKMARKS);
- initial_sync_ended.set(syncable::PREFERENCES);
+ const syncable::ModelEnumSet initial_sync_ended(
+ syncable::BOOKMARKS, syncable::PREFERENCES);
scoped_ptr<ListValue> expected_initial_sync_ended_value(
- syncable::ModelTypeBitSetToValue(initial_sync_ended));
+ syncable::ModelEnumSetToValue(initial_sync_ended));
std::string download_progress_markers[syncable::MODEL_TYPE_COUNT];
download_progress_markers[syncable::BOOKMARKS] = "test";
« no previous file with comments | « chrome/browser/sync/sessions/session_state.cc ('k') | chrome/browser/sync/sessions/status_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698