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

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

Issue 2487763003: [ImageLoader 2d] Set DecodeError by calling ResourceLoader::cancel()
Patch Set: Rebase Created 4 years, 1 month 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 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 76
77 void FetchContext::dispatchDidReceiveData(unsigned long, 77 void FetchContext::dispatchDidReceiveData(unsigned long,
78 const char*, 78 const char*,
79 int, 79 int,
80 int) {} 80 int) {}
81 81
82 void FetchContext::dispatchDidDownloadData(unsigned long, int, int) {} 82 void FetchContext::dispatchDidDownloadData(unsigned long, int, int) {}
83 83
84 void FetchContext::dispatchDidFinishLoading(unsigned long, double, int64_t) {} 84 void FetchContext::dispatchDidFinishLoading(unsigned long, double, int64_t) {}
85 85
86 void FetchContext::dispatchDidFail(unsigned long, const ResourceError&, bool) {} 86 void FetchContext::dispatchDidFail(unsigned long,
87 const ResourceError&,
88 bool,
89 bool) {}
87 90
88 void FetchContext::willStartLoadingResource(unsigned long, 91 void FetchContext::willStartLoadingResource(unsigned long,
89 ResourceRequest&, 92 ResourceRequest&,
90 Resource::Type) {} 93 Resource::Type) {}
91 94
92 void FetchContext::didLoadResource(Resource*) {} 95 void FetchContext::didLoadResource(Resource*) {}
93 96
94 void FetchContext::addResourceTiming(const ResourceTimingInfo&) {} 97 void FetchContext::addResourceTiming(const ResourceTimingInfo&) {}
95 98
96 void FetchContext::sendImagePing(const KURL&) {} 99 void FetchContext::sendImagePing(const KURL&) {}
97 100
98 void FetchContext::addConsoleMessage(const String&, 101 void FetchContext::addConsoleMessage(const String&,
99 FetchContext::LogMessageType) const {} 102 FetchContext::LogMessageType) const {}
100 103
101 void FetchContext::modifyRequestForCSP(ResourceRequest&) {} 104 void FetchContext::modifyRequestForCSP(ResourceRequest&) {}
102 105
103 void FetchContext::addClientHintsIfNecessary(FetchRequest&) {} 106 void FetchContext::addClientHintsIfNecessary(FetchRequest&) {}
104 107
105 void FetchContext::addCSPHeaderIfNecessary(Resource::Type, FetchRequest&) {} 108 void FetchContext::addCSPHeaderIfNecessary(Resource::Type, FetchRequest&) {}
106 109
107 void FetchContext::populateRequestData(ResourceRequest&) {} 110 void FetchContext::populateRequestData(ResourceRequest&) {}
108 111
109 } // namespace blink 112 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/fetch/FetchContext.h ('k') | third_party/WebKit/Source/core/fetch/ImageResource.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698