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

Unified Diff: chrome/browser/component_updater/recovery_component_installer.cc

Issue 2683113006: Revert of Simplify the registration of the Chrome Recovery component. (Closed)
Patch Set: Created 3 years, 10 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 | « chrome/browser/chrome_browser_main.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/component_updater/recovery_component_installer.cc
diff --git a/chrome/browser/component_updater/recovery_component_installer.cc b/chrome/browser/component_updater/recovery_component_installer.cc
index 9f4e58de3af7f4a55f6d9fb8a81bde76a46738c9..868e5c7e9a1613980a612fc7ffc2caccc0389417 100644
--- a/chrome/browser/component_updater/recovery_component_installer.cc
+++ b/chrome/browser/component_updater/recovery_component_installer.cc
@@ -493,8 +493,7 @@
void RegisterRecoveryComponent(ComponentUpdateService* cus,
PrefService* prefs) {
-#if defined(GOOGLE_CHROME_BUILD)
-#if defined(OS_WIN) || defined(OS_MACOSX)
+#if !defined(OS_CHROMEOS) && defined(GOOGLE_CHROME_BUILD)
if (SimulatingElevatedRecovery()) {
BrowserThread::PostTask(
BrowserThread::UI,
@@ -509,8 +508,7 @@
FROM_HERE,
base::Bind(&RecoveryRegisterHelper, cus, prefs),
base::TimeDelta::FromSeconds(6));
-#endif
-#endif
+#endif // !defined(OS_CHROMEOS) && defined(GOOGLE_CHROME_BUILD)
}
void RegisterPrefsForRecoveryComponent(PrefRegistrySimple* registry) {
« no previous file with comments | « chrome/browser/chrome_browser_main.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698