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

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

Issue 48643003: Moved extension and value builder code to extensions component. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase again 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 #ifndef CHROME_COMMON_EXTENSIONS_EXTENSION_TEST_UTIL_H_ 5 #ifndef CHROME_COMMON_EXTENSIONS_EXTENSION_TEST_UTIL_H_
6 #define CHROME_COMMON_EXTENSIONS_EXTENSION_TEST_UTIL_H_ 6 #define CHROME_COMMON_EXTENSIONS_EXTENSION_TEST_UTIL_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
11 #include "chrome/common/extensions/extension_builder.h" 11 #include "extensions/common/extension_builder.h"
12 #include "extensions/common/manifest.h" 12 #include "extensions/common/manifest.h"
13 13
14 namespace extensions { 14 namespace extensions {
15 class Extension; 15 class Extension;
16 16
17 // Newer functions go here. 17 // Newer functions go here.
18 // TODO(mpcomplete): migrate older functions over. 18 // TODO(mpcomplete): migrate older functions over.
19 namespace extension_test_util { 19 namespace extension_test_util {
20 20
21 ExtensionBuilder& BuildExtension(ExtensionBuilder& builder); 21 ExtensionBuilder& BuildExtension(ExtensionBuilder& builder);
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 scoped_refptr<extensions::Extension> LoadManifestStrict( 60 scoped_refptr<extensions::Extension> LoadManifestStrict(
61 const std::string& dir, 61 const std::string& dir,
62 const std::string& test_file); 62 const std::string& test_file);
63 63
64 scoped_refptr<extensions::Extension> LoadManifest(const std::string& dir, 64 scoped_refptr<extensions::Extension> LoadManifest(const std::string& dir,
65 const std::string& test_file); 65 const std::string& test_file);
66 66
67 } // namespace extension_test_util 67 } // namespace extension_test_util
68 68
69 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_TEST_UTIL_H_ 69 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_TEST_UTIL_H_
OLDNEW
« no previous file with comments | « chrome/common/extensions/extension_builder.cc ('k') | chrome/common/extensions/extension_test_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698