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

Side by Side Diff: content/public/common/url_fetcher.h

Issue 10577015: roll rlz 130:132 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 132 Created 8 years, 6 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/content_common.gypi ('k') | content/public/common/url_fetcher_delegate.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_H_ 5 #ifndef CONTENT_PUBLIC_COMMON_URL_FETCHER_H_
6 #define CONTENT_PUBLIC_COMMON_URL_FETCHER_H_ 6 #define CONTENT_PUBLIC_COMMON_URL_FETCHER_H_
7 #pragma once 7 #pragma once
8 8
9 #include "content/common/content_export.h" 9 #include "content/common/content_export.h"
10 10
11 // TODO(akalin): Remove this block once rlz is updated to use
12 // url_fetcher.h from net/.
13 #ifdef RLZ_LIB_FINANCIAL_PING_H_
14
15 #include "net/url_request/url_fetcher.h"
16
17 #endif
18
19 class GURL; 11 class GURL;
20 12
21 namespace net { 13 namespace net {
22 class URLFetcher; 14 class URLFetcher;
23 } // namespace 15 } // namespace
24 16
25 namespace content { 17 namespace content {
26 18
27 // TODO(akalin): Remove this block once rlz is updated to use
28 // url_fetcher.h from net/.
29 #ifdef RLZ_LIB_FINANCIAL_PING_H_
30
31 namespace URLFetcher {
32
33 CONTENT_EXPORT net::URLFetcher* Create(
34 const GURL& url,
35 net::URLFetcher::RequestType request_type,
36 net::URLFetcherDelegate* d);
37
38 } // namespace URLFetcher
39
40 #endif // RLZ_LIB_FINANCIAL_PING_H_
41
42 // Mark URLRequests started by the URLFetcher to stem from the given render 19 // Mark URLRequests started by the URLFetcher to stem from the given render
43 // view. 20 // view.
44 CONTENT_EXPORT void AssociateURLFetcherWithRenderView( 21 CONTENT_EXPORT void AssociateURLFetcherWithRenderView(
45 net::URLFetcher* url_fetcher, 22 net::URLFetcher* url_fetcher,
46 const GURL& first_party_for_cookies, 23 const GURL& first_party_for_cookies,
47 int render_process_id, 24 int render_process_id,
48 int render_view_id); 25 int render_view_id);
49 26
50 } // namespace content 27 } // namespace content
51 28
52 #endif // CONTENT_PUBLIC_COMMON_URL_FETCHER_H_ 29 #endif // CONTENT_PUBLIC_COMMON_URL_FETCHER_H_
OLDNEW
« no previous file with comments | « content/content_common.gypi ('k') | content/public/common/url_fetcher_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698