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

Issue 159172: Allow two user level installs of Chrome to have default browser settings. (Closed)

Created:
11 years, 5 months ago by kuchhal
Modified:
9 years, 7 months ago
Reviewers:
huanr
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

Allow two user level installs of Chrome to have default browser settings. This change will allow two Windows users to install thier own copy of Chrome and set it as default browser. There is a bunch of refactoring in this change. - Divided the registry entries into three categories: * Entries that are only read from HKLM * Entries that actually tie file/protocol associations to Chrome. This will almost always be in HKCU (except when it is a OEM install). * Entries that we can create in HKCU if we fail to create them in HKLM. - For single user machine nothing should change. - For two users on the same machine (each with a different user level Chrome installed), the second user's default browser will get renamed to Chromium.<user> and the required registry entries will also be renamed so that they do not overwrite first users's registry entries. BUG=3641 TEST=Install and set Chromium as default browser from two different logins on the same machine for various combinations of XP/Vista, admin users/non admin user, user-level install/system-level install. Committed: http://src.chromium.org/viewvc/21428

Patch Set 1 #

Patch Set 2 : cleanup #

Total comments: 6

Patch Set 3 : code review feedback. #

Patch Set 4 : update comment. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+522 lines, -402 lines) Patch
M chrome/browser/shell_integration.cc View 1 3 chunks +15 lines, -13 lines 0 comments Download
M chrome/installer/setup/install.cc View 1 1 chunk +7 lines, -14 lines 0 comments Download
M chrome/installer/setup/setup_main.cc View 1 2 chunks +19 lines, -2 lines 0 comments Download
M chrome/installer/setup/uninstall.h View 1 3 chunks +6 lines, -4 lines 0 comments Download
M chrome/installer/setup/uninstall.cc View 6 chunks +28 lines, -4 lines 0 comments Download
M chrome/installer/util/shell_util.h View 1 2 3 8 chunks +46 lines, -43 lines 0 comments Download
M chrome/installer/util/shell_util.cc View 1 2 12 chunks +394 lines, -319 lines 0 comments Download
M chrome/installer/util/util_constants.h View 1 3 chunks +4 lines, -3 lines 0 comments Download
M chrome/installer/util/util_constants.cc View 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
kuchhal
11 years, 5 months ago (2009-07-22 00:29:43 UTC) #1
huanr
In addition to the scenarios you described in TEST section, do we need to also ...
11 years, 5 months ago (2009-07-22 22:04:14 UTC) #2
kuchhal
See below... On 2009/07/22 22:04:14, huanr wrote: > In addition to the scenarios you described ...
11 years, 5 months ago (2009-07-23 00:10:31 UTC) #3
huanr
11 years, 5 months ago (2009-07-23 02:28:52 UTC) #4
LGTM. Thanks for the explanations.

Powered by Google App Engine
This is Rietveld 408576698