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

Unified Diff: content/renderer/pepper/pepper_file_system_host.cc

Issue 225903006: PPAPI: Run clang_format.py on content/renderer/pepper (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: content/renderer/pepper/pepper_file_system_host.cc
diff --git a/content/renderer/pepper/pepper_file_system_host.cc b/content/renderer/pepper/pepper_file_system_host.cc
index 36000fd704b18d37708d4b64d79cc2e4eeddfd35..2dc3403602f6263a1a43931d9c2f482bbe0e3d02 100644
--- a/content/renderer/pepper/pepper_file_system_host.cc
+++ b/content/renderer/pepper/pepper_file_system_host.cc
@@ -33,8 +33,7 @@ PepperFileSystemHost::PepperFileSystemHost(RendererPpapiHost* host,
type_(type),
opened_(false),
called_open_(false),
- weak_factory_(this) {
-}
+ weak_factory_(this) {}
PepperFileSystemHost::PepperFileSystemHost(RendererPpapiHost* host,
PP_Instance instance,
@@ -47,29 +46,23 @@ PepperFileSystemHost::PepperFileSystemHost(RendererPpapiHost* host,
opened_(true),
root_url_(root_url),
called_open_(true),
- weak_factory_(this) {
-}
+ weak_factory_(this) {}
-PepperFileSystemHost::~PepperFileSystemHost() {
-}
+PepperFileSystemHost::~PepperFileSystemHost() {}
int32_t PepperFileSystemHost::OnResourceMessageReceived(
const IPC::Message& msg,
ppapi::host::HostMessageContext* context) {
IPC_BEGIN_MESSAGE_MAP(PepperFileSystemHost, msg)
- PPAPI_DISPATCH_HOST_RESOURCE_CALL(
- PpapiHostMsg_FileSystem_Open,
- OnHostMsgOpen)
- PPAPI_DISPATCH_HOST_RESOURCE_CALL(
- PpapiHostMsg_FileSystem_InitIsolatedFileSystem,
- OnHostMsgInitIsolatedFileSystem)
+ PPAPI_DISPATCH_HOST_RESOURCE_CALL(PpapiHostMsg_FileSystem_Open, OnHostMsgOpen)
+ PPAPI_DISPATCH_HOST_RESOURCE_CALL(
+ PpapiHostMsg_FileSystem_InitIsolatedFileSystem,
+ OnHostMsgInitIsolatedFileSystem)
IPC_END_MESSAGE_MAP()
return PP_ERROR_FAILED;
}
-bool PepperFileSystemHost::IsFileSystemHost() {
- return true;
-}
+bool PepperFileSystemHost::IsFileSystemHost() { return true; }
void PepperFileSystemHost::DidOpenFileSystem(
const std::string& /* name_unused */,
« no previous file with comments | « content/renderer/pepper/pepper_file_ref_renderer_host.cc ('k') | content/renderer/pepper/pepper_graphics_2d_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698