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

Side by Side Diff: chrome/test/sync/null_directory_change_delegate.h

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
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef CHROME_TEST_SYNC_NULL_DIRECTORY_CHANGE_DELEGATE_H_
6 #define CHROME_TEST_SYNC_NULL_DIRECTORY_CHANGE_DELEGATE_H_
7 #pragma once
8
9 #include "base/compiler_specific.h"
10 #include "chrome/browser/sync/syncable/directory_change_delegate.h"
11
12 namespace syncable {
13
14 // DirectoryChangeDelegate that does nothing in all delegate methods.
15 class NullDirectoryChangeDelegate : public DirectoryChangeDelegate {
16 public:
17 virtual ~NullDirectoryChangeDelegate();
18
19 virtual void HandleCalculateChangesChangeEventFromSyncApi(
20 const OriginalEntries& originals,
21 BaseTransaction* trans) OVERRIDE;
22 virtual void HandleCalculateChangesChangeEventFromSyncer(
23 const OriginalEntries& originals,
24 BaseTransaction* trans) OVERRIDE;
25 virtual ModelTypeBitSet HandleTransactionEndingChangeEvent(
26 BaseTransaction* trans) OVERRIDE;
27 virtual void HandleTransactionCompleteChangeEvent(
28 const ModelTypeBitSet& models_with_changes) OVERRIDE;
29 };
30
31 } // namespace syncable
32
33 #endif // CHROME_TEST_SYNC_NULL_DIRECTORY_CHANGE_DELEGATE_H_
OLDNEW
« no previous file with comments | « chrome/test/sync/engine/test_directory_setter_upper.cc ('k') | chrome/test/sync/null_directory_change_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698