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

Side by Side Diff: third_party/WebKit/Source/modules/filesystem/Entry.h

Issue 2610903002: Replace [CallWith=ExecutionContext] with [CallWith=ScriptState] (Closed)
Patch Set: Created 3 years, 11 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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2010 Google Inc. All rights reserved. 2 * Copyright (C) 2010 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 class MetadataCallback; 45 class MetadataCallback;
46 class VoidCallback; 46 class VoidCallback;
47 47
48 class MODULES_EXPORT Entry : public EntryBase, public ScriptWrappable { 48 class MODULES_EXPORT Entry : public EntryBase, public ScriptWrappable {
49 DEFINE_WRAPPERTYPEINFO(); 49 DEFINE_WRAPPERTYPEINFO();
50 50
51 public: 51 public:
52 DOMFileSystem* filesystem() const { 52 DOMFileSystem* filesystem() const {
53 return static_cast<DOMFileSystem*>(m_fileSystem.get()); 53 return static_cast<DOMFileSystem*>(m_fileSystem.get());
54 } 54 }
55 DOMFileSystem* filesystem(ExecutionContext*) const; 55 DOMFileSystem* filesystem(ScriptState*) const;
56 56
57 void getMetadata(ExecutionContext*, 57 void getMetadata(ScriptState*,
58 MetadataCallback* successCallback = nullptr, 58 MetadataCallback* successCallback = nullptr,
59 ErrorCallback* = nullptr); 59 ErrorCallback* = nullptr);
60 void moveTo(ExecutionContext*, 60 void moveTo(ScriptState*,
61 DirectoryEntry* parent, 61 DirectoryEntry* parent,
62 const String& name = String(), 62 const String& name = String(),
63 EntryCallback* successCallback = nullptr, 63 EntryCallback* successCallback = nullptr,
64 ErrorCallback* = nullptr) const; 64 ErrorCallback* = nullptr) const;
65 void copyTo(ExecutionContext*, 65 void copyTo(ScriptState*,
66 DirectoryEntry* parent, 66 DirectoryEntry* parent,
67 const String& name = String(), 67 const String& name = String(),
68 EntryCallback* successCallback = nullptr, 68 EntryCallback* successCallback = nullptr,
69 ErrorCallback* = nullptr) const; 69 ErrorCallback* = nullptr) const;
70 void remove(ExecutionContext*, 70 void remove(ScriptState*,
71 VoidCallback* successCallback = nullptr, 71 VoidCallback* successCallback = nullptr,
72 ErrorCallback* = nullptr) const; 72 ErrorCallback* = nullptr) const;
73 void getParent(ExecutionContext*, 73 void getParent(ScriptState*,
74 EntryCallback* successCallback = nullptr, 74 EntryCallback* successCallback = nullptr,
75 ErrorCallback* = nullptr) const; 75 ErrorCallback* = nullptr) const;
76 String toURL(ExecutionContext*) const; 76 String toURL(ScriptState*) const;
77 77
78 DECLARE_VIRTUAL_TRACE(); 78 DECLARE_VIRTUAL_TRACE();
79 79
80 protected: 80 protected:
81 Entry(DOMFileSystemBase*, const String& fullPath); 81 Entry(DOMFileSystemBase*, const String& fullPath);
82 }; 82 };
83 83
84 } // namespace blink 84 } // namespace blink
85 85
86 #endif // Entry_h 86 #endif // Entry_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698