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

Unified Diff: chrome/browser/extensions/test_extension_prefs.cc

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
« no previous file with comments | « chrome/browser/extensions/test_extension_prefs.h ('k') | chrome/browser/extensions/unpacked_installer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/test_extension_prefs.cc
diff --git a/chrome/browser/extensions/test_extension_prefs.cc b/chrome/browser/extensions/test_extension_prefs.cc
index d95e03c9304263df401ec9a668e02653cf8cc9b1..a261c0ec479101251467079f0e4f13e7111e191d 100644
--- a/chrome/browser/extensions/test_extension_prefs.cc
+++ b/chrome/browser/extensions/test_extension_prefs.cc
@@ -111,7 +111,7 @@ scoped_refptr<Extension> TestExtensionPrefs::AddExtension(std::string name) {
DictionaryValue dictionary;
dictionary.SetString(extension_manifest_keys::kName, name);
dictionary.SetString(extension_manifest_keys::kVersion, "0.1");
- return AddExtensionWithManifest(dictionary, Extension::INTERNAL);
+ return AddExtensionWithManifest(dictionary, Manifest::INTERNAL);
}
scoped_refptr<Extension> TestExtensionPrefs::AddApp(std::string name) {
@@ -121,19 +121,19 @@ scoped_refptr<Extension> TestExtensionPrefs::AddApp(std::string name) {
dictionary.SetString(extension_manifest_keys::kApp, "true");
dictionary.SetString(extension_manifest_keys::kLaunchWebURL,
"http://example.com");
- return AddExtensionWithManifest(dictionary, Extension::INTERNAL);
+ return AddExtensionWithManifest(dictionary, Manifest::INTERNAL);
}
scoped_refptr<Extension> TestExtensionPrefs::AddExtensionWithManifest(
- const DictionaryValue& manifest, Extension::Location location) {
+ const DictionaryValue& manifest, Manifest::Location location) {
return AddExtensionWithManifestAndFlags(manifest, location,
Extension::NO_FLAGS);
}
scoped_refptr<Extension> TestExtensionPrefs::AddExtensionWithManifestAndFlags(
const DictionaryValue& manifest,
- Extension::Location location,
+ Manifest::Location location,
int extra_flags) {
std::string name;
EXPECT_TRUE(manifest.GetString(extension_manifest_keys::kName, &name));
« no previous file with comments | « chrome/browser/extensions/test_extension_prefs.h ('k') | chrome/browser/extensions/unpacked_installer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698