OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2011 Google Inc. All rights reserved. | 2 * Copyright (C) 2011 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 16 matching lines...) Expand all Loading... |
27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | 27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
29 */ | 29 */ |
30 | 30 |
31 #ifndef StorageQuotaCallbacksImpl_h | 31 #ifndef StorageQuotaCallbacksImpl_h |
32 #define StorageQuotaCallbacksImpl_h | 32 #define StorageQuotaCallbacksImpl_h |
33 | 33 |
34 #include "bindings/core/v8/ScriptPromiseResolver.h" | 34 #include "bindings/core/v8/ScriptPromiseResolver.h" |
35 #include "modules/ModulesExport.h" | 35 #include "modules/ModulesExport.h" |
36 #include "platform/StorageQuotaCallbacks.h" | 36 #include "platform/StorageQuotaCallbacks.h" |
37 #include "wtf/OwnPtr.h" | |
38 #include "wtf/PassRefPtr.h" | 37 #include "wtf/PassRefPtr.h" |
39 #include "wtf/RefPtr.h" | 38 #include "wtf/RefPtr.h" |
40 | 39 |
41 namespace blink { | 40 namespace blink { |
42 | 41 |
43 class MODULES_EXPORT StorageQuotaCallbacksImpl final : public StorageQuotaCallba
cks { | 42 class MODULES_EXPORT StorageQuotaCallbacksImpl final : public StorageQuotaCallba
cks { |
44 WTF_MAKE_NONCOPYABLE(StorageQuotaCallbacksImpl); | 43 WTF_MAKE_NONCOPYABLE(StorageQuotaCallbacksImpl); |
45 public: | 44 public: |
46 static StorageQuotaCallbacksImpl* create(ScriptPromiseResolver* resolver) | 45 static StorageQuotaCallbacksImpl* create(ScriptPromiseResolver* resolver) |
47 { | 46 { |
(...skipping 10 matching lines...) Expand all Loading... |
58 | 57 |
59 private: | 58 private: |
60 explicit StorageQuotaCallbacksImpl(ScriptPromiseResolver*); | 59 explicit StorageQuotaCallbacksImpl(ScriptPromiseResolver*); |
61 | 60 |
62 Member<ScriptPromiseResolver> m_resolver; | 61 Member<ScriptPromiseResolver> m_resolver; |
63 }; | 62 }; |
64 | 63 |
65 } // namespace blink | 64 } // namespace blink |
66 | 65 |
67 #endif // StorageQuotaCallbacksImpl_h | 66 #endif // StorageQuotaCallbacksImpl_h |
OLD | NEW |