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

Unified 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 side-by-side diff with in-line comments
Download patch
« 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 »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/sync/syncable/syncable_mock.cc
diff --git a/chrome/browser/sync/syncable/syncable_mock.cc b/chrome/browser/sync/syncable/syncable_mock.cc
index 83851cf915abee345a4208ebcf32194714b47093..5617f4888172fcd8b98418f9b44de6942bb369a3 100644
--- a/chrome/browser/sync/syncable/syncable_mock.cc
+++ b/chrome/browser/sync/syncable/syncable_mock.cc
@@ -4,13 +4,15 @@
#include "chrome/browser/sync/syncable/syncable_mock.h"
+#include "base/tracked.h"
+
MockDirectory::MockDirectory() {
- init_kernel("myk");
+ InitKernel("myk", &delegate_);
}
MockDirectory::~MockDirectory() {}
MockSyncableWriteTransaction::MockSyncableWriteTransaction(
Directory *directory)
- : WriteTransaction(directory, syncable::UNITTEST, "dontcare.cpp", 25) {
+ : WriteTransaction(directory, syncable::UNITTEST, FROM_HERE) {
}
« 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