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

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

Issue 1194093002: Remove unused FS callback partial specializations. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 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
« no previous file with comments | « Source/modules/filesystem/DOMFileSystem.h ('k') | Source/modules/filesystem/FileSystemCallbacks.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/filesystem/FileSystemCallbacks.h
diff --git a/Source/modules/filesystem/FileSystemCallbacks.h b/Source/modules/filesystem/FileSystemCallbacks.h
index e3c118bceff8935fa71874e2746587221526e591..6fd4dd4841b5a2ec558407bde52fd79cb5006560 100644
--- a/Source/modules/filesystem/FileSystemCallbacks.h
+++ b/Source/modules/filesystem/FileSystemCallbacks.h
@@ -67,17 +67,9 @@ protected:
bool shouldScheduleCallback() const;
-#if !ENABLE(OILPAN)
- template <typename CB, typename CBArg>
- void handleEventOrScheduleCallback(RawPtr<CB>, RawPtr<CBArg>);
-#endif
-
template <typename CB, typename CBArg>
void handleEventOrScheduleCallback(RawPtr<CB>, CBArg*);
- template <typename CB, typename CBArg>
- void handleEventOrScheduleCallback(RawPtr<CB>, PassRefPtrWillBeRawPtr<CBArg>);
-
template <typename CB>
void handleEventOrScheduleCallback(RawPtr<CB>);
@@ -148,11 +140,11 @@ private:
class FileWriterBaseCallbacks final : public FileSystemCallbacksBase {
public:
- static PassOwnPtr<AsyncFileSystemCallbacks> create(PassRefPtrWillBeRawPtr<FileWriterBase>, FileWriterBaseCallback*, ErrorCallback*, ExecutionContext*);
+ static PassOwnPtr<AsyncFileSystemCallbacks> create(FileWriterBase*, FileWriterBaseCallback*, ErrorCallback*, ExecutionContext*);
virtual void didCreateFileWriter(PassOwnPtr<WebFileWriter>, long long length) override;
private:
- FileWriterBaseCallbacks(PassRefPtrWillBeRawPtr<FileWriterBase>, FileWriterBaseCallback*, ErrorCallback*, ExecutionContext*);
+ FileWriterBaseCallbacks(FileWriterBase*, FileWriterBaseCallback*, ErrorCallback*, ExecutionContext*);
Persistent<FileWriterBase> m_fileWriter;
Persistent<FileWriterBaseCallback> m_successCallback;
};
« no previous file with comments | « Source/modules/filesystem/DOMFileSystem.h ('k') | Source/modules/filesystem/FileSystemCallbacks.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698