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

Unified Diff: content/browser/appcache/appcache_update_job_unittest.cc

Issue 2481923002: [WIP] make GURL::path() return a StringPiece (Closed)
Patch Set: thanks asan Created 4 years, 1 month 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
Index: content/browser/appcache/appcache_update_job_unittest.cc
diff --git a/content/browser/appcache/appcache_update_job_unittest.cc b/content/browser/appcache/appcache_update_job_unittest.cc
index bff0c88ad5e7ff66a9194e8bbab2eea948d41bee..69649a36b0cba47389d0fe4ebbcaa82c801de111 100644
--- a/content/browser/appcache/appcache_update_job_unittest.cc
+++ b/content/browser/appcache/appcache_update_job_unittest.cc
@@ -76,7 +76,7 @@ class MockHttpServer {
return new net::URLRequestErrorJob(request, network_delegate, -100);
std::string headers, body;
- GetMockResponse(request->url().path(), &headers, &body);
+ GetMockResponse(request->url().path().as_string(), &headers, &body);
return new net::URLRequestTestJob(
request, network_delegate, headers, body, true);
}
« no previous file with comments | « content/browser/appcache/appcache_storage_impl_unittest.cc ('k') | content/browser/find_request_manager_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698