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_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 | |
8 | 7 |
9 #include "content/common/content_export.h" | 8 #include "content/common/content_export.h" |
10 | 9 |
11 class GURL; | 10 class GURL; |
12 | 11 |
13 namespace net { | 12 namespace net { |
14 class URLFetcher; | 13 class URLFetcher; |
15 } // namespace | 14 } // namespace |
16 | 15 |
17 namespace content { | 16 namespace content { |
18 | 17 |
19 // Mark URLRequests started by the URLFetcher to stem from the given render | 18 // Mark URLRequests started by the URLFetcher to stem from the given render |
20 // view. | 19 // view. |
21 CONTENT_EXPORT void AssociateURLFetcherWithRenderView( | 20 CONTENT_EXPORT void AssociateURLFetcherWithRenderView( |
22 net::URLFetcher* url_fetcher, | 21 net::URLFetcher* url_fetcher, |
23 const GURL& first_party_for_cookies, | 22 const GURL& first_party_for_cookies, |
24 int render_process_id, | 23 int render_process_id, |
25 int render_view_id); | 24 int render_view_id); |
26 | 25 |
27 } // namespace content | 26 } // namespace content |
28 | 27 |
29 #endif // CONTENT_PUBLIC_COMMON_URL_FETCHER_H_ | 28 #endif // CONTENT_PUBLIC_COMMON_URL_FETCHER_H_ |
OLD | NEW |