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

Side by Side Diff: chrome/browser/sync/glue/backend_data_type_configurer.h

Issue 9699057: [Sync] Move 'sync' target to sync/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address Tim's comments Created 8 years, 9 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 | « chrome/browser/sync/glue/DEPS ('k') | chrome/browser/sync/glue/bookmark_model_associator.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 CHROME_BROWSER_SYNC_GLUE_BACKEND_DATA_TYPE_CONFIGURER_H_ 5 #ifndef CHROME_BROWSER_SYNC_GLUE_BACKEND_DATA_TYPE_CONFIGURER_H_
6 #define CHROME_BROWSER_SYNC_GLUE_BACKEND_DATA_TYPE_CONFIGURER_H_ 6 #define CHROME_BROWSER_SYNC_GLUE_BACKEND_DATA_TYPE_CONFIGURER_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/callback.h" 9 #include "base/callback.h"
10 #include "chrome/browser/sync/internal_api/configure_reason.h" 10 #include "chrome/browser/sync/internal_api/configure_reason.h"
11 #include "chrome/browser/sync/syncable/model_type.h" 11 #include "sync/syncable/model_type.h"
12 12
13 namespace browser_sync { 13 namespace browser_sync {
14 14
15 // The DataTypeConfigurer interface abstracts out the action of 15 // The DataTypeConfigurer interface abstracts out the action of
16 // configuring a set of new data types and cleaning up after a set of 16 // configuring a set of new data types and cleaning up after a set of
17 // removed data types. 17 // removed data types.
18 class BackendDataTypeConfigurer { 18 class BackendDataTypeConfigurer {
19 public: 19 public:
20 // Enum representing the two "modes" of configuration. 20 // Enum representing the two "modes" of configuration.
21 // WITHOUT_NIGORI is only used by migration. 21 // WITHOUT_NIGORI is only used by migration.
(...skipping 18 matching lines...) Expand all
40 base::Callback<void(syncable::ModelTypeSet)> ready_task, 40 base::Callback<void(syncable::ModelTypeSet)> ready_task,
41 base::Callback<void()> retry_callback) = 0; 41 base::Callback<void()> retry_callback) = 0;
42 42
43 protected: 43 protected:
44 virtual ~BackendDataTypeConfigurer() {} 44 virtual ~BackendDataTypeConfigurer() {}
45 }; 45 };
46 46
47 } // namespace browser_sync 47 } // namespace browser_sync
48 48
49 #endif // CHROME_BROWSER_SYNC_GLUE_BACKEND_DATA_TYPE_CONFIGURER_H_ 49 #endif // CHROME_BROWSER_SYNC_GLUE_BACKEND_DATA_TYPE_CONFIGURER_H_
OLDNEW
« no previous file with comments | « chrome/browser/sync/glue/DEPS ('k') | chrome/browser/sync/glue/bookmark_model_associator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698