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

Issue 1701005: bsd: refactor XDG bits of linux_util into a shared file. (Closed)

Created:
10 years, 8 months ago by Evan Martin
Modified:
9 years, 7 months ago
CC:
chromium-reviews, cbentzel+watch_chromium.org, ben+cc_chromium.org, John Grabowski, brettw-cc_chromium.org, pam+watch_chromium.org, Paweł Hajdan Jr., darin-cc_chromium.org
Visibility:
Public.

Description

bsd: refactor XDG bits of linux_util into a shared file. This allows the shared code to build on the BSDs without them needing to build _linux files. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=45380

Patch Set 1 #

Total comments: 7
Unified diffs Side-by-side diffs Delta from patch set Stats (+176 lines, -136 lines) Patch
M app/gtk_util.cc View 1 chunk +1 line, -1 line 0 comments Download
M base/base.gyp View 1 chunk +1 line, -1 line 1 comment Download
M base/base.gypi View 3 chunks +4 lines, -1 line 0 comments Download
M base/base_paths_posix.cc View 1 chunk +1 line, -1 line 0 comments Download
M base/file_util.h View 1 chunk +4 lines, -0 lines 0 comments Download
M base/file_util_posix.cc View 2 chunks +19 lines, -0 lines 2 comments Download
M base/linux_util.h View 1 chunk +0 lines, -39 lines 0 comments Download
M base/linux_util.cc View 3 chunks +0 lines, -87 lines 0 comments Download
A + base/mime_util_xdg.cc View 0 chunks +-1 lines, --1 lines 0 comments Download
A base/xdg_util.h View 1 chunk +56 lines, -0 lines 3 comments Download
A base/xdg_util.cc View 1 chunk +83 lines, -0 lines 0 comments Download
A + base/xdg_util_unittest.cc View 1 chunk +1 line, -1 line 1 comment Download
M build/common.gypi View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/gtk/gtk_theme_provider.cc View 1 chunk +1 line, -1 line 0 comments Download
chrome/browser/gtk/options/advanced_contents_gtk.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/common/chrome_paths_linux.cc View 2 chunks +3 lines, -2 lines 0 comments Download
M net/proxy/proxy_config_service_linux.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 5 (0 generated)
Evan Martin
10 years, 8 months ago (2010-04-22 22:36:04 UTC) #1
willchan no longer on Chromium
LGTM http://codereview.chromium.org/1701005/diff/1/3 File base/base.gyp (right): http://codereview.chromium.org/1701005/diff/1/3#newcode174 base/base.gyp:174: 'xdg_util_unittest.cc', It's unfortunate your changelist didn't show the ...
10 years, 8 months ago (2010-04-22 23:01:17 UTC) #2
Evan Martin
http://codereview.chromium.org/1701005/diff/1/12 File base/xdg_util.h (right): http://codereview.chromium.org/1701005/diff/1/12#newcode8 base/xdg_util.h:8: // XDG refers to http://en.wikipedia.org/wiki/Freedesktop.org . Because it's not ...
10 years, 8 months ago (2010-04-22 23:17:40 UTC) #3
Evan Martin
+sprewell FYI
10 years, 8 months ago (2010-04-22 23:24:31 UTC) #4
willchan no longer on Chromium
10 years, 8 months ago (2010-04-22 23:26:24 UTC) #5
http://codereview.chromium.org/1701005/diff/1/12
File base/xdg_util.h (right):

http://codereview.chromium.org/1701005/diff/1/12#newcode8
base/xdg_util.h:8: // XDG refers to http://en.wikipedia.org/wiki/Freedesktop.org
.
On 2010/04/22 23:17:40, Evan Martin wrote:
> Because it's not part of the URL

Interesting, I haven't seen this done before.  Doing a grep (git gs "http://" |
grep "// ") through the code base, I see several instances where there is no
space between the URL and the '.', and none to the contrary.  My grep isn't
super accurate, but my very very rough heuristic is this is the less common
convention.  Not a big deal though.

Powered by Google App Engine
This is Rietveld 408576698