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

Side by Side Diff: webkit/glue/plugins/pepper_url_request_info.h

Issue 2859023: Boilerplate implementation of the Pepper URL Loader API.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 years, 6 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
Property Changes:
Added: svn:eol-style
+ LF
OLDNEW
(Empty)
1 // Copyright (c) 2010 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_GLUE_PLUGINS_PEPPER_URL_REQUEST_INFO_H_
6 #define WEBKIT_GLUE_PLUGINS_PEPPER_URL_REQUEST_INFO_H_
7
8 #include <string>
9
10 #include "third_party/ppapi/c/ppb_url_request_info.h"
11 #include "webkit/glue/plugins/pepper_resource.h"
12
13 namespace pepper {
14
15 class URLRequestInfo : public Resource {
16 public:
17 explicit URLRequestInfo(PluginModule* module);
18 virtual ~URLRequestInfo();
19
20 // Returns a pointer to the interface implementing PPB_URLRequestInfo that is
21 // exposed to the plugin.
22 static const PPB_URLRequestInfo* GetInterface();
23
24 // Resource overrides.
25 URLRequestInfo* AsURLRequestInfo() { return this; }
26
27 // PPB_URLRequestInfo implementation.
28 bool SetBooleanProperty(PP_URLRequestProperty property, bool value);
29 bool SetStringProperty(PP_URLRequestProperty property,
30 const std::string& value);
31 bool AppendDataToBody(const std::string& data);
32 };
33
34 } // namespace pepper
35
36 #endif // WEBKIT_GLUE_PLUGINS_PEPPER_URL_REQUEST_INFO_H_
OLDNEW
« no previous file with comments | « webkit/glue/plugins/pepper_url_loader.cc ('k') | webkit/glue/plugins/pepper_url_request_info.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698