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

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

Issue 10375021: Move Extension into extensions namespace (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Take 6 Created 8 years, 7 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 27336a52e1f5f4ddc3ba736ceae3911d4b88b09c..3ae6db8a28013b225542013b4822f8c1ea6d6e40 100644
--- a/chrome/browser/extensions/extension_function_test_utils.h
+++ b/chrome/browser/extensions/extension_function_test_utils.h
@@ -13,7 +13,6 @@
class AsyncExtensionFunction;
class Browser;
-class Extension;
class UIThreadExtensionFunction;
namespace base {
@@ -22,6 +21,10 @@ 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
@@ -45,12 +48,12 @@ base::ListValue* ToList(base::Value* val);
// Creates an extension instance that can be attached to an ExtensionFunction
// before running it.
-scoped_refptr<Extension> CreateEmptyExtension();
+scoped_refptr<extensions::Extension> CreateEmptyExtension();
// Creates an extension instance with a specified location that can be attached
// to an ExtensionFunction before running.
-scoped_refptr<Extension> CreateEmptyExtensionWithLocation(
- Extension::Location location);
+scoped_refptr<extensions::Extension> CreateEmptyExtensionWithLocation(
+ extensions::Extension::Location location);
enum RunFunctionFlags {
NONE = 0,
« no previous file with comments | « chrome/browser/extensions/extension_function_dispatcher.cc ('k') | chrome/browser/extensions/extension_function_test_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698