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

Unified Diff: Source/modules/filesystem/DOMFileSystem.h

Issue 397843009: Revert of DevTools: Support async call stacks for FileSystem API (part 1). (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 5 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: Source/modules/filesystem/DOMFileSystem.h
diff --git a/Source/modules/filesystem/DOMFileSystem.h b/Source/modules/filesystem/DOMFileSystem.h
index ae07a04c4a016e6e1bd1c62c000bb10a835121d9..9a1ae67cc40b9890bf17d5637ead428b1b37ba90 100644
--- a/Source/modules/filesystem/DOMFileSystem.h
+++ b/Source/modules/filesystem/DOMFileSystem.h
@@ -105,25 +105,9 @@
private:
DOMFileSystem(ExecutionContext*, const String& name, FileSystemType, const KURL& rootURL);
- class DispatchCallbackTaskBase : public ExecutionContextTask {
- public:
- DispatchCallbackTaskBase()
- : m_taskName("FileSystem")
- {
- }
-
- virtual const String& taskNameForInstrumentation() const OVERRIDE
- {
- return m_taskName;
- }
-
- private:
- const String m_taskName;
- };
-
// A helper template to schedule a callback task.
template <typename CB, typename CBArg>
- class DispatchCallbackRefPtrArgTask FINAL : public DispatchCallbackTaskBase {
+ class DispatchCallbackRefPtrArgTask FINAL : public ExecutionContextTask {
public:
DispatchCallbackRefPtrArgTask(PassOwnPtr<CB> callback, PassRefPtrWillBeRawPtr<CBArg> arg)
: m_callback(callback)
@@ -142,7 +126,7 @@
};
template <typename CB, typename CBArg>
- class DispatchCallbackPtrArgTask FINAL : public DispatchCallbackTaskBase {
+ class DispatchCallbackPtrArgTask FINAL : public ExecutionContextTask {
public:
DispatchCallbackPtrArgTask(PassOwnPtr<CB> callback, CBArg* arg)
: m_callback(callback)
@@ -161,7 +145,7 @@
};
template <typename CB, typename CBArg>
- class DispatchCallbackNonPtrArgTask FINAL : public DispatchCallbackTaskBase {
+ class DispatchCallbackNonPtrArgTask FINAL : public ExecutionContextTask {
public:
DispatchCallbackNonPtrArgTask(PassOwnPtr<CB> callback, const CBArg& arg)
: m_callback(callback)
@@ -180,7 +164,7 @@
};
template <typename CB>
- class DispatchCallbackNoArgTask FINAL : public DispatchCallbackTaskBase {
+ class DispatchCallbackNoArgTask FINAL : public ExecutionContextTask {
public:
DispatchCallbackNoArgTask(PassOwnPtr<CB> callback)
: m_callback(callback)
« no previous file with comments | « Source/core/inspector/InspectorInstrumentation.idl ('k') | Source/modules/filesystem/FileSystemCallbacks.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698