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

Unified Diff: chrome/browser/extensions/extensions_startup.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/extensions/extensions_startup.h ('k') | chrome/browser/extensions/pack_extension_job.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/extensions_startup.cc
diff --git a/chrome/browser/extensions/extensions_startup.cc b/chrome/browser/extensions/extensions_startup.cc
index 94caf2ecc5fdfa3e0ba33e0e03ea0dcf56a0de96..cd11840f73b394350878e2a49af308d0bb04ba44 100644
--- a/chrome/browser/extensions/extensions_startup.cc
+++ b/chrome/browser/extensions/extensions_startup.cc
@@ -24,8 +24,9 @@ void ExtensionsStartupUtil::OnPackSuccess(
chrome::MESSAGE_BOX_TYPE_INFORMATION);
}
-void ExtensionsStartupUtil::OnPackFailure(const std::string& error_message,
- ExtensionCreator::ErrorType type) {
+void ExtensionsStartupUtil::OnPackFailure(
+ const std::string& error_message,
+ extensions::ExtensionCreator::ErrorType type) {
chrome::ShowMessageBox(NULL, ASCIIToUTF16("Extension Packaging Error"),
UTF8ToUTF16(error_message), chrome::MESSAGE_BOX_TYPE_WARNING);
}
@@ -44,7 +45,7 @@ bool ExtensionsStartupUtil::PackExtension(const CommandLine& cmd_line) {
// Launch a job to perform the packing on the file thread. Ignore warnings
// from the packing process. (e.g. Overwrite any existing crx file.)
pack_job_ = new PackExtensionJob(this, src_dir, private_key_path,
- ExtensionCreator::kOverwriteCRX);
+ extensions::ExtensionCreator::kOverwriteCRX);
pack_job_->set_asynchronous(false);
pack_job_->Start();
« no previous file with comments | « chrome/browser/extensions/extensions_startup.h ('k') | chrome/browser/extensions/pack_extension_job.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698