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

Side by Side Diff: chrome/browser/sync/syncable/directory_change_delegate.h

Issue 8919021: [Sync] Rename ModelEnumSet to ModelTypeSet (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years 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
« no previous file with comments | « chrome/browser/sync/sync_ui_util.cc ('k') | chrome/browser/sync/syncable/model_type.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #ifndef CHROME_BROWSER_SYNC_SYNCABLE_DIRECTORY_CHANGE_DELEGATE_H_ 5 #ifndef CHROME_BROWSER_SYNC_SYNCABLE_DIRECTORY_CHANGE_DELEGATE_H_
6 #define CHROME_BROWSER_SYNC_SYNCABLE_DIRECTORY_CHANGE_DELEGATE_H_ 6 #define CHROME_BROWSER_SYNC_SYNCABLE_DIRECTORY_CHANGE_DELEGATE_H_
7 #pragma once 7 #pragma once
8 8
9 #include "chrome/browser/sync/syncable/model_type.h" 9 #include "chrome/browser/sync/syncable/model_type.h"
10 #include "chrome/browser/sync/syncable/syncable.h" 10 #include "chrome/browser/sync/syncable/syncable.h"
(...skipping 13 matching lines...) Expand all
24 class DirectoryChangeDelegate { 24 class DirectoryChangeDelegate {
25 public: 25 public:
26 virtual void HandleCalculateChangesChangeEventFromSyncApi( 26 virtual void HandleCalculateChangesChangeEventFromSyncApi(
27 const ImmutableWriteTransactionInfo& write_transaction_info, 27 const ImmutableWriteTransactionInfo& write_transaction_info,
28 BaseTransaction* trans) = 0; 28 BaseTransaction* trans) = 0;
29 virtual void HandleCalculateChangesChangeEventFromSyncer( 29 virtual void HandleCalculateChangesChangeEventFromSyncer(
30 const ImmutableWriteTransactionInfo& write_transaction_info, 30 const ImmutableWriteTransactionInfo& write_transaction_info,
31 BaseTransaction* trans) = 0; 31 BaseTransaction* trans) = 0;
32 // Must return the set of all ModelTypes that were modified in the 32 // Must return the set of all ModelTypes that were modified in the
33 // transaction. 33 // transaction.
34 virtual ModelEnumSet HandleTransactionEndingChangeEvent( 34 virtual ModelTypeSet HandleTransactionEndingChangeEvent(
35 const ImmutableWriteTransactionInfo& write_transaction_info, 35 const ImmutableWriteTransactionInfo& write_transaction_info,
36 BaseTransaction* trans) = 0; 36 BaseTransaction* trans) = 0;
37 virtual void HandleTransactionCompleteChangeEvent( 37 virtual void HandleTransactionCompleteChangeEvent(
38 ModelEnumSet models_with_changes) = 0; 38 ModelTypeSet models_with_changes) = 0;
39 protected: 39 protected:
40 virtual ~DirectoryChangeDelegate() {} 40 virtual ~DirectoryChangeDelegate() {}
41 }; 41 };
42 42
43 } // namespace syncable 43 } // namespace syncable
44 44
45 #endif // CHROME_BROWSER_SYNC_SYNCABLE_DIRECTORY_CHANGE_DELEGATE_H_ 45 #endif // CHROME_BROWSER_SYNC_SYNCABLE_DIRECTORY_CHANGE_DELEGATE_H_
OLDNEW
« no previous file with comments | « chrome/browser/sync/sync_ui_util.cc ('k') | chrome/browser/sync/syncable/model_type.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698