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

Side by Side Diff: third_party/WebKit/Source/platform/exported/WebServiceWorkerRequest.cpp

Issue 1882003002: include RefCounted.h where needed, only. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: compile fix 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 #include "public/platform/modules/serviceworker/WebServiceWorkerRequest.h" 5 #include "public/platform/modules/serviceworker/WebServiceWorkerRequest.h"
6 6
7 #include "platform/blob/BlobData.h" 7 #include "platform/blob/BlobData.h"
8 #include "platform/weborigin/KURL.h" 8 #include "platform/weborigin/KURL.h"
9 #include "public/platform/WebHTTPHeaderVisitor.h" 9 #include "public/platform/WebHTTPHeaderVisitor.h"
10 #include "public/platform/WebString.h" 10 #include "public/platform/WebString.h"
11 #include "public/platform/WebURLRequest.h" 11 #include "public/platform/WebURLRequest.h"
12 #include "wtf/RefCounted.h"
12 13
13 namespace blink { 14 namespace blink {
14 15
15 class WebServiceWorkerRequestPrivate : public RefCounted<WebServiceWorkerRequest Private> { 16 class WebServiceWorkerRequestPrivate : public RefCounted<WebServiceWorkerRequest Private> {
16 public: 17 public:
17 WebServiceWorkerRequestPrivate() 18 WebServiceWorkerRequestPrivate()
18 : m_mode(WebURLRequest::FetchRequestModeNoCORS) 19 : m_mode(WebURLRequest::FetchRequestModeNoCORS)
19 , m_isMainResourceLoad(false) 20 , m_isMainResourceLoad(false)
20 , m_credentialsMode(WebURLRequest::FetchCredentialsModeOmit) 21 , m_credentialsMode(WebURLRequest::FetchCredentialsModeOmit)
21 , m_redirectMode(WebURLRequest::FetchRedirectModeFollow) 22 , m_redirectMode(WebURLRequest::FetchRedirectModeFollow)
(...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after
210 { 211 {
211 m_private->m_isReload = isReload; 212 m_private->m_isReload = isReload;
212 } 213 }
213 214
214 bool WebServiceWorkerRequest::isReload() const 215 bool WebServiceWorkerRequest::isReload() const
215 { 216 {
216 return m_private->m_isReload; 217 return m_private->m_isReload;
217 } 218 }
218 219
219 } // namespace blink 220 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698