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

Unified Diff: content/public/common/url_fetcher_delegate.h

Issue 10392192: Remove content::URLFetcherDelegate (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: More cleanup Created 8 years, 7 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
« no previous file with comments | « content/public/common/url_fetcher.h ('k') | content/public/common/url_fetcher_factory.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/common/url_fetcher_delegate.h
diff --git a/content/public/common/url_fetcher_delegate.h b/content/public/common/url_fetcher_delegate.h
index c46ee1777a938b484527467ee2c764fe9a3a90c5..f328a307e3f9922ce727ca1a79fd045d2815b97a 100644
--- a/content/public/common/url_fetcher_delegate.h
+++ b/content/public/common/url_fetcher_delegate.h
@@ -6,19 +6,18 @@
#define CONTENT_PUBLIC_COMMON_URL_FETCHER_DELEGATE_H_
#pragma once
-#include "net/url_request/url_fetcher_delegate.h"
+// TODO(akalin): Remove this file once rlz is updated to use
+// net::URLFetcherDelegate.
-namespace content {
+#ifndef RLZ_LIB_FINANCIAL_PING_H_
+#error Only rlz/lib/financial_ping.h should include this file
+#endif
-// TODO(akalin): Update all users of URLFetcherDelegate to use
-// net::URLFetcherDelegate and remove this file.
+#include "net/url_request/url_fetcher_delegate.h"
-class URLFetcher;
+namespace content {
-// We inherit from net::URLFetcherDelegate so that we can still
-// forward-declare URLFetcherDelegate (which we can't do with a
-// typedef).
-class URLFetcherDelegate : public net::URLFetcherDelegate {};
+typedef net::URLFetcherDelegate URLFetcherDelegate;
} // namespace content
« no previous file with comments | « content/public/common/url_fetcher.h ('k') | content/public/common/url_fetcher_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698