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

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

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, 10 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 #include "modules/serviceworkers/FetchEvent.h" 5 #include "modules/serviceworkers/FetchEvent.h"
6 6
7 #include "modules/fetch/Request.h" 7 #include "modules/fetch/Request.h"
8 #include "modules/serviceworkers/ServiceWorkerGlobalScope.h" 8 #include "modules/serviceworkers/ServiceWorkerGlobalScope.h"
9 #include "wtf/RefPtr.h" 9 #include "wtf/RefPtr.h"
10 10
11 namespace blink { 11 namespace blink {
12 12
13 PassRefPtrWillBeRawPtr<FetchEvent> FetchEvent::create() 13 RawPtr<FetchEvent> FetchEvent::create()
14 { 14 {
15 return adoptRefWillBeNoop(new FetchEvent()); 15 return (new FetchEvent());
16 } 16 }
17 17
18 PassRefPtrWillBeRawPtr<FetchEvent> FetchEvent::create(const AtomicString& type, const FetchEventInit& initializer) 18 RawPtr<FetchEvent> FetchEvent::create(const AtomicString& type, const FetchEvent Init& initializer)
19 { 19 {
20 return adoptRefWillBeNoop(new FetchEvent(type, initializer, nullptr)); 20 return (new FetchEvent(type, initializer, nullptr));
21 } 21 }
22 22
23 PassRefPtrWillBeRawPtr<FetchEvent> FetchEvent::create(const AtomicString& type, const FetchEventInit& initializer, RespondWithObserver* observer) 23 RawPtr<FetchEvent> FetchEvent::create(const AtomicString& type, const FetchEvent Init& initializer, RespondWithObserver* observer)
24 { 24 {
25 return adoptRefWillBeNoop(new FetchEvent(type, initializer, observer)); 25 return (new FetchEvent(type, initializer, observer));
26 } 26 }
27 27
28 Request* FetchEvent::request() const 28 Request* FetchEvent::request() const
29 { 29 {
30 return m_request; 30 return m_request;
31 } 31 }
32 32
33 String FetchEvent::clientId() const 33 String FetchEvent::clientId() const
34 { 34 {
35 return m_clientId; 35 return m_clientId;
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 } 67 }
68 68
69 DEFINE_TRACE(FetchEvent) 69 DEFINE_TRACE(FetchEvent)
70 { 70 {
71 visitor->trace(m_observer); 71 visitor->trace(m_observer);
72 visitor->trace(m_request); 72 visitor->trace(m_request);
73 ExtendableEvent::trace(visitor); 73 ExtendableEvent::trace(visitor);
74 } 74 }
75 75
76 } // namespace blink 76 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698