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

Side by Side Diff: sync/syncable/syncable_mock.cc

Issue 10698014: [Sync] Rename csync namespace to syncer (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address comments Created 8 years, 5 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
« no previous file with comments | « sync/syncable/syncable_mock.h ('k') | sync/syncable/syncable_unittest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/syncable/syncable_mock.h" 5 #include "sync/syncable/syncable_mock.h"
6 6
7 #include "base/location.h" 7 #include "base/location.h"
8 #include "sync/syncable/in_memory_directory_backing_store.h" 8 #include "sync/syncable/in_memory_directory_backing_store.h"
9 9
10 #include "sync/test/null_transaction_observer.h" 10 #include "sync/test/null_transaction_observer.h"
11 11
12 MockDirectory::MockDirectory(csync::UnrecoverableErrorHandler* handler) 12 MockDirectory::MockDirectory(syncer::UnrecoverableErrorHandler* handler)
13 : Directory(&encryptor_, handler, NULL, 13 : Directory(&encryptor_, handler, NULL,
14 new syncable::InMemoryDirectoryBackingStore("store")) { 14 new syncable::InMemoryDirectoryBackingStore("store")) {
15 InitKernelForTest("myk", &delegate_, syncable::NullTransactionObserver()); 15 InitKernelForTest("myk", &delegate_, syncable::NullTransactionObserver());
16 } 16 }
17 17
18 MockDirectory::~MockDirectory() {} 18 MockDirectory::~MockDirectory() {}
19 19
20 MockSyncableWriteTransaction::MockSyncableWriteTransaction( 20 MockSyncableWriteTransaction::MockSyncableWriteTransaction(
21 const tracked_objects::Location& from_here, Directory *directory) 21 const tracked_objects::Location& from_here, Directory *directory)
22 : WriteTransaction(from_here, syncable::UNITTEST, directory) { 22 : WriteTransaction(from_here, syncable::UNITTEST, directory) {
23 } 23 }
OLDNEW
« no previous file with comments | « sync/syncable/syncable_mock.h ('k') | sync/syncable/syncable_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698