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

Side by Side Diff: chrome/browser/extensions/api/storage/settings_test_util.cc

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 #include "chrome/browser/extensions/settings/settings_test_util.h" 5 #include "chrome/browser/extensions/api/storage/settings_test_util.h"
6 6
7 #include "base/file_path.h" 7 #include "base/file_path.h"
8 #include "chrome/browser/extensions/api/storage/settings_frontend.h"
9 #include "chrome/browser/extensions/extension_system_factory.h"
8 #include "chrome/common/extensions/extension.h" 10 #include "chrome/common/extensions/extension.h"
9 #include "chrome/browser/extensions/extension_system_factory.h"
10 #include "chrome/browser/extensions/settings/settings_frontend.h"
11 11
12 namespace extensions { 12 namespace extensions {
13 13
14 namespace settings_test_util { 14 namespace settings_test_util {
15 15
16 // Intended as a StorageCallback from GetStorage. 16 // Intended as a StorageCallback from GetStorage.
17 static void AssignStorage(ValueStore** dst, ValueStore* src) { 17 static void AssignStorage(ValueStore** dst, ValueStore* src) {
18 *dst = src; 18 *dst = src;
19 } 19 }
20 20
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after
156 ValueStore* ScopedSettingsStorageFactory::Create( 156 ValueStore* ScopedSettingsStorageFactory::Create(
157 const FilePath& base_path, 157 const FilePath& base_path,
158 const std::string& extension_id) { 158 const std::string& extension_id) {
159 DCHECK(delegate_.get()); 159 DCHECK(delegate_.get());
160 return delegate_->Create(base_path, extension_id); 160 return delegate_->Create(base_path, extension_id);
161 } 161 }
162 162
163 } // namespace settings_test_util 163 } // namespace settings_test_util
164 164
165 } // namespace extensions 165 } // namespace extensions
OLDNEW
« no previous file with comments | « chrome/browser/extensions/api/storage/settings_test_util.h ('k') | chrome/browser/extensions/api/storage/storage_api.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698