Make sure webrtc::VideoSourceInterface is released on the main render thread.
[chromium-blink-merge.git] / content / public / common / url_fetcher.h
blob901e7655177c9561e506df69a33c23b71e0c8839
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.
5 #ifndef CONTENT_PUBLIC_COMMON_URL_FETCHER_H_
6 #define CONTENT_PUBLIC_COMMON_URL_FETCHER_H_
8 #include "content/common/content_export.h"
10 class GURL;
12 namespace net {
13 class URLFetcher;
14 } // namespace
16 namespace content {
18 // Mark URLRequests started by the URLFetcher to stem from the given render
19 // frame.
20 CONTENT_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);
26 } // namespace content
28 #endif // CONTENT_PUBLIC_COMMON_URL_FETCHER_H_