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

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

Issue 11747025: Run the JSON Schema Compiler's bundle compilation on JSON files. Previously it (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix ms release build Created 7 years, 11 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) 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_SETTINGS_SYNCABLE_SETTINGS_STORAGE_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_API_STORAGE_SYNCABLE_SETTINGS_STORAGE_H_
6 #define CHROME_BROWSER_EXTENSIONS_SETTINGS_SYNCABLE_SETTINGS_STORAGE_H_ 6 #define CHROME_BROWSER_EXTENSIONS_API_STORAGE_SYNCABLE_SETTINGS_STORAGE_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "base/memory/ref_counted.h" 9 #include "base/memory/ref_counted.h"
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
11 #include "base/observer_list_threadsafe.h" 11 #include "base/observer_list_threadsafe.h"
12 #include "base/values.h" 12 #include "base/values.h"
13 #include "chrome/browser/extensions/settings/setting_sync_data.h" 13 #include "chrome/browser/extensions/api/storage/setting_sync_data.h"
14 #include "chrome/browser/extensions/settings/settings_observer.h" 14 #include "chrome/browser/extensions/api/storage/settings_observer.h"
15 #include "chrome/browser/value_store/value_store.h" 15 #include "chrome/browser/value_store/value_store.h"
16 #include "sync/api/sync_change.h" 16 #include "sync/api/sync_change.h"
17 #include "sync/api/syncable_service.h" 17 #include "sync/api/syncable_service.h"
18 18
19 namespace extensions { 19 namespace extensions {
20 20
21 class SettingsSyncProcessor; 21 class SettingsSyncProcessor;
22 22
23 // Decorates a ValueStore with sync behaviour. 23 // Decorates a ValueStore with sync behaviour.
24 class SyncableSettingsStorage : public ValueStore { 24 class SyncableSettingsStorage : public ValueStore {
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 const scoped_ptr<ValueStore> delegate_; 101 const scoped_ptr<ValueStore> delegate_;
102 102
103 // Object which sends changes to sync. 103 // Object which sends changes to sync.
104 scoped_ptr<SettingsSyncProcessor> sync_processor_; 104 scoped_ptr<SettingsSyncProcessor> sync_processor_;
105 105
106 DISALLOW_COPY_AND_ASSIGN(SyncableSettingsStorage); 106 DISALLOW_COPY_AND_ASSIGN(SyncableSettingsStorage);
107 }; 107 };
108 108
109 } // namespace extensions 109 } // namespace extensions
110 110
111 #endif // CHROME_BROWSER_EXTENSIONS_SETTINGS_SYNCABLE_SETTINGS_STORAGE_H_ 111 #endif // CHROME_BROWSER_EXTENSIONS_API_STORAGE_SYNCABLE_SETTINGS_STORAGE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698