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

Side by Side Diff: chrome/browser/sync/sessions/sync_session_unittest.cc

Issue 7977034: Revert 102184 - [Sync] use base::Time in sync (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 3 months 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/sync/sessions/sync_session.h" 5 #include "chrome/browser/sync/sessions/sync_session.h"
6 6
7 #include "base/compiler_specific.h" 7 #include "base/compiler_specific.h"
8 #include "base/location.h" 8 #include "base/location.h"
9 #include "base/memory/ref_counted.h" 9 #include "base/memory/ref_counted.h"
10 #include "chrome/browser/sync/engine/conflict_resolver.h" 10 #include "chrome/browser/sync/engine/conflict_resolver.h"
11 #include "chrome/browser/sync/engine/mock_model_safe_workers.h" 11 #include "chrome/browser/sync/engine/mock_model_safe_workers.h"
12 #include "chrome/browser/sync/engine/syncer_types.h" 12 #include "chrome/browser/sync/engine/syncer_types.h"
13 #include "chrome/browser/sync/engine/syncer_util.h"
13 #include "chrome/browser/sync/syncable/directory_manager.h" 14 #include "chrome/browser/sync/syncable/directory_manager.h"
14 #include "chrome/browser/sync/syncable/model_type.h" 15 #include "chrome/browser/sync/syncable/model_type.h"
15 #include "chrome/browser/sync/syncable/syncable.h" 16 #include "chrome/browser/sync/syncable/syncable.h"
16 #include "chrome/browser/sync/test/engine/test_directory_setter_upper.h" 17 #include "chrome/browser/sync/test/engine/test_directory_setter_upper.h"
17 #include "testing/gtest/include/gtest/gtest.h" 18 #include "testing/gtest/include/gtest/gtest.h"
18 19
19 using syncable::WriteTransaction; 20 using syncable::WriteTransaction;
20 21
21 namespace browser_sync { 22 namespace browser_sync {
22 namespace sessions { 23 namespace sessions {
(...skipping 453 matching lines...) Expand 10 before | Expand all | Expand 10 after
476 EXPECT_EQ(empty_payload, original[syncable::BOOKMARKS]); 477 EXPECT_EQ(empty_payload, original[syncable::BOOKMARKS]);
477 EXPECT_EQ(payload1, original[syncable::PASSWORDS]); 478 EXPECT_EQ(payload1, original[syncable::PASSWORDS]);
478 EXPECT_EQ(payload1, original[syncable::AUTOFILL]); 479 EXPECT_EQ(payload1, original[syncable::AUTOFILL]);
479 EXPECT_EQ(payload2, original[syncable::SESSIONS]); 480 EXPECT_EQ(payload2, original[syncable::SESSIONS]);
480 EXPECT_EQ(payload3, original[syncable::THEMES]); 481 EXPECT_EQ(payload3, original[syncable::THEMES]);
481 } 482 }
482 483
483 } // namespace 484 } // namespace
484 } // namespace sessions 485 } // namespace sessions
485 } // namespace browser_sync 486 } // namespace browser_sync
OLDNEW
« no previous file with comments | « chrome/browser/sync/profile_sync_service_session_unittest.cc ('k') | chrome/browser/sync/syncable/directory_backing_store.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698