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

Unified Diff: ppapi/thunk/ppb_url_loader_thunk.cc

Issue 238923007: PPAPI: Format ppapi/thunk using clang-format. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merge Created 6 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 side-by-side diff with in-line comments
Download patch
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 //
Nico 2014/04/17 18:37:36 Eww, that's pretty horrible, no? Have you tried i
dmichael (off chromium) 2014/04/17 19:11:13 Yes, exactly why I had filed that bug... thank yo
};
} // namespace

Powered by Google App Engine
This is Rietveld 408576698