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

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

Issue 8586014: [Sync] Replace uses of ObserverListThreadSafe with WeakHandles (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Sync to head Created 9 years, 1 month 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/syncable/syncable_mock.h" 5 #include "chrome/browser/sync/syncable/syncable_mock.h"
6 6
7 #include "base/location.h" 7 #include "base/location.h"
8 #include "chrome/browser/sync/test/null_transaction_observer.h"
8 9
9 MockDirectory::MockDirectory() { 10 MockDirectory::MockDirectory() {
10 InitKernel("myk", &delegate_); 11 InitKernelForTest("myk", &delegate_, syncable::NullTransactionObserver());
11 } 12 }
12 13
13 MockDirectory::~MockDirectory() {} 14 MockDirectory::~MockDirectory() {}
14 15
15 MockSyncableWriteTransaction::MockSyncableWriteTransaction( 16 MockSyncableWriteTransaction::MockSyncableWriteTransaction(
16 const tracked_objects::Location& from_here, Directory *directory) 17 const tracked_objects::Location& from_here, Directory *directory)
17 : WriteTransaction(from_here, syncable::UNITTEST, directory) { 18 : WriteTransaction(from_here, syncable::UNITTEST, directory) {
18 } 19 }
OLDNEW
« no previous file with comments | « chrome/browser/sync/syncable/syncable.cc ('k') | chrome/browser/sync/syncable/syncable_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698