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

Unified Diff: third_party/WebKit/Source/core/inspector/InspectorResourceContentLoader.h

Issue 2110363002: Rename SameThreadClosure to Closure (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@TRV_ExplicitWTFBind
Patch Set: Add WTF:: to Closure Created 4 years, 6 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/inspector/InspectorResourceContentLoader.h
diff --git a/third_party/WebKit/Source/core/inspector/InspectorResourceContentLoader.h b/third_party/WebKit/Source/core/inspector/InspectorResourceContentLoader.h
index bcddb7bc7d5e613e965e4659fc8ad6ad1082e814..7d4b3d6fe24f255e9801dfa3497c286c0b9fcc2e 100644
--- a/third_party/WebKit/Source/core/inspector/InspectorResourceContentLoader.h
+++ b/third_party/WebKit/Source/core/inspector/InspectorResourceContentLoader.h
@@ -30,7 +30,7 @@ public:
DECLARE_TRACE();
int createClientId();
- void ensureResourcesContentLoaded(int clientId, std::unique_ptr<SameThreadClosure> callback);
+ void ensureResourcesContentLoaded(int clientId, std::unique_ptr<WTF::Closure> callback);
void cancel(int clientId);
void didCommitLoadForLocalFrame(LocalFrame*);
@@ -44,7 +44,7 @@ private:
void stop();
bool hasFinished();
- using Callbacks = Vector<std::unique_ptr<SameThreadClosure>>;
+ using Callbacks = Vector<std::unique_ptr<WTF::Closure>>;
HashMap<int, Callbacks> m_callbacks;
bool m_allRequestsStarted;
bool m_started;

Powered by Google App Engine
This is Rietveld 408576698