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

Unified Diff: chrome/common/extensions/extension_builder.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/common/extensions/extension_builder.h ('k') | chrome/common/extensions/extension_file_util.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/extensions/extension_builder.cc
diff --git a/chrome/common/extensions/extension_builder.cc b/chrome/common/extensions/extension_builder.cc
index 2a446075c73d669caf45be03cf22cf100e243977..93be0c5c2fc2173f119e27d0fa3fdebd1fdcd899 100644
--- a/chrome/common/extensions/extension_builder.cc
+++ b/chrome/common/extensions/extension_builder.cc
@@ -9,7 +9,7 @@
namespace extensions {
ExtensionBuilder::ExtensionBuilder()
- : location_(Extension::LOAD),
+ : location_(Manifest::LOAD),
flags_(Extension::NO_FLAGS) {
}
ExtensionBuilder::~ExtensionBuilder() {}
@@ -32,7 +32,7 @@ ExtensionBuilder& ExtensionBuilder::SetPath(const FilePath& path) {
return *this;
}
-ExtensionBuilder& ExtensionBuilder::SetLocation(Extension::Location location) {
+ExtensionBuilder& ExtensionBuilder::SetLocation(Manifest::Location location) {
location_ = location;
return *this;
}
« no previous file with comments | « chrome/common/extensions/extension_builder.h ('k') | chrome/common/extensions/extension_file_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698