| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "chrome/browser/component_updater/recovery_component_installer.h" | 5 #include "chrome/browser/component_updater/recovery_component_installer.h" |
| 6 | 6 |
| 7 #include <string> | 7 #include <string> |
| 8 | 8 |
| 9 #include "base/base_paths.h" | 9 #include "base/base_paths.h" |
| 10 #include "base/bind.h" | 10 #include "base/bind.h" |
| (...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 166 FROM_HERE, | 166 FROM_HERE, |
| 167 base::Bind(&RecoveryRegisterHelper, cus, prefs), | 167 base::Bind(&RecoveryRegisterHelper, cus, prefs), |
| 168 base::TimeDelta::FromSeconds(6)); | 168 base::TimeDelta::FromSeconds(6)); |
| 169 #endif | 169 #endif |
| 170 } | 170 } |
| 171 | 171 |
| 172 void RegisterPrefsForRecoveryComponent(PrefRegistrySimple* registry) { | 172 void RegisterPrefsForRecoveryComponent(PrefRegistrySimple* registry) { |
| 173 registry->RegisterStringPref(prefs::kRecoveryComponentVersion, "0.0.0.0"); | 173 registry->RegisterStringPref(prefs::kRecoveryComponentVersion, "0.0.0.0"); |
| 174 } | 174 } |
| 175 | 175 |
| 176 void StartElevatedRecoveryProcess( |
| 177 PrefService* prefs, bool elevation_allowed, const base::Closure& callback) { |
| 178 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); |
| 179 } |
| 180 |
| 176 } // namespace component_updater | 181 } // namespace component_updater |
| OLD | NEW |