| OLD | NEW |
| 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_EXTENSIONS_API_STORAGE_SETTINGS_SYNC_UTIL_H_ | 5 #ifndef CHROME_BROWSER_EXTENSIONS_API_STORAGE_SETTINGS_SYNC_UTIL_H_ |
| 6 #define CHROME_BROWSER_EXTENSIONS_API_STORAGE_SETTINGS_SYNC_UTIL_H_ | 6 #define CHROME_BROWSER_EXTENSIONS_API_STORAGE_SETTINGS_SYNC_UTIL_H_ |
| 7 | 7 |
| 8 #include "components/sync/api/sync_change.h" | 8 #include "components/sync/model/sync_change.h" |
| 9 #include "components/sync/api/sync_data.h" | 9 #include "components/sync/model/sync_data.h" |
| 10 | 10 |
| 11 namespace base { | 11 namespace base { |
| 12 class Value; | 12 class Value; |
| 13 } | 13 } |
| 14 | 14 |
| 15 namespace content { | 15 namespace content { |
| 16 class BrowserContext; | 16 class BrowserContext; |
| 17 } | 17 } |
| 18 | 18 |
| 19 namespace syncer { | 19 namespace syncer { |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 54 // Returns the sync service for settings. Must be called on the FILE thread. | 54 // Returns the sync service for settings. Must be called on the FILE thread. |
| 55 // |type| must be either APP_SETTINGS or EXTENSION_SETTINGS. | 55 // |type| must be either APP_SETTINGS or EXTENSION_SETTINGS. |
| 56 syncer::SyncableService* GetSyncableService(content::BrowserContext* context, | 56 syncer::SyncableService* GetSyncableService(content::BrowserContext* context, |
| 57 syncer::ModelType type); | 57 syncer::ModelType type); |
| 58 | 58 |
| 59 } // namespace settings_sync_util | 59 } // namespace settings_sync_util |
| 60 | 60 |
| 61 } // namespace extensions | 61 } // namespace extensions |
| 62 | 62 |
| 63 #endif // CHROME_BROWSER_EXTENSIONS_API_STORAGE_SETTINGS_SYNC_UTIL_H_ | 63 #endif // CHROME_BROWSER_EXTENSIONS_API_STORAGE_SETTINGS_SYNC_UTIL_H_ |
| OLD | NEW |