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

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

Issue 7629017: Add a unified resource tracker shared between the proxy and the impl. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address review comments Created 9 years, 4 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
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef WEBKIT_PLUGINS_PPAPI_PPB_URL_REQUEST_INFO_IMPL_H_ 5 #ifndef WEBKIT_PLUGINS_PPAPI_PPB_URL_REQUEST_INFO_IMPL_H_
6 #define WEBKIT_PLUGINS_PPAPI_PPB_URL_REQUEST_INFO_IMPL_H_ 6 #define WEBKIT_PLUGINS_PPAPI_PPB_URL_REQUEST_INFO_IMPL_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 11 matching lines...) Expand all
22 namespace ppapi { 22 namespace ppapi {
23 23
24 class PPB_FileRef_Impl; 24 class PPB_FileRef_Impl;
25 25
26 class PPB_URLRequestInfo_Impl : public Resource, 26 class PPB_URLRequestInfo_Impl : public Resource,
27 public ::ppapi::thunk::PPB_URLRequestInfo_API { 27 public ::ppapi::thunk::PPB_URLRequestInfo_API {
28 public: 28 public:
29 explicit PPB_URLRequestInfo_Impl(PluginInstance* instance); 29 explicit PPB_URLRequestInfo_Impl(PluginInstance* instance);
30 virtual ~PPB_URLRequestInfo_Impl(); 30 virtual ~PPB_URLRequestInfo_Impl();
31 31
32 // ResourceObjectBase overrides. 32 // Resource overrides.
33 virtual PPB_URLRequestInfo_API* AsPPB_URLRequestInfo_API() OVERRIDE; 33 virtual PPB_URLRequestInfo_API* AsPPB_URLRequestInfo_API() OVERRIDE;
34 34
35 // PPB_URLRequestInfo implementation. 35 // PPB_URLRequestInfo implementation.
36 virtual PP_Bool SetProperty(PP_URLRequestProperty property, 36 virtual PP_Bool SetProperty(PP_URLRequestProperty property,
37 PP_Var var) OVERRIDE; 37 PP_Var var) OVERRIDE;
38 virtual PP_Bool AppendDataToBody(const void* data, uint32_t len) OVERRIDE; 38 virtual PP_Bool AppendDataToBody(const void* data, uint32_t len) OVERRIDE;
39 virtual PP_Bool AppendFileToBody( 39 virtual PP_Bool AppendFileToBody(
40 PP_Resource file_ref, 40 PP_Resource file_ref,
41 int64_t start_offset, 41 int64_t start_offset,
42 int64_t number_of_bytes, 42 int64_t number_of_bytes,
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 int32_t prefetch_buffer_upper_threshold_; 104 int32_t prefetch_buffer_upper_threshold_;
105 int32_t prefetch_buffer_lower_threshold_; 105 int32_t prefetch_buffer_lower_threshold_;
106 106
107 DISALLOW_COPY_AND_ASSIGN(PPB_URLRequestInfo_Impl); 107 DISALLOW_COPY_AND_ASSIGN(PPB_URLRequestInfo_Impl);
108 }; 108 };
109 109
110 } // namespace ppapi 110 } // namespace ppapi
111 } // namespace webkit 111 } // namespace webkit
112 112
113 #endif // WEBKIT_PLUGINS_PPAPI_PPB_URL_REQUEST_INFO_IMPL_H_ 113 #endif // WEBKIT_PLUGINS_PPAPI_PPB_URL_REQUEST_INFO_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698