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

Unified Diff: chrome/browser/ui/webui/extensions/pack_extension_handler.cc

Issue 10665053: Move ExtensionCreator into extensions namespace (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Latest master for cq Created 8 years, 5 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/ui/webui/extensions/pack_extension_handler.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/extensions/pack_extension_handler.cc
diff --git a/chrome/browser/ui/webui/extensions/pack_extension_handler.cc b/chrome/browser/ui/webui/extensions/pack_extension_handler.cc
index d97814f0129a908bbf9096d30c5bbd753d29950f..d4a8000f0abe4a7369455af31018076caa149a3a 100644
--- a/chrome/browser/ui/webui/extensions/pack_extension_handler.cc
+++ b/chrome/browser/ui/webui/extensions/pack_extension_handler.cc
@@ -75,13 +75,15 @@ void PackExtensionHandler::OnPackSuccess(const FilePath& crx_file,
"PackExtensionOverlay.showSuccessMessage", arguments);
}
-void PackExtensionHandler::OnPackFailure(const std::string& error,
- ExtensionCreator::ErrorType type) {
- if (type == ExtensionCreator::kCRXExists) {
+void PackExtensionHandler::OnPackFailure(
+ const std::string& error,
+ extensions::ExtensionCreator::ErrorType type) {
+ if (type == extensions::ExtensionCreator::kCRXExists) {
base::StringValue error_str(error);
base::StringValue extension_path_str(extension_path_);
base::StringValue key_path_str(private_key_path_);
- base::FundamentalValue overwrite_flag(ExtensionCreator::kOverwriteCRX);
+ base::FundamentalValue overwrite_flag(
+ extensions::ExtensionCreator::kOverwriteCRX);
web_ui()->CallJavascriptFunction(
"ExtensionSettings.askToOverrideWarning", error_str, extension_path_str,
« no previous file with comments | « chrome/browser/ui/webui/extensions/pack_extension_handler.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698