| Index: chrome/browser/extensions/api/storage/settings_sync_util.h
|
| diff --git a/chrome/browser/extensions/api/storage/settings_sync_util.h b/chrome/browser/extensions/api/storage/settings_sync_util.h
|
| index 0c6df0460f20df6c4d2c04d8a8d035e10d2fd825..b4cbced0da2957f6df6fd916344baf73685e97d5 100644
|
| --- a/chrome/browser/extensions/api/storage/settings_sync_util.h
|
| +++ b/chrome/browser/extensions/api/storage/settings_sync_util.h
|
| @@ -5,13 +5,20 @@
|
| #ifndef CHROME_BROWSER_EXTENSIONS_API_STORAGE_SETTINGS_SYNC_UTIL_H_
|
| #define CHROME_BROWSER_EXTENSIONS_API_STORAGE_SETTINGS_SYNC_UTIL_H_
|
|
|
| -
|
| #include "sync/api/sync_change.h"
|
| #include "sync/api/sync_data.h"
|
|
|
| namespace base {
|
| class Value;
|
| -} // namespace base
|
| +}
|
| +
|
| +namespace content {
|
| +class BrowserContext;
|
| +}
|
| +
|
| +namespace syncer {
|
| +class SyncableService;
|
| +}
|
|
|
| namespace extensions {
|
|
|
| @@ -44,6 +51,11 @@ syncer::SyncChange CreateDelete(
|
| const std::string& key,
|
| syncer::ModelType type);
|
|
|
| +// Returns the sync service for settings. Must be called on the FILE thread.
|
| +// |type| must be either APP_SETTINGS or EXTENSION_SETTINGS.
|
| +syncer::SyncableService* GetSyncableService(content::BrowserContext* context,
|
| + syncer::ModelType type);
|
| +
|
| } // namespace settings_sync_util
|
|
|
| } // namespace extensions
|
|
|