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

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

Issue 15127005: Make filesystem objects ScriptWrappable. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 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: Source/modules/filesystem/DirectoryReader.h
diff --git a/Source/modules/filesystem/DirectoryReader.h b/Source/modules/filesystem/DirectoryReader.h
index fce2e4a81e2561c2b1f126aaaf2177c20d89cdf6..6960ffc5c4d48cada2853b8551374119b2dc0b2f 100644
--- a/Source/modules/filesystem/DirectoryReader.h
+++ b/Source/modules/filesystem/DirectoryReader.h
@@ -31,6 +31,7 @@
#ifndef DirectoryReader_h
#define DirectoryReader_h
+#include "bindings/v8/ScriptWrappable.h"
#include "modules/filesystem/DOMFileSystem.h"
#include "modules/filesystem/DirectoryReaderBase.h"
#include "wtf/PassRefPtr.h"
@@ -43,7 +44,7 @@ class EntriesCallback;
class EntriesCallbacks;
class ErrorCallback;
-class DirectoryReader : public DirectoryReaderBase {
+class DirectoryReader : public DirectoryReaderBase, public ScriptWrappable {
abarth-chromium 2013/05/14 00:38:13 Same question here.
Tom Sepez 2013/05/14 18:21:51 Answer above. I think this is appropriate -- but
public:
static PassRefPtr<DirectoryReader> create(PassRefPtr<DOMFileSystemBase> fileSystem, const String& fullPath)
{

Powered by Google App Engine
This is Rietveld 408576698