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

Issue 12386077: shell_integration_linux: Follow the XDG Base Directory Specification. (Closed)

Created:
7 years, 9 months ago by Matt Giuca
Modified:
7 years, 9 months ago
CC:
chromium-reviews, benwells, chrome-apps-syd-reviews_chromium.org
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

shell_integration_linux: Follow the XDG Base Directory Specification. GetDesktopShortcutTemplate now: - Searches $XDG_DATA_HOME/applications instead of $XDG_DATA_HOME. - If $XDG_DATA_HOME is not found, falls back to $HOME/.local/share/applications. - No longer searches $XDG_DATA_DIRS (without /applications). - Only searches /usr/local/share/applications and /usr/share/applications if $XDG_DATA_DIRS is not found. - Searches /usr/local/share/applications before /usr/share/applications. BUG=179751 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=186351

Patch Set 1 #

Total comments: 2

Patch Set 2 : Added link to XDG spec. #

Total comments: 3

Patch Set 3 : Swap /usr/share and /usr/local/share to match the spec. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+52 lines, -16 lines) Patch
M chrome/browser/shell_integration_linux.cc View 1 2 2 chunks +10 lines, -7 lines 0 comments Download
M chrome/browser/shell_integration_unittest.cc View 3 chunks +42 lines, -9 lines 0 comments Download

Messages

Total messages: 17 (0 generated)
Matt Giuca
7 years, 9 months ago (2013-03-04 02:33:22 UTC) #1
benwells
https://codereview.chromium.org/12386077/diff/1/chrome/browser/shell_integration_linux.cc File chrome/browser/shell_integration_linux.cc (right): https://codereview.chromium.org/12386077/diff/1/chrome/browser/shell_integration_linux.cc#newcode466 chrome/browser/shell_integration_linux.cc:466: // Search paths as specified in the XDG Base ...
7 years, 9 months ago (2013-03-04 03:58:26 UTC) #2
benwells
+mdm who can review instead of me. I'm a noob when it comes to linux, ...
7 years, 9 months ago (2013-03-04 04:00:18 UTC) #3
Matt Giuca
https://codereview.chromium.org/12386077/diff/1/chrome/browser/shell_integration_linux.cc File chrome/browser/shell_integration_linux.cc (right): https://codereview.chromium.org/12386077/diff/1/chrome/browser/shell_integration_linux.cc#newcode466 chrome/browser/shell_integration_linux.cc:466: // Search paths as specified in the XDG Base ...
7 years, 9 months ago (2013-03-04 04:18:26 UTC) #4
sky
I'm not really a good one for this. Maybe erg or derat.
7 years, 9 months ago (2013-03-04 04:27:30 UTC) #5
Daniel Erat
LGTM with a comment, but adding Paweł since it looks like he might've written this ...
7 years, 9 months ago (2013-03-04 15:45:48 UTC) #6
Mike Mammarella
The main thing I'd worry about here is whether the current behavior might be intentional ...
7 years, 9 months ago (2013-03-04 18:35:54 UTC) #7
Paweł Hajdan Jr.
LGTM with a comment. https://codereview.chromium.org/12386077/diff/6001/chrome/browser/shell_integration_linux.cc File chrome/browser/shell_integration_linux.cc (right): https://codereview.chromium.org/12386077/diff/6001/chrome/browser/shell_integration_linux.cc#newcode488 chrome/browser/shell_integration_linux.cc:488: search_paths.push_back(base::FilePath("/usr/local/share")); On 2013/03/04 15:45:49, Daniel ...
7 years, 9 months ago (2013-03-04 18:38:06 UTC) #8
Matt Giuca
On 2013/03/04 18:35:54, Mike Mammarella wrote: > The main thing I'd worry about here is ...
7 years, 9 months ago (2013-03-04 23:03:11 UTC) #9
Mike Mammarella
OK, LGTM then.
7 years, 9 months ago (2013-03-04 23:05:06 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mgiuca@chromium.org/12386077/10002
7 years, 9 months ago (2013-03-05 02:08:55 UTC) #11
commit-bot: I haz the power
Presubmit check for 12386077-10002 failed and returned exit status 1. INFO:root:Found 2 file(s). Running presubmit ...
7 years, 9 months ago (2013-03-05 02:08:58 UTC) #12
Matt Giuca
Hey sky, I think I have enough consensus now. Can I have an LGTM from ...
7 years, 9 months ago (2013-03-05 02:54:00 UTC) #13
Matt Giuca
On 2013/03/05 02:54:00, Matt Giuca wrote: > Hey sky, I think I have enough consensus ...
7 years, 9 months ago (2013-03-05 23:18:26 UTC) #14
sky
Rubber stamp LGTM
7 years, 9 months ago (2013-03-05 23:48:04 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mgiuca@chromium.org/12386077/10002
7 years, 9 months ago (2013-03-05 23:58:54 UTC) #16
commit-bot: I haz the power
7 years, 9 months ago (2013-03-06 04:12:37 UTC) #17
Message was sent while issue was closed.
Change committed as 186351

Powered by Google App Engine
This is Rietveld 408576698