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

Issue 546100: Remove gtest_prod.h include from JSONReader. (Closed)

Created:
10 years, 11 months ago by Daniel Erat
Modified:
9 years, 7 months ago
Reviewers:
tony, Evan Martin
CC:
chromium-reviews_googlegroups.com, brettw+cc_chromium.org
Visibility:
Public.

Description

Remove gtest_prod.h include from JSONReader. I'd like to build this code for Chrome OS, but the gtest include path is different there. I'm removing the include and adding the FRIEND_TEST() macro directly to json_reader.h. BUG=none TEST=compiled Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=36775

Patch Set 1 #

Total comments: 2

Patch Set 2 : include FRIEND_TEST() macro directly #

Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -1 line) Patch
M base/json/json_reader.h View 1 1 chunk +6 lines, -1 line 0 comments Download

Messages

Total messages: 5 (0 generated)
Daniel Erat
The DISABLE_GTEST name was chosen arbitrarily; let me know if you think it's too hacky ...
10 years, 11 months ago (2010-01-21 02:09:37 UTC) #1
tony
http://codereview.chromium.org/546100/diff/1/2 File base/json/json_reader.h (right): http://codereview.chromium.org/546100/diff/1/2#newcode133 base/json/json_reader.h:133: FRIEND_TEST(JSONReaderTest, Reading); Can you remove the header completely and ...
10 years, 11 months ago (2010-01-21 02:13:13 UTC) #2
Evan Martin
http://codereview.chromium.org/546100/diff/1/2 File base/json/json_reader.h (right): http://codereview.chromium.org/546100/diff/1/2#newcode133 base/json/json_reader.h:133: FRIEND_TEST(JSONReaderTest, Reading); On 2010/01/21 02:13:13, tony wrote: > Can ...
10 years, 11 months ago (2010-01-21 02:26:52 UTC) #3
Daniel Erat
On 2010/01/21 02:26:52, Evan Martin wrote: > http://codereview.chromium.org/546100/diff/1/2 > File base/json/json_reader.h (right): > > http://codereview.chromium.org/546100/diff/1/2#newcode133 ...
10 years, 11 months ago (2010-01-21 18:20:02 UTC) #4
Evan Martin
10 years, 11 months ago (2010-01-21 18:43:51 UTC) #5
LGTM

Powered by Google App Engine
This is Rietveld 408576698