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

Unified Diff: third_party/WebKit/Source/core/dom/TaskRunnerHelper.h

Issue 2556993005: [blink] Split TaskType::Internal into InternalTimer and InternalLoading. (Closed)
Patch Set: addressed skyostil@'s comments Created 4 years 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/Source/core/dom/TaskRunnerHelper.h
diff --git a/third_party/WebKit/Source/core/dom/TaskRunnerHelper.h b/third_party/WebKit/Source/core/dom/TaskRunnerHelper.h
index ffd59c38eaf5bc31f6a78ed477dcffb7f95686d7..798305ddb04852a21934c8e89d76803912909c06 100644
--- a/third_party/WebKit/Source/core/dom/TaskRunnerHelper.h
+++ b/third_party/WebKit/Source/core/dom/TaskRunnerHelper.h
@@ -37,7 +37,11 @@ enum class TaskType : unsigned {
// Other internal tasks that cannot fit any of the above task runners
// can be posted here, but the usage is not encouraged. The task runner
// may be throttled.
- Internal,
+ //
+ // InternalLoading type should be used for all tasks associated with
+ // loading page content, InternalTimer should be used for all other purposes.
+ InternalTimer,
+ InternalLoading,
haraken 2016/12/09 00:04:27 Shall we rename these to UnspecedTimerTask and Uns
// Tasks that must not be throttled should be posted here, but the usage
// should be very limited.
« no previous file with comments | « third_party/WebKit/Source/core/dom/Document.cpp ('k') | third_party/WebKit/Source/core/dom/TaskRunnerHelper.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698