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 |