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

Unified Diff: chrome/browser/chrome_browser_main.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
« no previous file with comments | « no previous file | chrome/browser/extensions/api/file_system/file_system_apitest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chrome_browser_main.cc
diff --git a/chrome/browser/chrome_browser_main.cc b/chrome/browser/chrome_browser_main.cc
index 1988781b2438d2d2c1b9a33193ec4b08d8207e53..7fed087c49db894d76322c83ec39c6e92467cbde 100644
--- a/chrome/browser/chrome_browser_main.cc
+++ b/chrome/browser/chrome_browser_main.cc
@@ -37,7 +37,7 @@
#include "chrome/browser/defaults.h"
#include "chrome/browser/extensions/extension_protocols.h"
#include "chrome/browser/extensions/extension_service.h"
-#include "chrome/browser/extensions/extensions_startup.h"
+#include "chrome/browser/extensions/startup_helper.h"
#include "chrome/browser/first_run/upgrade_util.h"
#include "chrome/browser/google/google_search_counter.h"
#include "chrome/browser/google/google_util.h"
@@ -460,8 +460,8 @@ bool ProcessSingletonNotificationCallback(const CommandLine& command_line,
return true;
}
- ExtensionsStartupUtil ext_startup_util;
- ext_startup_util.UninstallExtension(command_line, profile);
+ extensions::StartupHelper extension_startup_helper;
+ extension_startup_helper.UninstallExtension(command_line, profile);
return true;
}
@@ -989,8 +989,8 @@ int ChromeBrowserMainParts::PreMainMessageLoopRunImpl() {
// If the command line specifies --pack-extension, attempt the pack extension
// startup action and exit.
if (parsed_command_line().HasSwitch(switches::kPackExtension)) {
- ExtensionsStartupUtil extension_startup_util;
- if (extension_startup_util.PackExtension(parsed_command_line()))
+ extensions::StartupHelper extension_startup_helper;
+ if (extension_startup_helper.PackExtension(parsed_command_line()))
return content::RESULT_CODE_NORMAL_EXIT;
return chrome::RESULT_CODE_PACK_EXTENSION_ERROR;
}
@@ -1265,8 +1265,9 @@ int ChromeBrowserMainParts::PreMainMessageLoopRunImpl() {
// specifies --uninstall-extension, attempt the uninstall extension startup
// action.
if (parsed_command_line().HasSwitch(switches::kUninstallExtension)) {
- ExtensionsStartupUtil ext_startup_util;
- if (ext_startup_util.UninstallExtension(parsed_command_line(), profile_))
+ extensions::StartupHelper extension_startup_helper;
+ if (extension_startup_helper.UninstallExtension(
+ parsed_command_line(), profile_))
return content::RESULT_CODE_NORMAL_EXIT;
return chrome::RESULT_CODE_UNINSTALL_EXTENSION_ERROR;
}
« no previous file with comments | « no previous file | chrome/browser/extensions/api/file_system/file_system_apitest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698