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

Unified Diff: native_client_sdk/src/libraries/nacl_io/kernel_object.h

Issue 303223007: [NaCl SDK] nacl_io: Run clang-format over nacl_io sources. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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: native_client_sdk/src/libraries/nacl_io/kernel_object.h
diff --git a/native_client_sdk/src/libraries/nacl_io/kernel_object.h b/native_client_sdk/src/libraries/nacl_io/kernel_object.h
index cab977b65d68db9060e35a3b355744afb28473ff..5563cf339c7f10ff848dec8ee08e3920bd7cffa2 100644
--- a/native_client_sdk/src/libraries/nacl_io/kernel_object.h
+++ b/native_client_sdk/src/libraries/nacl_io/kernel_object.h
@@ -33,7 +33,7 @@ class KernelObject {
Descriptor_t() : flags(0) {}
explicit Descriptor_t(const ScopedKernelHandle& h,
const std::string& open_path)
- : handle(h), flags(0), path(open_path) {}
+ : handle(h), flags(0), path(open_path) {}
ScopedKernelHandle handle;
int flags;
@@ -74,17 +74,19 @@ class KernelObject {
// Convert from FD to KernelHandle, and acquire the handle.
// Assumes |out_handle| is non-NULL.
Error AcquireHandle(int fd, ScopedKernelHandle* out_handle);
- Error AcquireHandleAndPath(int fd, ScopedKernelHandle *out_handle,
+ Error AcquireHandleAndPath(int fd,
+ ScopedKernelHandle* out_handle,
std::string* out_path);
// Allocate a new fd and assign the handle to it, while
// ref counting the handle and associated filesystem.
// Assumes |handle| is non-NULL;
int AllocateFD(const ScopedKernelHandle& handle,
- const std::string& path=std::string());
+ const std::string& path = std::string());
// Assumes |handle| is non-NULL;
- void FreeAndReassignFD(int fd, const ScopedKernelHandle& handle,
+ void FreeAndReassignFD(int fd,
+ const ScopedKernelHandle& handle,
const std::string& path);
void FreeFD(int fd);
« no previous file with comments | « native_client_sdk/src/libraries/nacl_io/kernel_intercept.cc ('k') | native_client_sdk/src/libraries/nacl_io/kernel_object.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698