url_fetcher.h revision 5d1f7b1de12d16ceb2c938c56701a3e8bfa558f7
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 10class GURL; 11 12namespace net { 13class URLFetcher; 14} // namespace 15 16namespace content { 17 18// Mark URLRequests started by the URLFetcher to stem from the given render 19// frame. 20CONTENT_EXPORT void AssociateURLFetcherWithRenderFrame( 21 net::URLFetcher* url_fetcher, 22 const GURL& first_party_for_cookies, 23 int render_process_id, 24 int render_frame_id); 25 26} // namespace content 27 28#endif // CONTENT_PUBLIC_COMMON_URL_FETCHER_H_ 29