| Index: ppapi/thunk/ppb_url_loader_thunk.cc
|
| diff --git a/ppapi/thunk/ppb_url_loader_thunk.cc b/ppapi/thunk/ppb_url_loader_thunk.cc
|
| index 22594298f5da305c636cca7172b9d0d0cf0993ea..3cf93c309f8d6220f23b8d49234d467ea093a580 100644
|
| --- a/ppapi/thunk/ppb_url_loader_thunk.cc
|
| +++ b/ppapi/thunk/ppb_url_loader_thunk.cc
|
| @@ -2,7 +2,7 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -// From ppb_url_loader.idl modified Tue Aug 20 08:13:36 2013.
|
| +// From ppb_url_loader.idl modified Tue May 7 14:43:00 2013.
|
|
|
| #include <string.h>
|
|
|
| @@ -95,9 +95,8 @@ int32_t ReadResponseBody(PP_Resource loader,
|
| EnterResource<PPB_URLLoader_API> enter(loader, callback, true);
|
| if (enter.failed())
|
| return enter.retval();
|
| - return enter.SetResult(enter.object()->ReadResponseBody(buffer,
|
| - bytes_to_read,
|
| - enter.callback()));
|
| + return enter.SetResult(enter.object()->ReadResponseBody(
|
| + buffer, bytes_to_read, enter.callback()));
|
| }
|
|
|
| int32_t FinishStreamingToFile(PP_Resource loader,
|
| @@ -106,8 +105,8 @@ int32_t FinishStreamingToFile(PP_Resource loader,
|
| EnterResource<PPB_URLLoader_API> enter(loader, callback, true);
|
| if (enter.failed())
|
| return enter.retval();
|
| - return enter.SetResult(enter.object()->FinishStreamingToFile(
|
| - enter.callback()));
|
| + return enter.SetResult(
|
| + enter.object()->FinishStreamingToFile(enter.callback()));
|
| }
|
|
|
| void Close(PP_Resource loader) {
|
| @@ -118,17 +117,17 @@ void Close(PP_Resource loader) {
|
| enter.object()->Close();
|
| }
|
|
|
| -const PPB_URLLoader_1_0 g_ppb_urlloader_thunk_1_0 = {
|
| - &Create,
|
| - &IsURLLoader,
|
| - &Open,
|
| - &FollowRedirect,
|
| - &GetUploadProgress,
|
| - &GetDownloadProgress,
|
| - &GetResponseInfo,
|
| - &ReadResponseBody,
|
| - &FinishStreamingToFile,
|
| - &Close
|
| +const PPB_URLLoader_1_0 g_ppb_urlloader_thunk_1_0 = { //
|
| + &Create, //
|
| + &IsURLLoader, //
|
| + &Open, //
|
| + &FollowRedirect, //
|
| + &GetUploadProgress, //
|
| + &GetDownloadProgress, //
|
| + &GetResponseInfo, //
|
| + &ReadResponseBody, //
|
| + &FinishStreamingToFile, //
|
| + &Close //
|
| };
|
|
|
| } // namespace
|
|
|