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

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..a8342ed1ecec422829fcb092cce1b0d80e609593 100644
--- a/chrome/browser/extensions/extension_function_test_utils.h
+++ b/chrome/browser/extensions/extension_function_test_utils.h
@@ -8,7 +8,7 @@
#include <string>
#include "base/memory/ref_counted.h"
-#include "chrome/common/extensions/extension.h"
+#include "chrome/common/extensions/manifest.h"
class AsyncExtensionFunction;
class Browser;
@@ -52,7 +52,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 +64,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 +74,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,
« no previous file with comments | « chrome/browser/extensions/extension_creator.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