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

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

Issue 8416020: Handle additional feedback from http://codereview.chromium.org/8395038/. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' 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 107626)
+++ chrome/browser/sync/glue/http_bridge_unittest.cc (working copy)
@@ -88,15 +88,6 @@
MessageLoop loop_;
};
-class DummyURLFetcher : public TestURLFetcher {
- public:
- DummyURLFetcher() : TestURLFetcher(0, GURL(), POST, NULL) {}
-
- net::HttpResponseHeaders* GetResponseHeaders() const {
- return NULL;
- }
-};
-
// An HttpBridge that doesn't actually make network requests and just calls
// back with dummy response info.
class ShuntedHttpBridge : public HttpBridge {
@@ -128,7 +119,7 @@
net::ResponseCookies cookies;
std::string response_content = "success!";
- DummyURLFetcher fetcher;
+ TestURLFetcher fetcher(0, GURL(), NULL);
fetcher.set_url(GURL("www.google.com"));
fetcher.set_response_code(200);
fetcher.set_cookies(cookies);

Powered by Google App Engine
This is Rietveld 408576698