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

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

Issue 2585073002: Specify TaskType of posted Task explicitly in DataTransferItem (1) (Closed)
Patch Set: 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/StringCallback.h
diff --git a/third_party/WebKit/Source/core/dom/StringCallback.h b/third_party/WebKit/Source/core/dom/StringCallback.h
index 80932ef96616ce1fc51eef8815bd8eb00e6ea6ea..a48211cd9d41724d58ce557efcc4821fb8abdd2d 100644
--- a/third_party/WebKit/Source/core/dom/StringCallback.h
+++ b/third_party/WebKit/Source/core/dom/StringCallback.h
@@ -37,6 +37,7 @@
namespace blink {
class ExecutionContext;
+enum class TaskType : unsigned;
class StringCallback : public GarbageCollectedFinalized<StringCallback> {
public:
@@ -45,7 +46,8 @@ class StringCallback : public GarbageCollectedFinalized<StringCallback> {
virtual void handleEvent(const String& data) = 0;
// Helper to post callback task.
- static void scheduleCallback(StringCallback*,
+ static void scheduleCallback(TaskType,
+ StringCallback*,
ExecutionContext*,
const String& data,
const String& instrumentationName);

Powered by Google App Engine
This is Rietveld 408576698