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

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: address willchan's comments 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 class NullDirectoryChangeDelegate : public DirectoryChangeDelegate {
tim (not reviewing) 2011/06/16 21:10:58 add class comment
akalin 2011/06/16 22:23:12 Done.
15 public:
16 virtual ~NullDirectoryChangeDelegate();
17
18 virtual void HandleCalculateChangesChangeEventFromSyncApi(
19 const OriginalEntries& originals,
20 BaseTransaction* trans) OVERRIDE;
21 virtual void HandleCalculateChangesChangeEventFromSyncer(
22 const OriginalEntries& originals,
23 BaseTransaction* trans) OVERRIDE;
24 virtual ModelTypeBitSet HandleTransactionEndingChangeEvent(
25 BaseTransaction* trans) OVERRIDE;
26 virtual void HandleTransactionCompleteChangeEvent(
27 const ModelTypeBitSet& models_with_changes) OVERRIDE;
28 };
29
30 } // namespace syncable
31
32 #endif // CHROME_TEST_SYNC_NULL_DIRECTORY_CHANGE_DELEGATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698