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

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

Issue 10824204: Move small c/b/extensions classes into extensions namespace no.2 (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Latest master for cq + nitfix Created 8 years, 4 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/pack_extension_job.cc
diff --git a/chrome/browser/extensions/pack_extension_job.cc b/chrome/browser/extensions/pack_extension_job.cc
index ac54f977819d2680ffab4dd0d7c34630e22e0a00..5dcfd9f1beb1040e653f391f8300e1714f71e1d4 100644
--- a/chrome/browser/extensions/pack_extension_job.cc
+++ b/chrome/browser/extensions/pack_extension_job.cc
@@ -15,6 +15,8 @@
using content::BrowserThread;
+namespace extensions {
+
PackExtensionJob::PackExtensionJob(Client* client,
const FilePath& root_directory,
const FilePath& key_file,
@@ -51,7 +53,7 @@ void PackExtensionJob::Run() {
// TODO(aa): Need to internationalize the errors that ExtensionCreator
// returns. See bug 20734.
- extensions::ExtensionCreator creator;
+ ExtensionCreator creator;
if (creator.Run(root_directory_, crx_file_out_, key_file_, key_file_out_,
run_flags_)) {
if (asynchronous_) {
@@ -82,7 +84,7 @@ void PackExtensionJob::ReportSuccessOnClientThread() {
void PackExtensionJob::ReportFailureOnClientThread(
const std::string& error,
- extensions::ExtensionCreator::ErrorType error_type) {
+ ExtensionCreator::ErrorType error_type) {
if (client_)
client_->OnPackFailure(error, error_type);
}
@@ -103,3 +105,5 @@ string16 PackExtensionJob::StandardSuccessMessage(const FilePath& crx_file,
key_file_string);
}
}
+
+} // namespace extensions
« no previous file with comments | « chrome/browser/extensions/pack_extension_job.h ('k') | chrome/browser/extensions/platform_app_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698