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

Issue 6369008: Fix the newly added OverrideUserAgent net test so that it works in ChromeFram... (Closed)

Created:
9 years, 11 months ago by ananta
Modified:
9 years, 6 months ago
Reviewers:
caseq, wtc
CC:
chromium-reviews, cbentzel+watch_chromium.org, darin-cc_chromium.org, Paweł Hajdan Jr.
Visibility:
Public.

Description

Fix the newly added OverrideUserAgent net test so that it works in ChromeFrame where the chromeframe suffix is added to the outgoing UA. BUG=none TEST=Existing OverideUserAgent test should pass in the regular and ChromeFrame case. R=wtc Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=72228

Patch Set 1 #

Total comments: 4

Patch Set 2 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -1 line) Patch
M net/url_request/url_request_unittest.cc View 1 2 chunks +5 lines, -1 line 0 comments Download

Messages

Total messages: 3 (0 generated)
ananta
9 years, 11 months ago (2011-01-21 21:28:58 UTC) #1
wtc
LGTM. caseq: just FYI, since you added the URLRequestTestHTTP.OverrideUserAgent unit test. http://codereview.chromium.org/6369008/diff/1/net/url_request/url_request_unittest.cc File net/url_request/url_request_unittest.cc (right): ...
9 years, 11 months ago (2011-01-21 22:11:06 UTC) #2
ananta
9 years, 11 months ago (2011-01-21 22:24:05 UTC) #3
http://codereview.chromium.org/6369008/diff/1/net/url_request/url_request_uni...
File net/url_request/url_request_unittest.cc (right):

http://codereview.chromium.org/6369008/diff/1/net/url_request/url_request_uni...
net/url_request/url_request_unittest.cc:27: #include "base/string_util.h"
On 2011/01/21 22:11:06, wtc wrote:
> Nit: this should be listed right after "base/string_piece.h".

Done.

http://codereview.chromium.org/6369008/diff/1/net/url_request/url_request_uni...
net/url_request/url_request_unittest.cc:2673:
EXPECT_TRUE(StartsWithASCII(d.data_received(), "Lynx (textmode)", true));
On 2011/01/21 22:11:06, wtc wrote:
> It would be nice to document the purpose of the StartsWithASCII call (to allow
> the suffix added by Chrome Frame).

Done.

Powered by Google App Engine
This is Rietveld 408576698