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

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

Issue 2040563002: Remove FileError interface (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@fe-dep
Patch Set: Review feedback Created 4 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 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 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 void didFail(int code) final; 61 void didFail(int code) final;
62 62
63 // Other callback methods are implemented by each subclass. 63 // Other callback methods are implemented by each subclass.
64 64
65 protected: 65 protected:
66 FileSystemCallbacksBase(ErrorCallback*, DOMFileSystemBase*, ExecutionContext *); 66 FileSystemCallbacksBase(ErrorCallback*, DOMFileSystemBase*, ExecutionContext *);
67 67
68 bool shouldScheduleCallback() const; 68 bool shouldScheduleCallback() const;
69 69
70 template <typename CB, typename CBArg> 70 template <typename CB, typename CBArg>
71 void handleEventOrScheduleCallback(CB*, CBArg*); 71 void handleEventOrScheduleCallback(CB*, CBArg);
72 72
73 template <typename CB> 73 template <typename CB>
74 void handleEventOrScheduleCallback(CB*); 74 void handleEventOrScheduleCallback(CB*);
75 75
76 Persistent<ErrorCallback> m_errorCallback; 76 Persistent<ErrorCallback> m_errorCallback;
77 Persistent<DOMFileSystemBase> m_fileSystem; 77 Persistent<DOMFileSystemBase> m_fileSystem;
78 Persistent<ExecutionContext> m_executionContext; 78 Persistent<ExecutionContext> m_executionContext;
79 int m_asyncOperationId; 79 int m_asyncOperationId;
80 }; 80 };
81 81
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
167 void didSucceed() override; 167 void didSucceed() override;
168 168
169 private: 169 private:
170 VoidCallbacks(VoidCallback*, ErrorCallback*, ExecutionContext*, DOMFileSyste mBase*); 170 VoidCallbacks(VoidCallback*, ErrorCallback*, ExecutionContext*, DOMFileSyste mBase*);
171 Persistent<VoidCallback> m_successCallback; 171 Persistent<VoidCallback> m_successCallback;
172 }; 172 };
173 173
174 } // namespace blink 174 } // namespace blink
175 175
176 #endif // FileSystemCallbacks_h 176 #endif // FileSystemCallbacks_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698