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

Unified Diff: third_party/WebKit/Source/core/fetch/FetchContext.h

Issue 2578983002: Loading: move V8DOMActivityLogger dependency from core/fetch (Closed)
Patch Set: DEPS update Created 4 years 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/WebKit/Source/core/fetch/DEPS ('k') | third_party/WebKit/Source/core/fetch/FetchContext.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/fetch/FetchContext.h
diff --git a/third_party/WebKit/Source/core/fetch/FetchContext.h b/third_party/WebKit/Source/core/fetch/FetchContext.h
index 818fef96ec6633237ddeb67de308e493ff3a064a..7711b93299f3cbfcb8d0ed01f9702dede820bdfc 100644
--- a/third_party/WebKit/Source/core/fetch/FetchContext.h
+++ b/third_party/WebKit/Source/core/fetch/FetchContext.h
@@ -39,6 +39,7 @@
#include "platform/heap/Handle.h"
#include "platform/network/ResourceLoadPriority.h"
#include "platform/network/ResourceRequest.h"
+#include "wtf/Forward.h"
#include "wtf/Noncopyable.h"
namespace blink {
@@ -122,13 +123,17 @@ class CORE_EXPORT FetchContext
virtual bool shouldLoadNewResource(Resource::Type) const { return false; }
// Called when a resource load is first requested, which may not be when the
// load actually begins.
+ // TODO(toyoshim): Consider to use enum. See https://crbug.com/675883.
virtual void willStartLoadingResource(unsigned long identifier,
ResourceRequest&,
- Resource::Type);
+ Resource::Type,
+ const AtomicString& fetchInitiatorName,
+ bool forPreload);
virtual void didLoadResource(Resource*);
virtual void addResourceTiming(const ResourceTimingInfo&);
virtual bool allowImage(bool, const KURL&) const { return false; }
+ // TODO(toyoshim): Consider to use enum. See https://crbug.com/675883.
virtual ResourceRequestBlockedReason canRequest(
Resource::Type,
const ResourceRequest&,
« no previous file with comments | « third_party/WebKit/Source/core/fetch/DEPS ('k') | third_party/WebKit/Source/core/fetch/FetchContext.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698