| OLD | NEW | 
|---|
| 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_EXTENSIONS_SETTINGS_SETTINGS_BACKEND_H_ | 5 #ifndef CHROME_BROWSER_EXTENSIONS_SETTINGS_SETTINGS_BACKEND_H_ | 
| 6 #define CHROME_BROWSER_EXTENSIONS_SETTINGS_SETTINGS_BACKEND_H_ | 6 #define CHROME_BROWSER_EXTENSIONS_SETTINGS_SETTINGS_BACKEND_H_ | 
| 7 #pragma once | 7 #pragma once | 
| 8 | 8 | 
| 9 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" | 
| 10 #include "base/file_path.h" | 10 #include "base/file_path.h" | 
| 11 #include "base/memory/linked_ptr.h" | 11 #include "base/memory/linked_ptr.h" | 
| 12 #include "base/memory/ref_counted.h" | 12 #include "base/memory/ref_counted.h" | 
| 13 #include "base/observer_list_threadsafe.h" | 13 #include "base/observer_list_threadsafe.h" | 
| 14 #include "base/task.h" |  | 
| 15 #include "chrome/browser/extensions/settings/settings_leveldb_storage.h" | 14 #include "chrome/browser/extensions/settings/settings_leveldb_storage.h" | 
| 16 #include "chrome/browser/extensions/settings/settings_observer.h" | 15 #include "chrome/browser/extensions/settings/settings_observer.h" | 
| 17 #include "chrome/browser/extensions/settings/syncable_settings_storage.h" | 16 #include "chrome/browser/extensions/settings/syncable_settings_storage.h" | 
| 18 #include "chrome/browser/sync/api/syncable_service.h" | 17 #include "chrome/browser/sync/api/syncable_service.h" | 
| 19 | 18 | 
| 20 namespace extensions { | 19 namespace extensions { | 
| 21 | 20 | 
| 22 // Manages SettingsStorage objects for extensions, including routing | 21 // Manages SettingsStorage objects for extensions, including routing | 
| 23 // changes from sync to them. | 22 // changes from sync to them. | 
| 24 // Lives entirely on the FILE thread. | 23 // Lives entirely on the FILE thread. | 
| (...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 90 | 89 | 
| 91   // Current sync processor, if any. | 90   // Current sync processor, if any. | 
| 92   SyncChangeProcessor* sync_processor_; | 91   SyncChangeProcessor* sync_processor_; | 
| 93 | 92 | 
| 94   DISALLOW_COPY_AND_ASSIGN(SettingsBackend); | 93   DISALLOW_COPY_AND_ASSIGN(SettingsBackend); | 
| 95 }; | 94 }; | 
| 96 | 95 | 
| 97 }  // namespace extensions | 96 }  // namespace extensions | 
| 98 | 97 | 
| 99 #endif  // CHROME_BROWSER_EXTENSIONS_SETTINGS_SETTINGS_BACKEND_H_ | 98 #endif  // CHROME_BROWSER_EXTENSIONS_SETTINGS_SETTINGS_BACKEND_H_ | 
| OLD | NEW | 
|---|