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

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

Issue 10700154: Remove #pragma once from sync (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 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
« no previous file with comments | « sync/syncable/directory_backing_store.h ('k') | sync/syncable/entry.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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 SYNC_SYNCABLE_DIRECTORY_CHANGE_DELEGATE_H_ 5 #ifndef SYNC_SYNCABLE_DIRECTORY_CHANGE_DELEGATE_H_
6 #define SYNC_SYNCABLE_DIRECTORY_CHANGE_DELEGATE_H_ 6 #define SYNC_SYNCABLE_DIRECTORY_CHANGE_DELEGATE_H_
7 #pragma once
8 7
9 #include "sync/internal_api/public/base/model_type.h" 8 #include "sync/internal_api/public/base/model_type.h"
10 #include "sync/syncable/write_transaction_info.h" 9 #include "sync/syncable/write_transaction_info.h"
11 10
12 namespace syncer { 11 namespace syncer {
13 namespace syncable { 12 namespace syncable {
14 13
15 // This is an interface for listening to directory change events, triggered by 14 // This is an interface for listening to directory change events, triggered by
16 // the releasing of the syncable transaction. The delegate performs work to 15 // the releasing of the syncable transaction. The delegate performs work to
17 // 1. Calculate changes, depending on the source of the transaction 16 // 1. Calculate changes, depending on the source of the transaction
(...skipping 20 matching lines...) Expand all
38 virtual void HandleTransactionCompleteChangeEvent( 37 virtual void HandleTransactionCompleteChangeEvent(
39 ModelTypeSet models_with_changes) = 0; 38 ModelTypeSet models_with_changes) = 0;
40 protected: 39 protected:
41 virtual ~DirectoryChangeDelegate() {} 40 virtual ~DirectoryChangeDelegate() {}
42 }; 41 };
43 42
44 } // namespace syncable 43 } // namespace syncable
45 } // namespace syncer 44 } // namespace syncer
46 45
47 #endif // SYNC_SYNCABLE_DIRECTORY_CHANGE_DELEGATE_H_ 46 #endif // SYNC_SYNCABLE_DIRECTORY_CHANGE_DELEGATE_H_
OLDNEW
« no previous file with comments | « sync/syncable/directory_backing_store.h ('k') | sync/syncable/entry.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698