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

Side by Side Diff: extensions/browser/api/storage/settings_frontend.cc

Issue 189263013: Move extensions storage API implementation to src/extensions (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 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 #include "chrome/browser/extensions/api/storage/settings_frontend.h" 5 #include "extensions/browser/api/storage/settings_frontend.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/bind_helpers.h" 8 #include "base/bind_helpers.h"
9 #include "base/files/file_path.h" 9 #include "base/files/file_path.h"
10 #include "base/json/json_reader.h" 10 #include "base/json/json_reader.h"
11 #include "base/lazy_instance.h" 11 #include "base/lazy_instance.h"
12 #include "chrome/browser/extensions/api/storage/leveldb_settings_storage_factory .h"
13 #include "chrome/browser/extensions/api/storage/local_value_store_cache.h"
14 #include "chrome/common/extensions/api/storage.h" 12 #include "chrome/common/extensions/api/storage.h"
15 #include "content/public/browser/browser_context.h" 13 #include "content/public/browser/browser_context.h"
16 #include "content/public/browser/browser_thread.h" 14 #include "content/public/browser/browser_thread.h"
17 #include "extensions/browser/api/extensions_api_client.h" 15 #include "extensions/browser/api/extensions_api_client.h"
16 #include "extensions/browser/api/storage/leveldb_settings_storage_factory.h"
17 #include "extensions/browser/api/storage/local_value_store_cache.h"
18 #include "extensions/browser/event_router.h" 18 #include "extensions/browser/event_router.h"
19 #include "extensions/browser/extension_registry.h" 19 #include "extensions/browser/extension_registry.h"
20 #include "extensions/browser/extension_system.h" 20 #include "extensions/browser/extension_system.h"
21 21
22 using content::BrowserContext; 22 using content::BrowserContext;
23 using content::BrowserThread; 23 using content::BrowserThread;
24 24
25 namespace extensions { 25 namespace extensions {
26 26
27 namespace { 27 namespace {
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after
176 SettingsFrontend::GetFactoryInstance() { 176 SettingsFrontend::GetFactoryInstance() {
177 return g_factory.Pointer(); 177 return g_factory.Pointer();
178 } 178 }
179 179
180 // static 180 // static
181 const char* SettingsFrontend::service_name() { 181 const char* SettingsFrontend::service_name() {
182 return "SettingsFrontend"; 182 return "SettingsFrontend";
183 } 183 }
184 184
185 } // namespace extensions 185 } // namespace extensions
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698