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

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

Issue 1899873006: Make Response::body return v8-extra based stream behind flag (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@notify-locked-released
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 // 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 RespondWithObserver_h 5 #ifndef RespondWithObserver_h
6 #define RespondWithObserver_h 6 #define RespondWithObserver_h
7 7
8 #include "core/dom/ContextLifecycleObserver.h" 8 #include "core/dom/ContextLifecycleObserver.h"
9 #include "core/events/EventTarget.h" 9 #include "core/events/EventTarget.h"
10 #include "modules/ModulesExport.h" 10 #include "modules/ModulesExport.h"
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 RespondWithObserver(ExecutionContext*, int eventID, const KURL& requestURL, WebURLRequest::FetchRequestMode, WebURLRequest::FrameType, WebURLRequest::Reques tContext); 46 RespondWithObserver(ExecutionContext*, int eventID, const KURL& requestURL, WebURLRequest::FetchRequestMode, WebURLRequest::FrameType, WebURLRequest::Reques tContext);
47 47
48 private: 48 private:
49 class ThenFunction; 49 class ThenFunction;
50 50
51 int m_eventID; 51 int m_eventID;
52 KURL m_requestURL; 52 KURL m_requestURL;
53 WebURLRequest::FetchRequestMode m_requestMode; 53 WebURLRequest::FetchRequestMode m_requestMode;
54 WebURLRequest::FrameType m_frameType; 54 WebURLRequest::FrameType m_frameType;
55 WebURLRequest::RequestContext m_requestContext; 55 WebURLRequest::RequestContext m_requestContext;
56 RefPtr<ScriptState> m_scriptState;
tyoshino (SeeGerritForStatus) 2016/04/22 07:53:01 for what?
yhirano 2016/04/22 08:04:42 It's no long used. Deleted.
56 57
57 enum State { Initial, Pending, Done }; 58 enum State { Initial, Pending, Done };
58 State m_state; 59 State m_state;
59 }; 60 };
60 61
61 } // namespace blink 62 } // namespace blink
62 63
63 #endif // RespondWithObserver_h 64 #endif // RespondWithObserver_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698