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

Side by Side Diff: sync/test/engine/syncer_command_test.cc

Issue 11533008: Use delete journal to remove bookmarks that are already deleted in sync model (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 11 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 "sync/test/engine/syncer_command_test.h" 5 #include "sync/test/engine/syncer_command_test.h"
6 6
7 namespace syncer { 7 namespace syncer {
8 8
9 const unsigned int kMaxMessages = 10; 9 const unsigned int kMaxMessages = 10;
10 const unsigned int kMaxMessageSize = 5 * 1024; 10 const unsigned int kMaxMessageSize = 5 * 1024;
(...skipping 13 matching lines...) Expand all
24 } 24 }
25 25
26 void SyncerCommandTestBase::TearDown() { 26 void SyncerCommandTestBase::TearDown() {
27 } 27 }
28 28
29 syncable::Directory* SyncerCommandTest::directory() { 29 syncable::Directory* SyncerCommandTest::directory() {
30 return dir_maker_.directory(); 30 return dir_maker_.directory();
31 } 31 }
32 32
33 void SyncerCommandTest::SetUp() { 33 void SyncerCommandTest::SetUp() {
34 dir_maker_.SetUp(); 34 dir_maker_.SetUp(NULL);
35 SyncerCommandTestBase::SetUp(); 35 SyncerCommandTestBase::SetUp();
36 } 36 }
37 37
38 void SyncerCommandTest::TearDown() { 38 void SyncerCommandTest::TearDown() {
39 dir_maker_.TearDown(); 39 dir_maker_.TearDown();
40 } 40 }
41 41
42 MockDebugInfoGetter::MockDebugInfoGetter() { 42 MockDebugInfoGetter::MockDebugInfoGetter() {
43 } 43 }
44 44
(...skipping 12 matching lines...) Expand all
57 workers()->push_back( 57 workers()->push_back(
58 make_scoped_refptr(new FakeModelWorker(GROUP_PASSIVE))); 58 make_scoped_refptr(new FakeModelWorker(GROUP_PASSIVE)));
59 ResetContext(); 59 ResetContext();
60 } 60 }
61 61
62 syncable::Directory* MockDirectorySyncerCommandTest::directory() { 62 syncable::Directory* MockDirectorySyncerCommandTest::directory() {
63 return &mock_directory_; 63 return &mock_directory_;
64 } 64 }
65 65
66 } // namespace syncer 66 } // namespace syncer
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698