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

Issue 7972011: Fix checking default protocol client on Linux (Closed)

Created:
9 years, 3 months ago by benwells
Modified:
9 years, 3 months ago
CC:
chromium-reviews
Visibility:
Public.

Description

Fix checking default protocol client on Linux When getting the default protocol client using the system xdg-settings tool fails, Chrome tries to use its own. The constant script name it looked for was mistyped (as xdg_settings) which meant this would always fail. This code path is not currently used by Chrome but will be soon. TEST=Check setting Chrome as default browser on Linux works; check registering Chrome to handle protocols works. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=102079

Patch Set 1 #

Total comments: 2

Patch Set 2 : Update for feedback #

Unified diffs Side-by-side diffs Delta from patch set Stats (+16 lines, -12 lines) Patch
M chrome/browser/shell_integration_linux.cc View 1 6 chunks +16 lines, -12 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
benwells
While here I added a couple of other constants for other string literals used in ...
9 years, 3 months ago (2011-09-20 06:54:13 UTC) #1
Evan Martin
LGTM http://codereview.chromium.org/7972011/diff/1/chrome/browser/shell_integration_linux.cc File chrome/browser/shell_integration_linux.cc (right): http://codereview.chromium.org/7972011/diff/1/chrome/browser/shell_integration_linux.cc#newcode229 chrome/browser/shell_integration_linux.cc:229: const char* kXdgSettingsDefaultSchemeHandler = "default-url-scheme-handler"; Minor nit: can ...
9 years, 3 months ago (2011-09-20 14:45:51 UTC) #2
Evan Martin
LGTM
9 years, 3 months ago (2011-09-20 14:47:17 UTC) #3
benwells
Nit addressed; will commit. http://codereview.chromium.org/7972011/diff/1/chrome/browser/shell_integration_linux.cc File chrome/browser/shell_integration_linux.cc (right): http://codereview.chromium.org/7972011/diff/1/chrome/browser/shell_integration_linux.cc#newcode229 chrome/browser/shell_integration_linux.cc:229: const char* kXdgSettingsDefaultSchemeHandler = "default-url-scheme-handler"; ...
9 years, 3 months ago (2011-09-20 23:09:02 UTC) #4
commit-bot: I haz the power
Change committed as 102079
9 years, 3 months ago (2011-09-21 03:08:47 UTC) #5
Mike Mammarella
9 years, 3 months ago (2011-09-21 07:05:01 UTC) #6
(late) LGTM

Powered by Google App Engine
This is Rietveld 408576698