| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2013 Google Inc. All rights reserved. | 2 * Copyright (C) 2013 Google Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
| 6 * met: | 6 * met: |
| 7 * | 7 * |
| 8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
| (...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 72 #include "platform/loader/fetch/Resource.h" | 72 #include "platform/loader/fetch/Resource.h" |
| 73 #include "platform/loader/fetch/ResourceLoadPriority.h" | 73 #include "platform/loader/fetch/ResourceLoadPriority.h" |
| 74 #include "platform/loader/fetch/ResourceLoadingLog.h" | 74 #include "platform/loader/fetch/ResourceLoadingLog.h" |
| 75 #include "platform/loader/fetch/ResourceTimingInfo.h" | 75 #include "platform/loader/fetch/ResourceTimingInfo.h" |
| 76 #include "platform/loader/fetch/UniqueIdentifier.h" | 76 #include "platform/loader/fetch/UniqueIdentifier.h" |
| 77 #include "platform/mhtml/MHTMLArchive.h" | 77 #include "platform/mhtml/MHTMLArchive.h" |
| 78 #include "platform/network/NetworkStateNotifier.h" | 78 #include "platform/network/NetworkStateNotifier.h" |
| 79 #include "platform/network/NetworkUtils.h" | 79 #include "platform/network/NetworkUtils.h" |
| 80 #include "platform/weborigin/SchemeRegistry.h" | 80 #include "platform/weborigin/SchemeRegistry.h" |
| 81 #include "platform/weborigin/SecurityPolicy.h" | 81 #include "platform/weborigin/SecurityPolicy.h" |
| 82 #include "platform/wtf/Vector.h" |
| 82 #include "public/platform/WebCachePolicy.h" | 83 #include "public/platform/WebCachePolicy.h" |
| 83 #include "public/platform/WebInsecureRequestPolicy.h" | 84 #include "public/platform/WebInsecureRequestPolicy.h" |
| 84 #include "public/platform/WebViewScheduler.h" | 85 #include "public/platform/WebViewScheduler.h" |
| 85 #include "public/platform/modules/serviceworker/WebServiceWorkerNetworkProvider.
h" | 86 #include "public/platform/modules/serviceworker/WebServiceWorkerNetworkProvider.
h" |
| 86 #include "wtf/Vector.h" | |
| 87 | 87 |
| 88 namespace blink { | 88 namespace blink { |
| 89 | 89 |
| 90 namespace { | 90 namespace { |
| 91 | 91 |
| 92 void EmitWarningForDocWriteScripts(const String& url, Document& document) { | 92 void EmitWarningForDocWriteScripts(const String& url, Document& document) { |
| 93 String message = | 93 String message = |
| 94 "A Parser-blocking, cross site (i.e. different eTLD+1) script, " + url + | 94 "A Parser-blocking, cross site (i.e. different eTLD+1) script, " + url + |
| 95 ", is invoked via document.write. The network request for this script " | 95 ", is invoked via document.write. The network request for this script " |
| 96 "MAY be blocked by the browser in this or a future page load due to poor " | 96 "MAY be blocked by the browser in this or a future page load due to poor " |
| (...skipping 975 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1072 return GetFrame()->FrameScheduler()->LoadingTaskRunner(); | 1072 return GetFrame()->FrameScheduler()->LoadingTaskRunner(); |
| 1073 } | 1073 } |
| 1074 | 1074 |
| 1075 DEFINE_TRACE(FrameFetchContext) { | 1075 DEFINE_TRACE(FrameFetchContext) { |
| 1076 visitor->Trace(document_); | 1076 visitor->Trace(document_); |
| 1077 visitor->Trace(document_loader_); | 1077 visitor->Trace(document_loader_); |
| 1078 FetchContext::Trace(visitor); | 1078 FetchContext::Trace(visitor); |
| 1079 } | 1079 } |
| 1080 | 1080 |
| 1081 } // namespace blink | 1081 } // namespace blink |
| OLD | NEW |