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

Side by Side Diff: webkit/plugins/ppapi/ppb_url_loader_impl.cc

Issue 14007010: Pepper: Autogenerate thunk for PPB_URL_Loader. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix sizeof statements Created 7 years, 8 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
« no previous file with comments | « webkit/plugins/ppapi/ppb_url_loader_impl.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 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 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 #include "webkit/plugins/ppapi/ppb_url_loader_impl.h" 5 #include "webkit/plugins/ppapi/ppb_url_loader_impl.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "net/base/net_errors.h" 8 #include "net/base/net_errors.h"
9 #include "ppapi/c/pp_completion_callback.h" 9 #include "ppapi/c/pp_completion_callback.h"
10 #include "ppapi/c/pp_errors.h" 10 #include "ppapi/c/pp_errors.h"
(...skipping 293 matching lines...) Expand 10 before | Expand all | Expand 10 after
304 user_buffer_ = NULL; 304 user_buffer_ = NULL;
305 user_buffer_size_ = 0; 305 user_buffer_size_ = 0;
306 if (TrackedCallback::IsPending(pending_callback_)) 306 if (TrackedCallback::IsPending(pending_callback_))
307 pending_callback_->PostAbort(); 307 pending_callback_->PostAbort();
308 } 308 }
309 309
310 void PPB_URLLoader_Impl::GrantUniversalAccess() { 310 void PPB_URLLoader_Impl::GrantUniversalAccess() {
311 has_universal_access_ = true; 311 has_universal_access_ = true;
312 } 312 }
313 313
314 void PPB_URLLoader_Impl::SetStatusCallback( 314 void PPB_URLLoader_Impl::RegisterStatusCallback(
315 PP_URLLoaderTrusted_StatusCallback cb) { 315 PP_URLLoaderTrusted_StatusCallback cb) {
316 status_callback_ = cb; 316 status_callback_ = cb;
317 } 317 }
318 318
319 bool PPB_URLLoader_Impl::GetResponseInfoData( 319 bool PPB_URLLoader_Impl::GetResponseInfoData(
320 ::ppapi::URLResponseInfoData* data) { 320 ::ppapi::URLResponseInfoData* data) {
321 if (!response_info_.get()) 321 if (!response_info_.get())
322 return false; 322 return false;
323 323
324 *data = *response_info_; 324 *data = *response_info_;
(...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after
541 bool PPB_URLLoader_Impl::RecordDownloadProgress() const { 541 bool PPB_URLLoader_Impl::RecordDownloadProgress() const {
542 return request_data_.record_download_progress; 542 return request_data_.record_download_progress;
543 } 543 }
544 544
545 bool PPB_URLLoader_Impl::RecordUploadProgress() const { 545 bool PPB_URLLoader_Impl::RecordUploadProgress() const {
546 return request_data_.record_upload_progress; 546 return request_data_.record_upload_progress;
547 } 547 }
548 548
549 } // namespace ppapi 549 } // namespace ppapi
550 } // namespace webkit 550 } // namespace webkit
OLDNEW
« no previous file with comments | « webkit/plugins/ppapi/ppb_url_loader_impl.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698