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

Unified Diff: third_party/WebKit/Source/core/clipboard/DataTransferItem.cpp

Issue 2896183002: Rename StringCallback to FunctionStringCallback. (Closed)
Patch Set: Created 3 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: third_party/WebKit/Source/core/clipboard/DataTransferItem.cpp
diff --git a/third_party/WebKit/Source/core/clipboard/DataTransferItem.cpp b/third_party/WebKit/Source/core/clipboard/DataTransferItem.cpp
index 46bde5443d0455f48604608ec5450fe99a000747..86c72df317c48377bc8497af70ef8cff75b0601b 100644
--- a/third_party/WebKit/Source/core/clipboard/DataTransferItem.cpp
+++ b/third_party/WebKit/Source/core/clipboard/DataTransferItem.cpp
@@ -34,7 +34,7 @@
#include "core/clipboard/DataObjectItem.h"
#include "core/clipboard/DataTransfer.h"
#include "core/dom/ExecutionContext.h"
-#include "core/dom/StringCallback.h"
+#include "core/dom/FunctionStringCallback.h"
#include "core/dom/TaskRunnerHelper.h"
#include "core/probe/CoreProbes.h"
#include "platform/wtf/StdLibExtras.h"
@@ -70,7 +70,7 @@ String DataTransferItem::type() const {
}
static void RunGetAsStringTask(ExecutionContext* context,
- StringCallback* callback,
+ FunctionStringCallback* callback,
const String& data) {
probe::AsyncTask async_task(context, callback);
if (context)
@@ -78,7 +78,7 @@ static void RunGetAsStringTask(ExecutionContext* context,
}
void DataTransferItem::getAsString(ScriptState* script_state,
- StringCallback* callback) const {
+ FunctionStringCallback* callback) const {
if (!data_transfer_->CanReadData())
return;
if (!callback || item_->Kind() != DataObjectItem::kStringKind)

Powered by Google App Engine
This is Rietveld 408576698