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

Side by Side Diff: third_party/WebKit/Source/core/loader/modulescript/ModuleScriptFetchRequest.h

Issue 2815053002: Rewrite references to "wtf/" to "platform/wtf/" in core/loader. (Closed)
Patch Set: Created 3 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 2017 The Chromium Authors. All rights reserved. 1 // Copyright 2017 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 ModuleScriptFetchRequest_h 5 #ifndef ModuleScriptFetchRequest_h
6 #define ModuleScriptFetchRequest_h 6 #define ModuleScriptFetchRequest_h
7 7
8 #include "platform/loader/fetch/ResourceLoaderOptions.h" 8 #include "platform/loader/fetch/ResourceLoaderOptions.h"
9 #include "platform/weborigin/KURL.h" 9 #include "platform/weborigin/KURL.h"
10 #include "platform/weborigin/Referrer.h" 10 #include "platform/weborigin/Referrer.h"
11 #include "platform/wtf/text/WTFString.h"
11 #include "public/platform/WebURLRequest.h" 12 #include "public/platform/WebURLRequest.h"
12 #include "wtf/text/WTFString.h"
13 13
14 namespace blink { 14 namespace blink {
15 15
16 // A ModuleScriptFetchRequest is a "parameter object" for 16 // A ModuleScriptFetchRequest is a "parameter object" for
17 // Modulator::fetch{,New}SingleModule to avoid the methods having too many 17 // Modulator::fetch{,New}SingleModule to avoid the methods having too many
18 // arguments. 18 // arguments.
19 // In terms of spec, a ModuleScriptFetchRequest carries most of the arguments 19 // In terms of spec, a ModuleScriptFetchRequest carries most of the arguments
20 // for "fetch a single module script" algorithm: 20 // for "fetch a single module script" algorithm:
21 // https://html.spec.whatwg.org/#fetch-a-single-module-script 21 // https://html.spec.whatwg.org/#fetch-a-single-module-script
22 class ModuleScriptFetchRequest final { 22 class ModuleScriptFetchRequest final {
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 const KURL url_; 60 const KURL url_;
61 const String nonce_; 61 const String nonce_;
62 const ParserDisposition parser_state_; 62 const ParserDisposition parser_state_;
63 const WebURLRequest::FetchCredentialsMode credentials_mode_; 63 const WebURLRequest::FetchCredentialsMode credentials_mode_;
64 const AtomicString referrer_; 64 const AtomicString referrer_;
65 }; 65 };
66 66
67 } // namespace blink 67 } // namespace blink
68 68
69 #endif 69 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698