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 #include "net/url_request/url_fetcher_delegate.h" | 9 #include "net/url_request/url_fetcher_delegate.h" |
10 | 10 |
11 namespace content { | 11 namespace content { |
12 | 12 |
13 // TODO(akalin): Update all users of URLFetcherDelegate to use | 13 // TODO(akalin): Update all users of URLFetcherDelegate to use |
14 // net::URLFetcherDelegate and remove this file. | 14 // net::URLFetcherDelegate and remove this file. |
15 | 15 |
16 class URLFetcher; | 16 class URLFetcher; |
17 | 17 |
18 // We inherit from net::URLFetcherDelegate so that we can still | 18 // We inherit from net::URLFetcherDelegate so that we can still |
19 // forward-declare URLFetcherDelegate (which we can't do with a | 19 // forward-declare URLFetcherDelegate (which we can't do with a |
20 // typedef). | 20 // typedef). |
21 class URLFetcherDelegate : public net::URLFetcherDelegate {}; | 21 class URLFetcherDelegate : public net::URLFetcherDelegate { |
| 22 protected: |
| 23 virtual ~URLFetcherDelegate() {} |
| 24 }; |
22 | 25 |
23 } // namespace content | 26 } // namespace content |
24 | 27 |
25 #endif // CONTENT_PUBLIC_COMMON_URL_FETCHER_DELEGATE_H_ | 28 #endif // CONTENT_PUBLIC_COMMON_URL_FETCHER_DELEGATE_H_ |
OLD | NEW |