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

Unified Diff: runtime/bin/eventhandler_macos.h

Issue 2480793002: clang-format runtime/bin (Closed)
Patch Set: Created 4 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 | « runtime/bin/eventhandler_linux.cc ('k') | runtime/bin/eventhandler_macos.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/eventhandler_macos.h
diff --git a/runtime/bin/eventhandler_macos.h b/runtime/bin/eventhandler_macos.h
index fbeac807f7de3f5388a23ff8ee46fe354b78305a..414dfbef2771c0d7cce81796117ee310bda871ca 100644
--- a/runtime/bin/eventhandler_macos.h
+++ b/runtime/bin/eventhandler_macos.h
@@ -24,9 +24,9 @@ namespace bin {
class DescriptorInfo : public DescriptorInfoBase {
public:
explicit DescriptorInfo(intptr_t fd)
- : DescriptorInfoBase(fd), tracked_by_kqueue_(false) { }
+ : DescriptorInfoBase(fd), tracked_by_kqueue_(false) {}
- virtual ~DescriptorInfo() { }
+ virtual ~DescriptorInfo() {}
intptr_t GetPollEvents();
@@ -35,9 +35,7 @@ class DescriptorInfo : public DescriptorInfoBase {
fd_ = -1;
}
- void set_tracked_by_kqueue(bool value) {
- tracked_by_kqueue_ = value;
- }
+ void set_tracked_by_kqueue(bool value) { tracked_by_kqueue_ = value; }
bool tracked_by_kqueue() { return tracked_by_kqueue_; }
@@ -53,8 +51,7 @@ class DescriptorInfo : public DescriptorInfoBase {
};
-class DescriptorInfoSingle
- : public DescriptorInfoSingleMixin<DescriptorInfo> {
+class DescriptorInfoSingle : public DescriptorInfoSingleMixin<DescriptorInfo> {
public:
explicit DescriptorInfoSingle(intptr_t fd)
: DescriptorInfoSingleMixin(fd, false) {}
@@ -82,7 +79,7 @@ class EventHandlerImplementation {
EventHandlerImplementation();
~EventHandlerImplementation();
- void UpdateKQueueInstance(intptr_t old_mask, DescriptorInfo *di);
+ void UpdateKQueueInstance(intptr_t old_mask, DescriptorInfo* di);
// Gets the socket data structure for a given file
// descriptor. Creates a new one if one is not found.
« no previous file with comments | « runtime/bin/eventhandler_linux.cc ('k') | runtime/bin/eventhandler_macos.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698