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

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

Issue 7190001: [Sync] Split DirectoryChangeListener for thread-safety (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix copyright Created 9 years, 6 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/syncable/syncable_mock.h" 5 #include "chrome/browser/sync/syncable/syncable_mock.h"
6 6
7 #include "base/tracked.h"
8
7 MockDirectory::MockDirectory() { 9 MockDirectory::MockDirectory() {
8 init_kernel("myk"); 10 InitKernel("myk", &delegate_);
9 } 11 }
10 12
11 MockDirectory::~MockDirectory() {} 13 MockDirectory::~MockDirectory() {}
12 14
13 MockSyncableWriteTransaction::MockSyncableWriteTransaction( 15 MockSyncableWriteTransaction::MockSyncableWriteTransaction(
14 Directory *directory) 16 Directory *directory)
15 : WriteTransaction(directory, syncable::UNITTEST, "dontcare.cpp", 25) { 17 : WriteTransaction(directory, syncable::UNITTEST, FROM_HERE) {
16 } 18 }
OLDNEW
« no previous file with comments | « chrome/browser/sync/syncable/syncable_mock.h ('k') | chrome/browser/sync/syncable/syncable_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698