Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(88)

Side by Side Diff: webkit/plugins/ppapi/url_request_info_util.h

Issue 10913257: Convert url request info to new proxy API. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merge Created 8 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright (c) 2011 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 WEBKIT_PLUGINS_PPAPI_URL_REQUEST_INFO_UTIL_H_
6 #define WEBKIT_PLUGINS_PPAPI_URL_REQUEST_INFO_UTIL_H_
7
8 #include "base/memory/ref_counted.h"
9 #include "webkit/plugins/webkit_plugins_export.h"
10
11 namespace ppapi {
12 struct URLRequestInfoData;
13 }
14
15 namespace WebKit {
16 class WebFrame;
17 class WebURLRequest;
18 }
19
20 namespace webkit {
21 namespace ppapi {
22
23 // Creates the WebKit URL request from the current request info. Returns true
24 // on success, false if the request is invalid (in which case *dest may be
25 // partially initialized). Any upload files with only resource IDs (no file ref
26 // pointers) will be populated by this function on success.
27 WEBKIT_PLUGINS_EXPORT bool CreateWebURLRequest(
28 ::ppapi::URLRequestInfoData* data,
29 WebKit::WebFrame* frame,
30 WebKit::WebURLRequest* dest);
31
32 // Returns true if universal access is required to use the given request.
33 WEBKIT_PLUGINS_EXPORT bool URLRequestRequiresUniversalAccess(
34 const ::ppapi::URLRequestInfoData& data);
35
36 } // namespace ppapi
37 } // namespace webkit
38
39 #endif // WEBKIT_PLUGINS_PPAPI_PPB_URL_REQUEST_INFO_UTIL_H_
OLDNEW
« no previous file with comments | « webkit/plugins/ppapi/url_request_info_unittest.cc ('k') | webkit/plugins/ppapi/url_request_info_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698