blob: 901e7655177c9561e506df69a33c23b71e0c8839 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CONTENT_PUBLIC_COMMON_URL_FETCHER_H_
#define CONTENT_PUBLIC_COMMON_URL_FETCHER_H_
#include "content/common/content_export.h"
class GURL;
namespace net {
class URLFetcher;
} // namespace
namespace content {
// Mark URLRequests started by the URLFetcher to stem from the given render
// frame.
CONTENT_EXPORT void AssociateURLFetcherWithRenderFrame(
net::URLFetcher* url_fetcher,
const GURL& first_party_for_cookies,
int render_process_id,
int render_frame_id);
} // namespace content
#endif // CONTENT_PUBLIC_COMMON_URL_FETCHER_H_
|