| OLD | NEW |
| 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 Loading... |
| 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 |
| OLD | NEW |