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

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

Issue 2676163002: Refactor the forPreload flag to mean speculative preload. (Closed)
Patch Set: Renamed ReportingPolicy and moved comments Created 3 years, 10 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 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 void FetchContext::dispatchDidFail(unsigned long, 85 void FetchContext::dispatchDidFail(unsigned long,
86 const ResourceError&, 86 const ResourceError&,
87 int64_t, 87 int64_t,
88 bool) {} 88 bool) {}
89 89
90 void FetchContext::willStartLoadingResource( 90 void FetchContext::willStartLoadingResource(
91 unsigned long, 91 unsigned long,
92 ResourceRequest&, 92 ResourceRequest&,
93 Resource::Type, 93 Resource::Type,
94 const AtomicString& fetchInitiatorName, 94 const AtomicString& fetchInitiatorName,
95 bool) {} 95 V8ActivityLoggingPolicy) {}
96 96
97 void FetchContext::didLoadResource(Resource*) {} 97 void FetchContext::didLoadResource(Resource*) {}
98 98
99 void FetchContext::addResourceTiming(const ResourceTimingInfo&) {} 99 void FetchContext::addResourceTiming(const ResourceTimingInfo&) {}
100 100
101 void FetchContext::sendImagePing(const KURL&) {} 101 void FetchContext::sendImagePing(const KURL&) {}
102 102
103 void FetchContext::addConsoleMessage(const String&, 103 void FetchContext::addConsoleMessage(const String&,
104 FetchContext::LogMessageType) const {} 104 FetchContext::LogMessageType) const {}
105 105
106 void FetchContext::populateResourceRequest(Resource::Type, 106 void FetchContext::populateResourceRequest(Resource::Type,
107 const ClientHintsPreferences&, 107 const ClientHintsPreferences&,
108 const FetchRequest::ResourceWidth&, 108 const FetchRequest::ResourceWidth&,
109 ResourceRequest&) {} 109 ResourceRequest&) {}
110 110
111 void FetchContext::setFirstPartyCookieAndRequestorOrigin(ResourceRequest&) {} 111 void FetchContext::setFirstPartyCookieAndRequestorOrigin(ResourceRequest&) {}
112 112
113 } // namespace blink 113 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698