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

Issue 60823002: Fix some non-aura specific code related to metro startup. (Closed)

Created:
7 years, 1 month ago by zturner
Modified:
7 years, 1 month ago
CC:
chromium-reviews, grt (UTC plus 2), Sigurður Ásgeirsson, etienneb
Visibility:
Public.

Description

Fix some non-aura specific code related to metro startup. There was a legitimate bug here, but it only occurred on non-aura builds. On aura builds, the code was still incorrect but by luck exhibited the correct behavior. The confusion about this behavior comes from the fact that prior to r232828, we allowed Desktop and Metro instances of chrome to run simultaneously, depending on which shortcut you clicked. As of r232828, all shortcuts lead to the same browser experience, and we store the "stickiness" in the registry and the launch experience is based entirely off of the value stored in the registry. As a result, the code here which was incorrect, and which is fixed in this patch, only matters for non-Aura. BUG=314034 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=233527

Patch Set 1 #

Total comments: 1

Patch Set 2 : Add comment explaining the reasoning for splitting compound if statement. #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+9 lines, -3 lines) Patch
M chrome/browser/chrome_process_finder_win.cc View 1 2 chunks +9 lines, -3 lines 4 comments Download

Messages

Total messages: 13 (0 generated)
zturner
7 years, 1 month ago (2013-11-05 20:57:27 UTC) #1
rvargas (doing something else)
LGTM after adding a comment. Thanks. https://codereview.chromium.org/60823002/diff/1/chrome/browser/chrome_process_finder_win.cc File chrome/browser/chrome_process_finder_win.cc (right): https://codereview.chromium.org/60823002/diff/1/chrome/browser/chrome_process_finder_win.cc#newcode145 chrome/browser/chrome_process_finder_win.cc:145: if (base::win::IsProcessImmersive(process_handle.Get())) A ...
7 years, 1 month ago (2013-11-05 21:07:29 UTC) #2
sky
LGTM
7 years, 1 month ago (2013-11-05 21:13:52 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/zturner@chromium.org/60823002/70001
7 years, 1 month ago (2013-11-05 21:49:48 UTC) #4
gab
https://codereview.chromium.org/60823002/diff/70001/chrome/browser/chrome_process_finder_win.cc File chrome/browser/chrome_process_finder_win.cc (right): https://codereview.chromium.org/60823002/diff/70001/chrome/browser/chrome_process_finder_win.cc#newcode145 chrome/browser/chrome_process_finder_win.cc:145: // Receive() causes the process handle to be set ...
7 years, 1 month ago (2013-11-05 22:46:55 UTC) #5
gab
CC some C++/compiler experts, see below https://codereview.chromium.org/60823002/diff/70001/chrome/browser/chrome_process_finder_win.cc File chrome/browser/chrome_process_finder_win.cc (right): https://codereview.chromium.org/60823002/diff/70001/chrome/browser/chrome_process_finder_win.cc#newcode145 chrome/browser/chrome_process_finder_win.cc:145: // Receive() causes ...
7 years, 1 month ago (2013-11-05 22:50:11 UTC) #6
zturner
On 2013/11/05 22:46:55, gab wrote: > https://codereview.chromium.org/60823002/diff/70001/chrome/browser/chrome_process_finder_win.cc > File chrome/browser/chrome_process_finder_win.cc (right): > > https://codereview.chromium.org/60823002/diff/70001/chrome/browser/chrome_process_finder_win.cc#newcode145 > ...
7 years, 1 month ago (2013-11-05 22:52:58 UTC) #7
gab
On 2013/11/05 22:52:58, zturner wrote: > On 2013/11/05 22:46:55, gab wrote: > > > https://codereview.chromium.org/60823002/diff/70001/chrome/browser/chrome_process_finder_win.cc ...
7 years, 1 month ago (2013-11-05 23:45:09 UTC) #8
rvargas (doing something else)
On 2013/11/05 23:45:09, gab wrote: > On 2013/11/05 22:52:58, zturner wrote: > > On 2013/11/05 ...
7 years, 1 month ago (2013-11-05 23:49:27 UTC) #9
gab
Okay, also we should probably merge this in M31. On Nov 5, 2013 6:49 PM, ...
7 years, 1 month ago (2013-11-05 23:53:49 UTC) #10
commit-bot: I haz the power
Retried try job too often on linux_aura for step(s) browser_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_aura&number=94275
7 years, 1 month ago (2013-11-06 02:26:32 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/zturner@chromium.org/60823002/70001
7 years, 1 month ago (2013-11-07 01:31:23 UTC) #12
commit-bot: I haz the power
7 years, 1 month ago (2013-11-07 07:30:54 UTC) #13
Message was sent while issue was closed.
Change committed as 233527

Powered by Google App Engine
This is Rietveld 408576698