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

Side by Side Diff: third_party/WebKit/Source/platform/loader/fetch/FetchContext.h

Issue 2772613002: [instrumentation] Rename InspectorInstrumentation into CoreProbes (Closed)
Patch Set: fix typo Created 3 years, 8 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 29 matching lines...) Expand all
40 #include "platform/loader/fetch/ResourceRequest.h" 40 #include "platform/loader/fetch/ResourceRequest.h"
41 #include "platform/weborigin/SecurityViolationReportingPolicy.h" 41 #include "platform/weborigin/SecurityViolationReportingPolicy.h"
42 #include "wtf/Forward.h" 42 #include "wtf/Forward.h"
43 #include "wtf/Noncopyable.h" 43 #include "wtf/Noncopyable.h"
44 44
45 namespace blink { 45 namespace blink {
46 46
47 class ClientHintsPreferences; 47 class ClientHintsPreferences;
48 class KURL; 48 class KURL;
49 class MHTMLArchive; 49 class MHTMLArchive;
50 class PlatformInstrumentationAgents; 50 class PlatformProbeSink;
51 class ResourceError; 51 class ResourceError;
52 class ResourceResponse; 52 class ResourceResponse;
53 class ResourceTimingInfo; 53 class ResourceTimingInfo;
54 class WebTaskRunner; 54 class WebTaskRunner;
55 enum class WebCachePolicy; 55 enum class WebCachePolicy;
56 56
57 enum FetchResourceType { FetchMainResource, FetchSubresource }; 57 enum FetchResourceType { FetchMainResource, FetchSubresource };
58 58
59 // The FetchContext is an interface for performing context specific processing 59 // The FetchContext is an interface for performing context specific processing
60 // in response to events in the ResourceFetcher. The ResourceFetcher or its job 60 // in response to events in the ResourceFetcher. The ResourceFetcher or its job
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after
191 191
192 virtual MHTMLArchive* archive() const { return nullptr; } 192 virtual MHTMLArchive* archive() const { return nullptr; }
193 193
194 virtual ResourceLoadPriority modifyPriorityForExperiments( 194 virtual ResourceLoadPriority modifyPriorityForExperiments(
195 ResourceLoadPriority priority) { 195 ResourceLoadPriority priority) {
196 return priority; 196 return priority;
197 } 197 }
198 198
199 virtual RefPtr<WebTaskRunner> loadingTaskRunner() const { return nullptr; } 199 virtual RefPtr<WebTaskRunner> loadingTaskRunner() const { return nullptr; }
200 200
201 PlatformInstrumentationAgents* instrumentingAgents() const { 201 PlatformProbeSink* platformProbeSink() const { return m_platformProbeSink; }
202 return m_instrumentingAgents;
203 }
204 202
205 protected: 203 protected:
206 FetchContext(); 204 FetchContext();
207 205
208 private: 206 private:
209 Member<PlatformInstrumentationAgents> m_instrumentingAgents; 207 Member<PlatformProbeSink> m_platformProbeSink;
210 }; 208 };
211 209
212 } // namespace blink 210 } // namespace blink
213 211
214 #endif 212 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698