Chromium Code Reviews| Index: chrome/browser/extensions/extension_service.cc |
| =================================================================== |
| --- chrome/browser/extensions/extension_service.cc (revision 163351) |
| +++ chrome/browser/extensions/extension_service.cc (working copy) |
| @@ -576,8 +576,10 @@ |
| // The Sideload Wipeout effort takes place during load (see above), so once |
| // that is done the flag can be set so that we don't have to check again. |
| +#if defined(OS_WIN) |
|
Aaron Boodman
2012/10/23 15:20:20
See other comment about OS_WIN ifdef.
|
| if (FeatureSwitch::sideload_wipeout()->IsEnabled()) |
| extension_prefs_->SetSideloadWipeoutDone(); |
| +#endif |
| // If we are running in the import process, don't bother initializing the |
| // extension service since this can interfere with the main browser process |
| @@ -2184,6 +2186,13 @@ |
| void ExtensionService::MaybeWipeout( |
| const extensions::Extension* extension) { |
| +#if !defined(OS_WIN) |
|
Aaron Boodman
2012/10/23 15:20:20
Better to chokepoint this in the feature switch it
|
| + // We are targeting registry-installed extensions, which are Windows-specific, |
| + // and extensions marked internal and not from the web store, which are mostly |
| + // problematic on Windows. |
| + return; |
| +#endif |
| + |
| if (!FeatureSwitch::sideload_wipeout()->IsEnabled()) |
| return; |