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

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: fix 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
82 void FetchContext::dispatchDidDownloadData(unsigned long, int, int) {} 81 void FetchContext::dispatchDidDownloadData(unsigned long, int, int) {}
83 82
84 void FetchContext::dispatchDidFinishLoading(unsigned long, double, int64_t) {} 83 void FetchContext::dispatchDidFinishLoading(unsigned long, double, int64_t) {}
85 84
86 void FetchContext::dispatchDidFail(unsigned long, const ResourceError&, bool) {} 85 void FetchContext::dispatchDidFail(unsigned long,
86 const ResourceError&,
87 int64_t,
88 bool) {}
87 89
88 void FetchContext::willStartLoadingResource(unsigned long, 90 void FetchContext::willStartLoadingResource(unsigned long,
89 ResourceRequest&, 91 ResourceRequest&,
90 Resource::Type) {} 92 Resource::Type) {}
91 93
92 void FetchContext::didLoadResource(Resource*) {} 94 void FetchContext::didLoadResource(Resource*) {}
93 95
94 void FetchContext::addResourceTiming(const ResourceTimingInfo&) {} 96 void FetchContext::addResourceTiming(const ResourceTimingInfo&) {}
95 97
96 void FetchContext::sendImagePing(const KURL&) {} 98 void FetchContext::sendImagePing(const KURL&) {}
97 99
98 void FetchContext::addConsoleMessage(const String&, 100 void FetchContext::addConsoleMessage(const String&,
99 FetchContext::LogMessageType) const {} 101 FetchContext::LogMessageType) const {}
100 102
101 void FetchContext::modifyRequestForCSP(ResourceRequest&) {} 103 void FetchContext::modifyRequestForCSP(ResourceRequest&) {}
102 104
103 void FetchContext::addClientHintsIfNecessary(FetchRequest&) {} 105 void FetchContext::addClientHintsIfNecessary(FetchRequest&) {}
104 106
105 void FetchContext::addCSPHeaderIfNecessary(Resource::Type, FetchRequest&) {} 107 void FetchContext::addCSPHeaderIfNecessary(Resource::Type, FetchRequest&) {}
106 108
107 void FetchContext::populateRequestData(ResourceRequest&) {} 109 void FetchContext::populateRequestData(ResourceRequest&) {}
108 110
109 } // namespace blink 111 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698