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

Side by Side Diff: chrome/common/extensions/extension_test_util.cc

Issue 15239002: Move Extension and PermissionsData to extensions/common. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 1 month 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/common/extensions/extension_test_util.h" 5 #include "chrome/common/extensions/extension_test_util.h"
6 6
7 #include "base/files/file_path.h" 7 #include "base/files/file_path.h"
8 #include "base/json/json_file_value_serializer.h" 8 #include "base/json/json_file_value_serializer.h"
9 #include "base/path_service.h" 9 #include "base/path_service.h"
10 #include "base/values.h" 10 #include "base/values.h"
11 #include "chrome/common/chrome_paths.h" 11 #include "chrome/common/chrome_paths.h"
12 #include "chrome/common/extensions/extension.h" 12 #include "extensions/common/extension.h"
13 #include "extensions/common/extension_builder.h" 13 #include "extensions/common/extension_builder.h"
14 #include "extensions/common/manifest_constants.h" 14 #include "extensions/common/manifest_constants.h"
15 #include "testing/gtest/include/gtest/gtest.h" 15 #include "testing/gtest/include/gtest/gtest.h"
16 16
17 using extensions::DictionaryBuilder; 17 using extensions::DictionaryBuilder;
18 using extensions::Extension; 18 using extensions::Extension;
19 using extensions::ExtensionBuilder; 19 using extensions::ExtensionBuilder;
20 using extensions::ListBuilder; 20 using extensions::ListBuilder;
21 using extensions::Manifest; 21 using extensions::Manifest;
22 22
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 const std::string& test_file) { 108 const std::string& test_file) {
109 return LoadManifest(dir, test_file, Extension::NO_FLAGS); 109 return LoadManifest(dir, test_file, Extension::NO_FLAGS);
110 } 110 }
111 111
112 scoped_refptr<Extension> LoadManifest(const std::string& dir, 112 scoped_refptr<Extension> LoadManifest(const std::string& dir,
113 const std::string& test_file) { 113 const std::string& test_file) {
114 return LoadManifest(dir, test_file, Extension::NO_FLAGS); 114 return LoadManifest(dir, test_file, Extension::NO_FLAGS);
115 } 115 }
116 116
117 } // namespace extension_test_util 117 } // namespace extension_test_util
OLDNEW
« no previous file with comments | « chrome/common/extensions/extension_set_unittest.cc ('k') | chrome/common/extensions/extension_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698