Chromium Code Reviews| Index: chrome/browser/component_updater/pnacl/pnacl_component_installer.cc |
| diff --git a/chrome/browser/component_updater/pnacl/pnacl_component_installer.cc b/chrome/browser/component_updater/pnacl/pnacl_component_installer.cc |
| index aadff20516dd55252ea7eeb55b9e43e03165cb2e..ceeb47222363855c733e8c8220f83ddd61bbde1b 100644 |
| --- a/chrome/browser/component_updater/pnacl/pnacl_component_installer.cc |
| +++ b/chrome/browser/component_updater/pnacl/pnacl_component_installer.cc |
| @@ -372,8 +372,12 @@ void StartPnaclUpdateRegistration(PnaclComponentInstaller* pci) { |
| void PnaclComponentInstaller::RegisterPnaclComponent( |
| ComponentUpdateService* cus, |
| const CommandLine& command_line) { |
| +#if defined(DISABLE_NACL) |
| + updates_disabled_ = true; |
| +#else |
| // Register PNaCl by default (can be disabled). |
| updates_disabled_ = command_line.HasSwitch(switches::kDisablePnaclInstall); |
|
Lei Zhang
2014/07/17 05:33:47
There's another CL to remove this.
tzik
2014/07/17 05:53:31
Oh, sounds nice.
Droped from this CL.
|
| +#endif |
| cus_ = cus; |
| BrowserThread::PostTask(BrowserThread::FILE, |
| FROM_HERE, |