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

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

Issue 2040563002: Remove FileError interface (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@fe-dep
Patch Set: handleEvent -> invoke and other review nits Created 4 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 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 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 public: 48 public:
49 static DOMFileSystemSync* create(ExecutionContext* context, const String& na me, FileSystemType type, const KURL& rootURL) 49 static DOMFileSystemSync* create(ExecutionContext* context, const String& na me, FileSystemType type, const KURL& rootURL)
50 { 50 {
51 return new DOMFileSystemSync(context, name, type, rootURL); 51 return new DOMFileSystemSync(context, name, type, rootURL);
52 } 52 }
53 53
54 static DOMFileSystemSync* create(DOMFileSystemBase*); 54 static DOMFileSystemSync* create(DOMFileSystemBase*);
55 55
56 ~DOMFileSystemSync() override; 56 ~DOMFileSystemSync() override;
57 57
58 void reportError(ErrorCallback*, FileError*) override; 58 void reportError(ErrorCallbackBase*, FileError::ErrorCode) override;
59 59
60 DirectoryEntrySync* root(); 60 DirectoryEntrySync* root();
61 61
62 File* createFile(const FileEntrySync*, ExceptionState&); 62 File* createFile(const FileEntrySync*, ExceptionState&);
63 FileWriterSync* createWriter(const FileEntrySync*, ExceptionState&); 63 FileWriterSync* createWriter(const FileEntrySync*, ExceptionState&);
64 64
65 DECLARE_VIRTUAL_TRACE(); 65 DECLARE_VIRTUAL_TRACE();
66 66
67 private: 67 private:
68 DOMFileSystemSync(ExecutionContext*, const String& name, FileSystemType, con st KURL& rootURL); 68 DOMFileSystemSync(ExecutionContext*, const String& name, FileSystemType, con st KURL& rootURL);
69 Member<DirectoryEntrySync> m_rootEntry; 69 Member<DirectoryEntrySync> m_rootEntry;
70 }; 70 };
71 71
72 } // namespace blink 72 } // namespace blink
73 73
74 #endif // DOMFileSystemSync_h 74 #endif // DOMFileSystemSync_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698