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

Unified Diff: chrome/browser/sync/glue/http_bridge_unittest.cc

Issue 8373021: Convert URLFetcher::Delegates to use an interface in content/public/common. Also remove the old U... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: sync and remove unncessary forward declares Created 9 years, 2 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
Index: chrome/browser/sync/glue/http_bridge_unittest.cc
===================================================================
--- chrome/browser/sync/glue/http_bridge_unittest.cc (revision 106929)
+++ chrome/browser/sync/glue/http_bridge_unittest.cc (working copy)
@@ -129,9 +129,11 @@
std::string response_content = "success!";
DummyURLFetcher fetcher;
- OnURLFetchComplete(&fetcher, GURL("www.google.com"),
- net::URLRequestStatus(),
- 200, cookies, response_content);
+ fetcher.set_url(GURL("www.google.com"));
+ fetcher.set_response_code(200);
+ fetcher.set_cookies(cookies);
+ fetcher.SetResponseString(response_content);
+ OnURLFetchComplete(&fetcher);
}
HttpBridgeTest* test_;
bool never_finishes_;

Powered by Google App Engine
This is Rietveld 408576698