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

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

Issue 1686483002: Oilpan: Remove most WillBe types from the code base (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
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(RawPtr<CB>, CBArg*); 71 void handleEventOrScheduleCallback(RawPtr<CB>, CBArg*);
72 72
73 template <typename CB> 73 template <typename CB>
74 void handleEventOrScheduleCallback(RawPtr<CB>); 74 void handleEventOrScheduleCallback(RawPtr<CB>);
75 75
76 Persistent<ErrorCallback> m_errorCallback; 76 Persistent<ErrorCallback> m_errorCallback;
77 Persistent<DOMFileSystemBase> m_fileSystem; 77 Persistent<DOMFileSystemBase> m_fileSystem;
78 RefPtrWillBePersistent<ExecutionContext> m_executionContext; 78 Persistent<ExecutionContext> m_executionContext;
79 int m_asyncOperationId; 79 int m_asyncOperationId;
80 }; 80 };
81 81
82 // Subclasses ---------------------------------------------------------------- 82 // Subclasses ----------------------------------------------------------------
83 83
84 class EntryCallbacks final : public FileSystemCallbacksBase { 84 class EntryCallbacks final : public FileSystemCallbacksBase {
85 public: 85 public:
86 static PassOwnPtr<AsyncFileSystemCallbacks> create(EntryCallback*, ErrorCall back*, ExecutionContext*, DOMFileSystemBase*, const String& expectedPath, bool i sDirectory); 86 static PassOwnPtr<AsyncFileSystemCallbacks> create(EntryCallback*, ErrorCall back*, ExecutionContext*, DOMFileSystemBase*, const String& expectedPath, bool i sDirectory);
87 void didSucceed() override; 87 void didSucceed() override;
88 88
(...skipping 78 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