diff options
author | xiaolingbao <xiaolingbao@chromium.org> | 2014-12-08 15:18:52 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2014-12-08 23:19:12 +0000 |
commit | 30c9f3f4fb1eccaef28e0438fe12352a012e591b (patch) | |
tree | 7b1ab6c74ea5bcf6cb0ff312aa3b6f57f5ab8140 /components/component_updater/pref_names.h | |
parent | 2b708fe2d4b9ddb01a23c45fbb71cce03e4865b6 (diff) | |
download | chromium_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.h | 1 |
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. |