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

Unified Diff: third_party/WebKit/public/platform/WebThread.h

Issue 2387113002: reflow comments in public/platform/ (Closed)
Patch Set: Created 4 years, 2 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: third_party/WebKit/public/platform/WebThread.h
diff --git a/third_party/WebKit/public/platform/WebThread.h b/third_party/WebKit/public/platform/WebThread.h
index 7303e771dbbe17659ef588ec2e0b2881c4bfec4b..a0a4ee992b8f586ea48a0e737f70cce523c9c314 100644
--- a/third_party/WebKit/public/platform/WebThread.h
+++ b/third_party/WebKit/public/platform/WebThread.h
@@ -61,22 +61,26 @@ class BLINK_PLATFORM_EXPORT WebThread {
virtual void didProcessTask() = 0;
};
- // Returns a WebTaskRunner bound to the underlying scheduler's default task queue.
+ // Returns a WebTaskRunner bound to the underlying scheduler's default task
+ // queue.
virtual WebTaskRunner* getWebTaskRunner() { return nullptr; }
virtual bool isCurrentThread() const = 0;
virtual PlatformThreadId threadId() const { return 0; }
- // TaskObserver is an object that receives task notifications from the MessageLoop
+ // TaskObserver is an object that receives task notifications from the
+ // MessageLoop
// NOTE: TaskObserver implementation should be extremely fast!
- // This API is performance sensitive. Use only if you have a compelling reason.
+ // This API is performance sensitive. Use only if you have a compelling
+ // reason.
virtual void addTaskObserver(TaskObserver*) {}
virtual void removeTaskObserver(TaskObserver*) {}
// TaskTimeObserver is an object that receives notifications for
// CPU time spent in each top-level MessageLoop task.
// NOTE: TaskTimeObserver implementation should be extremely fast!
- // This API is performance sensitive. Use only if you have a compelling reason.
+ // This API is performance sensitive. Use only if you have a compelling
+ // reason.
virtual void addTaskTimeObserver(scheduler::TaskTimeObserver*) {}
virtual void removeTaskTimeObserver(scheduler::TaskTimeObserver*) {}

Powered by Google App Engine
This is Rietveld 408576698