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

Side by Side Diff: chrome/browser/component_updater/recovery_component_installer.cc

Issue 325433002: Elevated install of recovery component (UI part). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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
OLDNEW
« no previous file with comments | « chrome/browser/component_updater/recovery_component_installer.h ('k') | chrome/browser/ui/browser_commands.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698