summaryrefslogtreecommitdiffstats
path: root/components/component_updater/pref_names.h
diff options
context:
space:
mode:
authorxiaolingbao <xiaolingbao@chromium.org>2014-12-08 15:18:52 -0800
committerCommit bot <commit-bot@chromium.org>2014-12-08 23:19:12 +0000
commit30c9f3f4fb1eccaef28e0438fe12352a012e591b (patch)
tree7b1ab6c74ea5bcf6cb0ff312aa3b6f57f5ab8140 /components/component_updater/pref_names.h
parent2b708fe2d4b9ddb01a23c45fbb71cce03e4865b6 (diff)
downloadchromium_src-30c9f3f4fb1eccaef28e0438fe12352a012e591b.zip
chromium_src-30c9f3f4fb1eccaef28e0438fe12352a012e591b.tar.gz
chromium_src-30c9f3f4fb1eccaef28e0438fe12352a012e591b.tar.bz2
Elevated install of recovery component when needed.
First tries to do recovery non-elevated. When the process finds that elevation is needed, pop up a UI to notify user of UAC prompt. If permission is granted, run recovery component installer again with elevated privilege. The CL does not have the UI changes. A separate CL (https://codereview.chromium.org/325433002/) is created for that. This CL includes: (1) When elevation is needed to recover, save the installation source for retry, set a flag in preference to indicate that. (2) Provide API for elevated install BUG=381801 Review URL: https://codereview.chromium.org/359443002 Cr-Commit-Position: refs/heads/master@{#307372}
Diffstat (limited to 'components/component_updater/pref_names.h')
-rw-r--r--components/component_updater/pref_names.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/components/component_updater/pref_names.h b/components/component_updater/pref_names.h
index 6d2d8f9..5faa801 100644
--- a/components/component_updater/pref_names.h
+++ b/components/component_updater/pref_names.h
@@ -10,6 +10,7 @@
namespace prefs {
extern const char kRecoveryComponentVersion[];
+extern const char kRecoveryComponentUnpackPath[];
#if defined(OS_WIN)
// Local state prefs.