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

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

Issue 2519893002: Stop dispatching encoded-data-length on each data chunk arrival (Closed)
Patch Set: PS5 again 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 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 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 WebURLRequest::RequestContext) {} 69 WebURLRequest::RequestContext) {}
70 70
71 void FetchContext::dispatchDidReceiveResponse(unsigned long, 71 void FetchContext::dispatchDidReceiveResponse(unsigned long,
72 const ResourceResponse&, 72 const ResourceResponse&,
73 WebURLRequest::FrameType, 73 WebURLRequest::FrameType,
74 WebURLRequest::RequestContext, 74 WebURLRequest::RequestContext,
75 Resource*) {} 75 Resource*) {}
76 76
77 void FetchContext::dispatchDidReceiveData(unsigned long, 77 void FetchContext::dispatchDidReceiveData(unsigned long,
78 const char*, 78 const char*,
79 int,
80 int) {} 79 int) {}
81 80
81 void FetchContext::dispatchDidReceiveEncodedData(unsigned long, int) {}
82
82 void FetchContext::dispatchDidDownloadData(unsigned long, int, int) {} 83 void FetchContext::dispatchDidDownloadData(unsigned long, int, int) {}
83 84
84 void FetchContext::dispatchDidFinishLoading(unsigned long, double, int64_t) {} 85 void FetchContext::dispatchDidFinishLoading(unsigned long, double, int64_t) {}
85 86
86 void FetchContext::dispatchDidFail(unsigned long, const ResourceError&, bool) {} 87 void FetchContext::dispatchDidFail(unsigned long,
88 const ResourceError&,
89 int64_t,
90 bool) {}
87 91
88 void FetchContext::willStartLoadingResource(unsigned long, 92 void FetchContext::willStartLoadingResource(unsigned long,
89 ResourceRequest&, 93 ResourceRequest&,
90 Resource::Type) {} 94 Resource::Type) {}
91 95
92 void FetchContext::didLoadResource(Resource*) {} 96 void FetchContext::didLoadResource(Resource*) {}
93 97
94 void FetchContext::addResourceTiming(const ResourceTimingInfo&) {} 98 void FetchContext::addResourceTiming(const ResourceTimingInfo&) {}
95 99
96 void FetchContext::sendImagePing(const KURL&) {} 100 void FetchContext::sendImagePing(const KURL&) {}
97 101
98 void FetchContext::addConsoleMessage(const String&, 102 void FetchContext::addConsoleMessage(const String&,
99 FetchContext::LogMessageType) const {} 103 FetchContext::LogMessageType) const {}
100 104
101 void FetchContext::modifyRequestForCSP(ResourceRequest&) {} 105 void FetchContext::modifyRequestForCSP(ResourceRequest&) {}
102 106
103 void FetchContext::addClientHintsIfNecessary(FetchRequest&) {} 107 void FetchContext::addClientHintsIfNecessary(FetchRequest&) {}
104 108
105 void FetchContext::addCSPHeaderIfNecessary(Resource::Type, FetchRequest&) {} 109 void FetchContext::addCSPHeaderIfNecessary(Resource::Type, FetchRequest&) {}
106 110
107 void FetchContext::populateRequestData(ResourceRequest&) {} 111 void FetchContext::populateRequestData(ResourceRequest&) {}
108 112
109 } // namespace blink 113 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698