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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
« 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 »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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_
OLDNEW
« 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