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

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

Issue 2939773005: [POC] Implement "module responses map" concept (Closed)
Patch Set: rebase Created 3 years, 5 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 ModuleScriptCreationParams_h 5 #ifndef ModuleScriptCreationParams_h
6 #define ModuleScriptCreationParams_h 6 #define ModuleScriptCreationParams_h
7 7
8 #include "platform/CrossThreadCopier.h" 8 #include "platform/CrossThreadCopier.h"
9 #include "platform/loader/fetch/AccessControlStatus.h" 9 #include "platform/loader/fetch/AccessControlStatus.h"
10 #include "platform/weborigin/KURL.h" 10 #include "platform/weborigin/KURL.h"
(...skipping 26 matching lines...) Expand all
37 return access_control_status_; 37 return access_control_status_;
38 } 38 }
39 39
40 private: 40 private:
41 const KURL response_url_; 41 const KURL response_url_;
42 const String source_text_; 42 const String source_text_;
43 const WebURLRequest::FetchCredentialsMode fetch_credentials_mode_; 43 const WebURLRequest::FetchCredentialsMode fetch_credentials_mode_;
44 const AccessControlStatus access_control_status_; 44 const AccessControlStatus access_control_status_;
45 }; 45 };
46 46
47 template <>
48 struct CrossThreadCopier<ModuleScriptCreationParams>
49 : public CrossThreadCopierPassThrough<ModuleScriptCreationParams> {};
50
47 } // namespace blink 51 } // namespace blink
48 52
49 #endif // ModuleScriptCreationParams_h 53 #endif // ModuleScriptCreationParams_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698