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

Issue 23506011: Improve the UI for handling profile lock contention. (Closed)

Created:
7 years, 3 months ago by palmer
Modified:
7 years, 3 months ago
Reviewers:
Nico, Elliot Glaysher
CC:
chromium-reviews
Visibility:
Public.

Description

Improve the UI for handling profile lock contention. Linux/GTK only. BUG=282509 TEST=ln -s fake.com-123 SingletonLock, then run Chromium, then check that [ Quit ] and [ Unlock and Relaunch ] work. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=222159

Patch Set 1 #

Patch Set 2 : Remove unnecessary stuff, and fix the hanging. #

Patch Set 3 : Only do it if we're REALLY sure it's a stale lock. #

Total comments: 1

Patch Set 4 : Improve the localizability. #

Total comments: 4

Patch Set 5 : Return false, not 0. #

Patch Set 6 : Improved strings from Avni. #

Patch Set 7 : Fix XML syntax errur?! #

Unified diffs Side-by-side diffs Delta from patch set Stats (+53 lines, -18 lines) Patch
M chrome/app/chromium_strings.grd View 1 2 3 4 5 6 1 chunk +9 lines, -0 lines 0 comments Download
M chrome/app/generated_resources.grd View 1 chunk +0 lines, -5 lines 0 comments Download
M chrome/app/google_chrome_strings.grd View 1 2 3 4 5 6 1 chunk +9 lines, -0 lines 0 comments Download
M chrome/browser/process_singleton_linux.cc View 1 2 3 4 3 chunks +16 lines, -8 lines 0 comments Download
M chrome/browser/ui/gtk/process_singleton_dialog.h View 1 2 chunks +8 lines, -2 lines 0 comments Download
M chrome/browser/ui/gtk/process_singleton_dialog.cc View 1 3 chunks +11 lines, -3 lines 0 comments Download

Messages

Total messages: 22 (0 generated)
palmer
Say, erg, am I even vaguely on the right track? One problem: Chrome seems to ...
7 years, 3 months ago (2013-08-30 22:01:09 UTC) #1
palmer
Seems to be working correctly now. PTAL, thanks!
7 years, 3 months ago (2013-08-30 22:28:43 UTC) #2
palmer
Adding estade as an OWNER for chrome/browser/ui/gtk
7 years, 3 months ago (2013-08-30 23:55:44 UTC) #3
Elliot Glaysher
Do we actually want to make unlocking the profile this easy? Should there be some ...
7 years, 3 months ago (2013-09-03 18:04:43 UTC) #4
palmer
> Do we actually want to make unlocking the profile this easy? Yes, because annoying ...
7 years, 3 months ago (2013-09-03 20:28:55 UTC) #5
Elliot Glaysher
lgtm++ conditional on: On 2013/09/03 20:28:55, Chromium Palmer wrote: > but I can add > ...
7 years, 3 months ago (2013-09-03 20:44:41 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/palmer@chromium.org/23506011/10001
7 years, 3 months ago (2013-09-04 01:18:06 UTC) #7
palmer
Say, thakis, can you please review for chrome/browser/process_singleton_linux.cc ? Thanks.
7 years, 3 months ago (2013-09-04 01:25:49 UTC) #8
commit-bot: I haz the power
Retried try job too often on chromium_presubmit for step(s) presubmit http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=chromium_presubmit&number=23633
7 years, 3 months ago (2013-09-04 01:34:29 UTC) #9
Nico
https://codereview.chromium.org/23506011/diff/10001/chrome/app/generated_resources.grd File chrome/app/generated_resources.grd (right): https://codereview.chromium.org/23506011/diff/10001/chrome/app/generated_resources.grd#newcode13737 chrome/app/generated_resources.grd:13737: + The profile appears to be in use by ...
7 years, 3 months ago (2013-09-04 15:58:03 UTC) #10
palmer
> This won't localize well. Put this into the chromium / chrome grd files. See ...
7 years, 3 months ago (2013-09-04 22:28:06 UTC) #11
Nico
Have you checked the dialog text with chrome-ui-review? it looks a bit wordy https://codereview.chromium.org/23506011/diff/24001/chrome/browser/process_singleton_linux.cc File ...
7 years, 3 months ago (2013-09-04 22:32:58 UTC) #12
palmer
https://codereview.chromium.org/23506011/diff/24001/chrome/browser/process_singleton_linux.cc File chrome/browser/process_singleton_linux.cc (right): https://codereview.chromium.org/23506011/diff/24001/chrome/browser/process_singleton_linux.cc#newcode318 chrome/browser/process_singleton_linux.cc:318: return 0; On 2013/09/04 22:32:59, Nico wrote: > don't ...
7 years, 3 months ago (2013-09-04 23:12:25 UTC) #13
Nico
On 2013/09/04 23:12:25, Chromium Palmer wrote: > https://codereview.chromium.org/23506011/diff/24001/chrome/browser/process_singleton_linux.cc > File chrome/browser/process_singleton_linux.cc (right): > > https://codereview.chromium.org/23506011/diff/24001/chrome/browser/process_singleton_linux.cc#newcode318 ...
7 years, 3 months ago (2013-09-04 23:13:59 UTC) #14
palmer
> Have you checked the dialog text with chrome-ui-review? it looks a bit wordy It's ...
7 years, 3 months ago (2013-09-04 23:20:33 UTC) #15
palmer
> > You are reading it correctly, but that is not the common case for ...
7 years, 3 months ago (2013-09-04 23:23:36 UTC) #16
Nico
On 2013/09/04 23:23:36, Chromium Palmer wrote: > > > You are reading it correctly, but ...
7 years, 3 months ago (2013-09-04 23:32:55 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/palmer@chromium.org/23506011/36001
7 years, 3 months ago (2013-09-09 21:39:29 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/palmer@chromium.org/23506011/39001
7 years, 3 months ago (2013-09-09 22:07:17 UTC) #19
commit-bot: I haz the power
Change committed as 222159
7 years, 3 months ago (2013-09-10 00:51:24 UTC) #20
please use gerrit instead
On 2013/09/10 00:51:24, I haz the power (commit-bot) wrote: > Change committed as 222159 This ...
7 years, 3 months ago (2013-09-10 02:03:50 UTC) #21
please use gerrit instead
7 years, 3 months ago (2013-09-10 02:05:22 UTC) #22
Message was sent while issue was closed.
On 2013/09/10 02:03:50, Rouslan Solomakhin wrote:
> On 2013/09/10 00:51:24, I haz the power (commit-bot) wrote:
> > Change committed as 222159
> 
> This change appears to have broken three unit tests:
> 
> ProcessSingletonLinuxTest.NotifyOtherProcessDifferingHost
> ProcessSingletonLinuxTest.NotifyOtherProcessOrCreate_BadCookie
> ProcessSingletonLinuxTest.NotifyOtherProcessOrCreate_DifferingHost
> 
>
http://build.chromium.org/p/chromium.linux/builders/Linux%2520Tests%2520%2528...
> 
> Please revert, fix, and reland.

Also here:
http://build.chromium.org/p/chromium.linux/builders/Linux%20Clang%20%28dbg%29...

I'll revert.

Powered by Google App Engine
This is Rietveld 408576698