• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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
3 // found in the LICENSE file.
4 
5 #ifndef CONTENT_PUBLIC_COMMON_URL_FETCHER_H_
6 #define CONTENT_PUBLIC_COMMON_URL_FETCHER_H_
7 
8 #include "content/common/content_export.h"
9 
10 class GURL;
11 
12 namespace net {
13 class URLFetcher;
14 }  // namespace
15 
16 namespace content {
17 
18 // Mark URLRequests started by the URLFetcher to stem from the given render
19 // view.
20 CONTENT_EXPORT void AssociateURLFetcherWithRenderView(
21     net::URLFetcher* url_fetcher,
22     const GURL& first_party_for_cookies,
23     int render_process_id,
24     int render_view_id);
25 
26 }  // namespace content
27 
28 #endif  // CONTENT_PUBLIC_COMMON_URL_FETCHER_H_
29