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

Side by Side Diff: third_party/WebKit/Source/modules/serviceworkers/FetchEvent.h

Issue 2629613002: Revert "Verify that FetchEvent::m_request holds same-thread reference." (Closed)
Patch Set: Created 3 years, 11 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698