| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef FetchEvent_h | 5 #ifndef FetchEvent_h |
| 6 #define FetchEvent_h | 6 #define FetchEvent_h |
| 7 | 7 |
| 8 #include "bindings/core/v8/ScriptPromise.h" | 8 #include "bindings/core/v8/ScriptPromise.h" |
| 9 #include "bindings/core/v8/ScriptPromiseProperty.h" | 9 #include "bindings/core/v8/ScriptPromiseProperty.h" |
| 10 #include "modules/EventModules.h" | 10 #include "modules/EventModules.h" |
| (...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 67 protected: | 67 protected: |
| 68 FetchEvent(ScriptState*, | 68 FetchEvent(ScriptState*, |
| 69 const AtomicString& type, | 69 const AtomicString& type, |
| 70 const FetchEventInit&, | 70 const FetchEventInit&, |
| 71 RespondWithObserver*, | 71 RespondWithObserver*, |
| 72 WaitUntilObserver*, | 72 WaitUntilObserver*, |
| 73 bool navigationPreloadSent); | 73 bool navigationPreloadSent); |
| 74 | 74 |
| 75 private: | 75 private: |
| 76 Member<RespondWithObserver> m_observer; | 76 Member<RespondWithObserver> m_observer; |
| 77 // TODO(sof): remove once crbug.com/655926 has been diagnosed. | 77 Member<Request> m_request; |
| 78 SameThreadCheckedMember<Request> m_request; | |
| 79 Member<PreloadResponseProperty> m_preloadResponseProperty; | 78 Member<PreloadResponseProperty> m_preloadResponseProperty; |
| 80 String m_clientId; | 79 String m_clientId; |
| 81 bool m_isReload; | 80 bool m_isReload; |
| 82 }; | 81 }; |
| 83 | 82 |
| 84 } // namespace blink | 83 } // namespace blink |
| 85 | 84 |
| 86 #endif // FetchEvent_h | 85 #endif // FetchEvent_h |
| OLD | NEW |