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

Unified Diff: chrome/browser/chrome_browser_main.cc

Issue 398213002: Remove disable-pnacl-install flag. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: remove arg too Created 6 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 | « no previous file | chrome/browser/component_updater/pnacl/pnacl_component_installer.h » ('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 42f2e7bde04f318da9ed8f6f819a4da412de0162..d0cb081133782cda7835c75e6b162019f9e13d38 100644
--- a/chrome/browser/chrome_browser_main.cc
+++ b/chrome/browser/chrome_browser_main.cc
@@ -381,7 +381,7 @@ OSStatus KeychainCallback(SecKeychainEvent keychain_event,
}
#endif
-void RegisterComponentsForUpdate(const CommandLine& command_line) {
+void RegisterComponentsForUpdate() {
component_updater::ComponentUpdateService* cus =
g_browser_process->component_updater();
@@ -392,8 +392,7 @@ void RegisterComponentsForUpdate(const CommandLine& command_line) {
RegisterRecoveryComponent(cus, g_browser_process->local_state());
RegisterPepperFlashComponent(cus);
RegisterSwiftShaderComponent(cus);
- g_browser_process->pnacl_component_installer()->RegisterPnaclComponent(
- cus, command_line);
+ g_browser_process->pnacl_component_installer()->RegisterPnaclComponent(cus);
RegisterWidevineCdmComponent(cus);
#endif
@@ -1454,7 +1453,7 @@ int ChromeBrowserMainParts::PreMainMessageLoopRunImpl() {
browser_process_->notification_ui_manager();
if (!parsed_command_line().HasSwitch(switches::kDisableComponentUpdate))
- RegisterComponentsForUpdate(parsed_command_line());
+ RegisterComponentsForUpdate();
#if defined(OS_ANDROID)
chrome_variations::VariationsService* variations_service =
« no previous file with comments | « no previous file | chrome/browser/component_updater/pnacl/pnacl_component_installer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698