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

Side by Side Diff: Source/modules/filesystem/DOMFileSystemBase.h

Issue 941363003: InlinedVisitor: Migrate filesystem to use inlined tracing (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 10 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 | Annotate | Revision Log
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 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 void move(const EntryBase* source, EntryBase* parent, const String& name, En tryCallback*, ErrorCallback*, SynchronousType = Asynchronous); 109 void move(const EntryBase* source, EntryBase* parent, const String& name, En tryCallback*, ErrorCallback*, SynchronousType = Asynchronous);
110 void copy(const EntryBase* source, EntryBase* parent, const String& name, En tryCallback*, ErrorCallback*, SynchronousType = Asynchronous); 110 void copy(const EntryBase* source, EntryBase* parent, const String& name, En tryCallback*, ErrorCallback*, SynchronousType = Asynchronous);
111 void remove(const EntryBase*, VoidCallback*, ErrorCallback*, SynchronousType = Asynchronous); 111 void remove(const EntryBase*, VoidCallback*, ErrorCallback*, SynchronousType = Asynchronous);
112 void removeRecursively(const EntryBase*, VoidCallback*, ErrorCallback*, Sync hronousType = Asynchronous); 112 void removeRecursively(const EntryBase*, VoidCallback*, ErrorCallback*, Sync hronousType = Asynchronous);
113 void getParent(const EntryBase*, EntryCallback*, ErrorCallback*); 113 void getParent(const EntryBase*, EntryCallback*, ErrorCallback*);
114 void getFile(const EntryBase*, const String& path, const FileSystemFlags&, E ntryCallback*, ErrorCallback*, SynchronousType = Asynchronous); 114 void getFile(const EntryBase*, const String& path, const FileSystemFlags&, E ntryCallback*, ErrorCallback*, SynchronousType = Asynchronous);
115 void getDirectory(const EntryBase*, const String& path, const FileSystemFlag s&, EntryCallback*, ErrorCallback*, SynchronousType = Asynchronous); 115 void getDirectory(const EntryBase*, const String& path, const FileSystemFlag s&, EntryCallback*, ErrorCallback*, SynchronousType = Asynchronous);
116 int readDirectory(DirectoryReaderBase*, const String& path, EntriesCallback* , ErrorCallback*, SynchronousType = Asynchronous); 116 int readDirectory(DirectoryReaderBase*, const String& path, EntriesCallback* , ErrorCallback*, SynchronousType = Asynchronous);
117 bool waitForAdditionalResult(int callbacksId); 117 bool waitForAdditionalResult(int callbacksId);
118 118
119 virtual void trace(Visitor*) { } 119 DEFINE_INLINE_VIRTUAL_TRACE() { }
120 120
121 protected: 121 protected:
122 DOMFileSystemBase(ExecutionContext*, const String& name, FileSystemType, con st KURL& rootURL); 122 DOMFileSystemBase(ExecutionContext*, const String& name, FileSystemType, con st KURL& rootURL);
123 friend class DOMFileSystemSync; 123 friend class DOMFileSystemSync;
124 124
125 ExecutionContext* m_context; 125 ExecutionContext* m_context;
126 String m_name; 126 String m_name;
127 FileSystemType m_type; 127 FileSystemType m_type;
128 KURL m_filesystemRootURL; 128 KURL m_filesystemRootURL;
129 bool m_clonable; 129 bool m_clonable;
130 }; 130 };
131 131
132 inline bool operator==(const DOMFileSystemBase& a, const DOMFileSystemBase& b) { return a.name() == b.name() && a.type() == b.type() && a.rootURL() == b.rootURL (); } 132 inline bool operator==(const DOMFileSystemBase& a, const DOMFileSystemBase& b) { return a.name() == b.name() && a.type() == b.type() && a.rootURL() == b.rootURL (); }
133 133
134 } // namespace blink 134 } // namespace blink
135 135
136 #endif // DOMFileSystemBase_h 136 #endif // DOMFileSystemBase_h
OLDNEW
« no previous file with comments | « Source/modules/filesystem/DOMFileSystem.cpp ('k') | Source/modules/filesystem/DOMFileSystemSync.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698