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

Unified Diff: chrome/test/sync/null_directory_change_delegate.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/test/sync/null_directory_change_delegate.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/sync/null_directory_change_delegate.cc
diff --git a/chrome/test/sync/null_directory_change_delegate.cc b/chrome/test/sync/null_directory_change_delegate.cc
new file mode 100644
index 0000000000000000000000000000000000000000..c00a5329a9e4ae33bd6f46130983232e1cf3de72
--- /dev/null
+++ b/chrome/test/sync/null_directory_change_delegate.cc
@@ -0,0 +1,27 @@
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "chrome/test/sync/null_directory_change_delegate.h"
+
+namespace syncable {
+
+NullDirectoryChangeDelegate::~NullDirectoryChangeDelegate() {}
+
+void NullDirectoryChangeDelegate::HandleCalculateChangesChangeEventFromSyncApi(
+ const OriginalEntries& originals,
+ BaseTransaction* trans) {}
+
+void NullDirectoryChangeDelegate::HandleCalculateChangesChangeEventFromSyncer(
+ const OriginalEntries& originals,
+ BaseTransaction* trans) {}
+
+ModelTypeBitSet NullDirectoryChangeDelegate::HandleTransactionEndingChangeEvent(
+ BaseTransaction* trans) {
+ return ModelTypeBitSet();
+}
+
+void NullDirectoryChangeDelegate::HandleTransactionCompleteChangeEvent(
+ const ModelTypeBitSet& models_with_changes) {}
+
+} // namespace syncable
« no previous file with comments | « chrome/test/sync/null_directory_change_delegate.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698