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

Side by Side Diff: chrome/browser/extensions/api/storage/settings_sync_util.h

Issue 2130453004: [Sync] Move //sync to //components/sync. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 4 years, 4 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
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_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 "sync/api/sync_change.h" 8 #include "components/sync/api/sync_change.h"
9 #include "sync/api/sync_data.h" 9 #include "components/sync/api/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
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698