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

Unified Diff: chrome/common/net/test_url_fetcher_factory.cc

Issue 6250198: More out-of-lining of test code, along with a bunch of GMOCK objects. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Really fix the gyp files this time Created 9 years, 10 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/common/net/test_url_fetcher_factory.cc
diff --git a/chrome/common/net/test_url_fetcher_factory.cc b/chrome/common/net/test_url_fetcher_factory.cc
index af65eb95c0e9a1e3712103e02c6ce08d30075521..869e9be5bbb06ac1c39f4d1b2b486043a40a48b1 100644
--- a/chrome/common/net/test_url_fetcher_factory.cc
+++ b/chrome/common/net/test_url_fetcher_factory.cc
@@ -19,6 +19,10 @@ TestURLFetcher::TestURLFetcher(int id,
original_url_(url) {
}
+TestURLFetcherFactory::TestURLFetcherFactory() {}
+
+TestURLFetcherFactory::~TestURLFetcherFactory() {}
+
URLFetcher* TestURLFetcherFactory::CreateURLFetcher(
int id,
const GURL& url,
@@ -87,6 +91,10 @@ class FakeURLFetcher : public URLFetcher {
DISALLOW_COPY_AND_ASSIGN(FakeURLFetcher);
};
+FakeURLFetcherFactory::FakeURLFetcherFactory() {}
+
+FakeURLFetcherFactory::~FakeURLFetcherFactory() {}
+
URLFetcher* FakeURLFetcherFactory::CreateURLFetcher(
int id,
const GURL& url,

Powered by Google App Engine
This is Rietveld 408576698