OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CONTENT_PUBLIC_COMMON_URL_FETCHER_DELEGATE_H_ | 5 #ifndef CONTENT_PUBLIC_COMMON_URL_FETCHER_DELEGATE_H_ |
6 #define CONTENT_PUBLIC_COMMON_URL_FETCHER_DELEGATE_H_ | 6 #define CONTENT_PUBLIC_COMMON_URL_FETCHER_DELEGATE_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
| 9 // TODO(akalin): Remove this file once rlz is updated to use |
| 10 // net::URLFetcherDelegate. |
| 11 |
| 12 #ifndef RLZ_LIB_FINANCIAL_PING_H_ |
| 13 #error Only rlz/lib/financial_ping.h should include this file |
| 14 #endif |
| 15 |
9 #include "net/url_request/url_fetcher_delegate.h" | 16 #include "net/url_request/url_fetcher_delegate.h" |
10 | 17 |
11 namespace content { | 18 namespace content { |
12 | 19 |
13 // TODO(akalin): Update all users of URLFetcherDelegate to use | 20 typedef net::URLFetcherDelegate URLFetcherDelegate; |
14 // net::URLFetcherDelegate and remove this file. | |
15 | |
16 class URLFetcher; | |
17 | |
18 // We inherit from net::URLFetcherDelegate so that we can still | |
19 // forward-declare URLFetcherDelegate (which we can't do with a | |
20 // typedef). | |
21 class URLFetcherDelegate : public net::URLFetcherDelegate {}; | |
22 | 21 |
23 } // namespace content | 22 } // namespace content |
24 | 23 |
25 #endif // CONTENT_PUBLIC_COMMON_URL_FETCHER_DELEGATE_H_ | 24 #endif // CONTENT_PUBLIC_COMMON_URL_FETCHER_DELEGATE_H_ |
OLD | NEW |