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

Issue 897003: set resource loading path relative to the executable (Closed)

Created:
10 years, 9 months ago by piman
Modified:
9 years, 7 months ago
CC:
chromium-os-reviews_chromium.org
Visibility:
Public.

Description

set resource loading path relative to the executable

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+18 lines, -2 lines) Patch
M client/deps/glbench/src/main.cc View 1 chunk +1 line, -0 lines 0 comments Download
M client/deps/glbench/src/utils.h View 1 chunk +1 line, -0 lines 0 comments Download
M client/deps/glbench/src/utils.cc View 1 chunk +16 lines, -2 lines 2 comments Download

Messages

Total messages: 3 (0 generated)
piman
Note: this depends on http://codereview.chromium.org/862004
10 years, 9 months ago (2010-03-12 03:49:00 UTC) #1
Alexey Marinichev
LGTM except for couple spaces. http://codereview.chromium.org/897003/diff/1/3 File client/deps/glbench/src/utils.cc (right): http://codereview.chromium.org/897003/diff/1/3#newcode20 client/deps/glbench/src/utils.cc:20: void SetBasePathFromArgv0(const char* argv0, ...
10 years, 9 months ago (2010-03-12 19:22:59 UTC) #2
piman
10 years, 9 months ago (2010-03-12 19:29:31 UTC) #3
On 2010/03/12 19:22:59, Alexey Marinichev wrote:
> LGTM except for couple spaces.
> 
> http://codereview.chromium.org/897003/diff/1/3
> File client/deps/glbench/src/utils.cc (right):
> 
> http://codereview.chromium.org/897003/diff/1/3#newcode20
> client/deps/glbench/src/utils.cc:20: void SetBasePathFromArgv0(const char*
> argv0, const char* relative) {
> Everywhere else, including line 17, pointers are declared with space before
> star.
> 
> http://codereview.chromium.org/897003/diff/1/3#newcode29
> client/deps/glbench/src/utils.cc:29: void *MmapFile(const char* name, size_t*
> length) {
> Same thing here.

http://dev.chromium.org/developers/coding-style
stars go on the left in chromium code.

Powered by Google App Engine
This is Rietveld 408576698