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

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, 1 month 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
« no previous file with comments | « ppapi/thunk/ppb_uma_private_thunk.cc ('k') | ppapi/thunk/ppb_url_loader_trusted_thunk.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..4f19505e3931329f8e489446118a42796c94db1f 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,8 +95,7 @@ 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,
+ return enter.SetResult(enter.object()->ReadResponseBody(buffer, bytes_to_read,
enter.callback()));
}
@@ -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,18 +117,16 @@ 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
« no previous file with comments | « ppapi/thunk/ppb_uma_private_thunk.cc ('k') | ppapi/thunk/ppb_url_loader_trusted_thunk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698