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

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: Rebased, and closure annotations 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 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 void didFail(int code) final; 62 void didFail(int code) final;
63 63
64 // Other callback methods are implemented by each subclass. 64 // Other callback methods are implemented by each subclass.
65 65
66 protected: 66 protected:
67 FileSystemCallbacksBase(ErrorCallback*, DOMFileSystemBase*, ExecutionContext *); 67 FileSystemCallbacksBase(ErrorCallback*, DOMFileSystemBase*, ExecutionContext *);
68 68
69 bool shouldScheduleCallback() const; 69 bool shouldScheduleCallback() const;
70 70
71 template <typename CB, typename CBArg> 71 template <typename CB, typename CBArg>
72 void handleEventOrScheduleCallback(CB*, CBArg*); 72 void handleEventOrScheduleCallback(CB*, CBArg);
73 73
74 template <typename CB> 74 template <typename CB>
75 void handleEventOrScheduleCallback(CB*); 75 void handleEventOrScheduleCallback(CB*);
76 76
77 Persistent<ErrorCallback> m_errorCallback; 77 Persistent<ErrorCallback> m_errorCallback;
78 Persistent<DOMFileSystemBase> m_fileSystem; 78 Persistent<DOMFileSystemBase> m_fileSystem;
79 Persistent<ExecutionContext> m_executionContext; 79 Persistent<ExecutionContext> m_executionContext;
80 int m_asyncOperationId; 80 int m_asyncOperationId;
81 }; 81 };
82 82
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
168 void didSucceed() override; 168 void didSucceed() override;
169 169
170 private: 170 private:
171 VoidCallbacks(VoidCallback*, ErrorCallback*, ExecutionContext*, DOMFileSyste mBase*); 171 VoidCallbacks(VoidCallback*, ErrorCallback*, ExecutionContext*, DOMFileSyste mBase*);
172 Persistent<VoidCallback> m_successCallback; 172 Persistent<VoidCallback> m_successCallback;
173 }; 173 };
174 174
175 } // namespace blink 175 } // namespace blink
176 176
177 #endif // FileSystemCallbacks_h 177 #endif // FileSystemCallbacks_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698