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

Side by Side Diff: chrome/browser/sync/profile_sync_factory.h

Issue 7775008: Enable sync for the settings from the Extension Settings API. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Review #1 Created 9 years, 3 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
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_PROFILE_SYNC_FACTORY_H__ 5 #ifndef CHROME_BROWSER_SYNC_PROFILE_SYNC_FACTORY_H__
6 #define CHROME_BROWSER_SYNC_PROFILE_SYNC_FACTORY_H__ 6 #define CHROME_BROWSER_SYNC_PROFILE_SYNC_FACTORY_H__
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 #include <utility> 10 #include <utility>
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 browser_sync::UnrecoverableErrorHandler* error_handler) = 0; 89 browser_sync::UnrecoverableErrorHandler* error_handler) = 0;
90 90
91 // Instantiates both a model associator and change processor for the 91 // Instantiates both a model associator and change processor for the
92 // bookmark data type. The pointers in the return struct are owned 92 // bookmark data type. The pointers in the return struct are owned
93 // by the caller. 93 // by the caller.
94 virtual SyncComponents CreateBookmarkSyncComponents( 94 virtual SyncComponents CreateBookmarkSyncComponents(
95 ProfileSyncService* profile_sync_service, 95 ProfileSyncService* profile_sync_service,
96 browser_sync::UnrecoverableErrorHandler* error_handler) = 0; 96 browser_sync::UnrecoverableErrorHandler* error_handler) = 0;
97 97
98 // Instantiates both a model associator and change processor for the 98 // Instantiates both a model associator and change processor for the
99 // extension setting data type. The pointers in the return struct are
100 // owned by the caller.
101 virtual SyncComponents CreateExtensionSettingSyncComponents(
102 ProfileSyncService* profile_sync_service,
103 browser_sync::UnrecoverableErrorHandler* error_handler) = 0;
104
105 // Instantiates both a model associator and change processor for the
99 // extension data type. The pointers in the return struct are 106 // extension data type. The pointers in the return struct are
100 // owned by the caller. 107 // owned by the caller.
101 virtual SyncComponents CreateExtensionSyncComponents( 108 virtual SyncComponents CreateExtensionSyncComponents(
102 ProfileSyncService* profile_sync_service, 109 ProfileSyncService* profile_sync_service,
103 browser_sync::UnrecoverableErrorHandler* error_handler) = 0; 110 browser_sync::UnrecoverableErrorHandler* error_handler) = 0;
104 111
105 // Instantiates both a model associator and change processor for the 112 // Instantiates both a model associator and change processor for the
106 // password data type. The pointers in the return struct are 113 // password data type. The pointers in the return struct are
107 // owned by the caller. 114 // owned by the caller.
108 virtual SyncComponents CreatePasswordSyncComponents( 115 virtual SyncComponents CreatePasswordSyncComponents(
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
141 148
142 // Instantiates both a model associator and change processor for the search 149 // Instantiates both a model associator and change processor for the search
143 // engine data type. The pointers in the return struct are owned by the 150 // engine data type. The pointers in the return struct are owned by the
144 // caller. 151 // caller.
145 virtual SyncComponents CreateSearchEngineSyncComponents( 152 virtual SyncComponents CreateSearchEngineSyncComponents(
146 ProfileSyncService* profile_sync_service, 153 ProfileSyncService* profile_sync_service,
147 browser_sync::UnrecoverableErrorHandler* error_handler) = 0; 154 browser_sync::UnrecoverableErrorHandler* error_handler) = 0;
148 }; 155 };
149 156
150 #endif // CHROME_BROWSER_SYNC_PROFILE_SYNC_FACTORY_H__ 157 #endif // CHROME_BROWSER_SYNC_PROFILE_SYNC_FACTORY_H__
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698