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

Issue 2737283002: xdg-settings: add secondary check in GetIsDefaultWebClient (Closed)

Created:
3 years, 9 months ago by Tom (Use chromium acct)
Modified:
3 years, 9 months ago
CC:
chromium-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

xdg-settings: add secondary check in GetIsDefaultWebClient This CL fixes an issue where Chrome would display a banner saying that it was not the default browser when it actually was. The cause of this was 'xdg-settings check default-web-browser google-chrome.desktop' returning 'no' when Chrome might have been the default (see further explanation in the CL comments). BUG=578888 R=thestig@chromium.org Review-Url: https://codereview.chromium.org/2737283002 Cr-Commit-Position: refs/heads/master@{#456224} Committed: https://chromium.googlesource.com/chromium/src/+/dece487a37276f1043d8092acd01a761ec99c17e

Patch Set 1 #

Total comments: 8

Patch Set 2 : Address thestig@'s comments #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+53 lines, -22 lines) Patch
M chrome/browser/shell_integration_linux.cc View 1 4 chunks +53 lines, -22 lines 1 comment Download

Messages

Total messages: 16 (7 generated)
Tom (Use chromium acct)
thestig@ ptal
3 years, 9 months ago (2017-03-09 01:44:29 UTC) #4
Lei Zhang
Looks ok, but +mdm who wrote xdg-settings and may be able to comment on the ...
3 years, 9 months ago (2017-03-10 02:04:45 UTC) #6
Tom (Use chromium acct)
https://codereview.chromium.org/2737283002/diff/20001/chrome/browser/shell_integration_linux.cc File chrome/browser/shell_integration_linux.cc (right): https://codereview.chromium.org/2737283002/diff/20001/chrome/browser/shell_integration_linux.cc#newcode200 chrome/browser/shell_integration_linux.cc:200: // xdg-settings failed: we can't determine or set the ...
3 years, 9 months ago (2017-03-10 02:25:45 UTC) #7
Lei Zhang
lgtm
3 years, 9 months ago (2017-03-10 02:27:34 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2737283002/40001
3 years, 9 months ago (2017-03-10 23:14:18 UTC) #10
commit-bot: I haz the power
Committed patchset #2 (id:40001) as https://chromium.googlesource.com/chromium/src/+/dece487a37276f1043d8092acd01a761ec99c17e
3 years, 9 months ago (2017-03-11 00:11:49 UTC) #13
Mike Mammarella
https://codereview.chromium.org/2737283002/diff/40001/chrome/browser/shell_integration_linux.cc File chrome/browser/shell_integration_linux.cc (right): https://codereview.chromium.org/2737283002/diff/40001/chrome/browser/shell_integration_linux.cc#newcode221 chrome/browser/shell_integration_linux.cc:221: // An output of "no" does not necessarily mean ...
3 years, 9 months ago (2017-03-11 03:05:04 UTC) #14
Mike Mammarella
On 2017/03/11 03:05:04, Mike Mammarella wrote: > https://codereview.chromium.org/2737283002/diff/40001/chrome/browser/shell_integration_linux.cc > File chrome/browser/shell_integration_linux.cc (right): > > https://codereview.chromium.org/2737283002/diff/40001/chrome/browser/shell_integration_linux.cc#newcode221 ...
3 years, 9 months ago (2017-03-15 22:51:22 UTC) #15
Tom (Use chromium acct)
3 years, 9 months ago (2017-03-15 22:54:24 UTC) #16
Message was sent while issue was closed.
A revert of this CL (patchset #2 id:40001) has been created in
https://codereview.chromium.org/2751233002/ by thomasanderson@google.com.

The reason for reverting is: mdm@ says this is the wrong approach.

Powered by Google App Engine
This is Rietveld 408576698