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

Unified Diff: chrome/browser/extensions/extension_function_test_utils.h

Issue 12093036: Move Extension Location and Type enums to Manifest, and move InstallWarning to its own file. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/extensions/extension_function_test_utils.h
diff --git a/chrome/browser/extensions/extension_function_test_utils.h b/chrome/browser/extensions/extension_function_test_utils.h
index e42c1d52835a1daa1f80262782ae8deccc79b556..6459b53abed4d3eba2e366446c7ad2ef6a755ce4 100644
--- a/chrome/browser/extensions/extension_function_test_utils.h
+++ b/chrome/browser/extensions/extension_function_test_utils.h
@@ -9,6 +9,7 @@
#include "base/memory/ref_counted.h"
#include "chrome/common/extensions/extension.h"
+#include "chrome/common/extensions/manifest.h"
class AsyncExtensionFunction;
class Browser;
@@ -20,10 +21,6 @@ class DictionaryValue;
class ListValue;
}
-namespace extensions {
-class Extension;
-}
-
namespace extension_function_test_utils {
// Parse JSON and return as the specified type, or NULL if the JSON is invalid
@@ -52,7 +49,7 @@ scoped_refptr<extensions::Extension> CreateEmptyExtension();
// Creates an extension instance with a specified location that can be attached
// to an ExtensionFunction before running.
scoped_refptr<extensions::Extension> CreateEmptyExtensionWithLocation(
- extensions::Extension::Location location);
+ extensions::Manifest::Location location);
// Creates an empty extension with a variable ID, for tests that require
// multiple extensions side-by-side having distinct IDs. If not empty, then
@@ -64,7 +61,7 @@ scoped_refptr<extensions::Extension> CreateEmptyExtension(
const std::string& id_input);
scoped_refptr<extensions::Extension> CreateExtension(
- extensions::Extension::Location location,
+ extensions::Manifest::Location location,
base::DictionaryValue* test_extension_value,
const std::string& id_input);
@@ -74,7 +71,7 @@ scoped_refptr<extensions::Extension> CreateExtension(
base::DictionaryValue* test_extension_value);
scoped_refptr<extensions::Extension> CreateExtension(
- extensions::Extension::Location location,
+ extensions::Manifest::Location location,
base::DictionaryValue* test_extension_value);
// Returns true if |val| contains privacy information, e.g. url,

Powered by Google App Engine
This is Rietveld 408576698