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

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

Issue 2572373003: Loading: pass minimum information to Resource::resourceTypeToString() (Closed)
Patch Set: review #9 #11 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 | « no previous file | third_party/WebKit/Source/core/fetch/Resource.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/Resource.h
diff --git a/third_party/WebKit/Source/core/fetch/Resource.h b/third_party/WebKit/Source/core/fetch/Resource.h
index ec76855e5f451b4b609e3616d68212abb4bdaef4..a0b81cdc59c105eb31f4e7f007dbc36a32d35ab2 100644
--- a/third_party/WebKit/Source/core/fetch/Resource.h
+++ b/third_party/WebKit/Source/core/fetch/Resource.h
@@ -42,12 +42,12 @@
#include "wtf/AutoReset.h"
#include "wtf/HashCountedSet.h"
#include "wtf/HashSet.h"
+#include "wtf/text/AtomicString.h"
#include "wtf/text/WTFString.h"
#include <memory>
namespace blink {
-struct FetchInitiatorInfo;
class FetchRequest;
class ResourceClient;
class ResourceFetcher;
@@ -347,7 +347,9 @@ class CORE_EXPORT Resource : public GarbageCollectedFinalized<Resource>,
virtual void reloadIfLoFiOrPlaceholderImage(ResourceFetcher*,
ReloadLoFiOrPlaceholderPolicy) {}
- static const char* resourceTypeToString(Type, const FetchInitiatorInfo&);
+ static const char* resourceTypeToString(
+ Type,
+ const AtomicString& fetchInitiatorName);
protected:
Resource(const ResourceRequest&, Type, const ResourceLoaderOptions&);
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/fetch/Resource.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698