| Index: chrome/browser/extensions/extension_function_test_utils.cc
|
| diff --git a/chrome/browser/extensions/extension_function_test_utils.cc b/chrome/browser/extensions/extension_function_test_utils.cc
|
| index d352966effec3bc49c29530b4a16cb4bf7243d27..157600bacbfcd29b43186e91ff265fa70793cf6e 100644
|
| --- a/chrome/browser/extensions/extension_function_test_utils.cc
|
| +++ b/chrome/browser/extensions/extension_function_test_utils.cc
|
| @@ -19,6 +19,7 @@
|
|
|
| using content::WebContents;
|
| using extensions::Extension;
|
| +using extensions::Manifest;
|
| namespace keys = extensions::tabs_constants;
|
|
|
| namespace {
|
| @@ -102,11 +103,11 @@ base::ListValue* ToList(base::Value* val) {
|
| }
|
|
|
| scoped_refptr<Extension> CreateEmptyExtension() {
|
| - return CreateEmptyExtensionWithLocation(Extension::INTERNAL);
|
| + return CreateEmptyExtensionWithLocation(Manifest::INTERNAL);
|
| }
|
|
|
| scoped_refptr<Extension> CreateEmptyExtensionWithLocation(
|
| - Extension::Location location) {
|
| + Manifest::Location location) {
|
| scoped_ptr<base::DictionaryValue> test_extension_value(
|
| ParseDictionary("{\"name\": \"Test\", \"version\": \"1.0\"}"));
|
| return CreateExtension(location, test_extension_value.get(), std::string());
|
| @@ -116,18 +117,18 @@ scoped_refptr<Extension> CreateEmptyExtension(
|
| const std::string& id_input) {
|
| scoped_ptr<base::DictionaryValue> test_extension_value(
|
| ParseDictionary("{\"name\": \"Test\", \"version\": \"1.0\"}"));
|
| - return CreateExtension(Extension::INTERNAL, test_extension_value.get(),
|
| + return CreateExtension(Manifest::INTERNAL, test_extension_value.get(),
|
| id_input);
|
| }
|
|
|
| scoped_refptr<Extension> CreateExtension(
|
| base::DictionaryValue* test_extension_value) {
|
| - return CreateExtension(Extension::INTERNAL, test_extension_value,
|
| + return CreateExtension(Manifest::INTERNAL, test_extension_value,
|
| std::string());
|
| }
|
|
|
| scoped_refptr<Extension> CreateExtension(
|
| - Extension::Location location,
|
| + Manifest::Location location,
|
| base::DictionaryValue* test_extension_value,
|
| const std::string& id_input) {
|
| std::string error;
|
|
|