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

Side by Side Diff: third_party/WebKit/Source/core/loader/FrameFetchContext.cpp

Issue 2843503002: scheduler: Move WebFrameScheduler and WebScheduler into Blink (Closed)
Patch Set: Build fix Created 3 years, 7 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 /* 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 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 #include "platform/loader/fetch/ClientHintsPreferences.h" 71 #include "platform/loader/fetch/ClientHintsPreferences.h"
72 #include "platform/loader/fetch/FetchInitiatorTypeNames.h" 72 #include "platform/loader/fetch/FetchInitiatorTypeNames.h"
73 #include "platform/loader/fetch/Resource.h" 73 #include "platform/loader/fetch/Resource.h"
74 #include "platform/loader/fetch/ResourceLoadPriority.h" 74 #include "platform/loader/fetch/ResourceLoadPriority.h"
75 #include "platform/loader/fetch/ResourceLoadingLog.h" 75 #include "platform/loader/fetch/ResourceLoadingLog.h"
76 #include "platform/loader/fetch/ResourceTimingInfo.h" 76 #include "platform/loader/fetch/ResourceTimingInfo.h"
77 #include "platform/loader/fetch/UniqueIdentifier.h" 77 #include "platform/loader/fetch/UniqueIdentifier.h"
78 #include "platform/mhtml/MHTMLArchive.h" 78 #include "platform/mhtml/MHTMLArchive.h"
79 #include "platform/network/NetworkStateNotifier.h" 79 #include "platform/network/NetworkStateNotifier.h"
80 #include "platform/network/NetworkUtils.h" 80 #include "platform/network/NetworkUtils.h"
81 #include "platform/scheduler/renderer/web_view_scheduler.h"
81 #include "platform/weborigin/SchemeRegistry.h" 82 #include "platform/weborigin/SchemeRegistry.h"
82 #include "platform/wtf/Vector.h" 83 #include "platform/wtf/Vector.h"
83 #include "public/platform/WebCachePolicy.h" 84 #include "public/platform/WebCachePolicy.h"
84 #include "public/platform/WebInsecureRequestPolicy.h" 85 #include "public/platform/WebInsecureRequestPolicy.h"
85 #include "public/platform/WebViewScheduler.h"
86 #include "public/platform/modules/serviceworker/WebServiceWorkerNetworkProvider. h" 86 #include "public/platform/modules/serviceworker/WebServiceWorkerNetworkProvider. 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 "
(...skipping 806 matching lines...) Expand 10 before | Expand all | Expand 10 after
902 return MixedContentChecker::ShouldBlockFetch(GetFrame(), resource_request, 902 return MixedContentChecker::ShouldBlockFetch(GetFrame(), resource_request,
903 url, reporting_policy); 903 url, reporting_policy);
904 } 904 }
905 905
906 DEFINE_TRACE(FrameFetchContext) { 906 DEFINE_TRACE(FrameFetchContext) {
907 visitor->Trace(document_loader_); 907 visitor->Trace(document_loader_);
908 BaseFetchContext::Trace(visitor); 908 BaseFetchContext::Trace(visitor);
909 } 909 }
910 910
911 } // namespace blink 911 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutText.cpp ('k') | third_party/WebKit/Source/core/loader/NavigationScheduler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698