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

Unified Diff: chrome/browser/policy/testing_policy_url_fetcher_factory.h

Issue 8395038: Make test URLFetcher implementations not derive from the URLFetcher implementation, since we want... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: move factory to its own file and remove Create function from URLFetcher impl 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/policy/testing_policy_url_fetcher_factory.h
===================================================================
--- chrome/browser/policy/testing_policy_url_fetcher_factory.h (revision 107268)
+++ chrome/browser/policy/testing_policy_url_fetcher_factory.h (working copy)
@@ -29,16 +29,16 @@
// Creates mock URLFetchers whose behavior can be controlled in tests. To do so
// set mock expectations on the method |Intercept|.
-class TestingPolicyURLFetcherFactory : public URLFetcher::Factory,
+class TestingPolicyURLFetcherFactory : public content::URLFetcherFactory,
public ScopedURLFetcherFactory {
public:
explicit TestingPolicyURLFetcherFactory(EventLogger* logger);
virtual ~TestingPolicyURLFetcherFactory();
- virtual URLFetcher* CreateURLFetcher(
+ virtual content::URLFetcher* CreateURLFetcher(
int id,
const GURL& url,
- URLFetcher::RequestType request_type,
+ content::URLFetcher::RequestType request_type,
content::URLFetcherDelegate* delegate) OVERRIDE;
LoggingWorkScheduler* scheduler();

Powered by Google App Engine
This is Rietveld 408576698