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

Unified Diff: components/search_provider_logos/logo_tracker_unittest.cc

Issue 587943003: Fix doodle verification URL. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/search_provider_logos/google_logo_api.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/search_provider_logos/logo_tracker_unittest.cc
diff --git a/components/search_provider_logos/logo_tracker_unittest.cc b/components/search_provider_logos/logo_tracker_unittest.cc
index c32df2afd8b0b3f027b4836a6c69c3e31f3d1e6b..d3dccbec2b0cdc7ad6b6940df6c92f4f986843ba 100644
--- a/components/search_provider_logos/logo_tracker_unittest.cc
+++ b/components/search_provider_logos/logo_tracker_unittest.cc
@@ -371,8 +371,8 @@ void LogoTrackerTest::SetServerResponseWhenFingerprint(
const std::string& response_when_fingerprint,
net::URLRequestStatus::Status request_status,
net::HttpStatusCode response_code) {
- GURL url_with_fp =
- net::AppendQueryParameter(logo_url_, "async", "es_dfp:" + fingerprint);
+ GURL url_with_fp = net::AppendQueryParameter(logo_url_, "async", "es_dfp");
+ url_with_fp = GURL(url_with_fp.spec() + ":" + fingerprint);
mmenke 2014/09/23 21:16:17 This seems really ugly. You're basically relying
fake_url_fetcher_factory_.SetFakeResponse(
url_with_fp, response_when_fingerprint, response_code, request_status);
}
« no previous file with comments | « components/search_provider_logos/google_logo_api.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698