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

Side by Side Diff: third_party/WebKit/Source/core/fetch/ResourceLoader.h

Issue 2535383003: Collapse images disallowed by the Safe Browsing Subresource Filter. (Closed)
Patch Set: Rebase. 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) 2005, 2006, 2011 Apple Inc. All rights reserved. 2 * Copyright (C) 2005, 2006, 2011 Apple 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 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 7 *
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. 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 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 int64_t encodedDataLength, 105 int64_t encodedDataLength,
106 int64_t encodedBodyLength) override; 106 int64_t encodedBodyLength) override;
107 107
108 void didFinishLoadingFirstPartInMultipart(); 108 void didFinishLoadingFirstPartInMultipart();
109 void didFail(const ResourceError&); 109 void didFail(const ResourceError&);
110 110
111 private: 111 private:
112 // Assumes ResourceFetcher and Resource are non-null. 112 // Assumes ResourceFetcher and Resource are non-null.
113 ResourceLoader(ResourceFetcher*, Resource*); 113 ResourceLoader(ResourceFetcher*, Resource*);
114 114
115 void cancelForRedirectAccessCheckError(const KURL&); 115 void cancelForRedirectAccessCheckError(const KURL&,
116 ResourceRequestBlockedReason);
116 void requestSynchronously(const ResourceRequest&); 117 void requestSynchronously(const ResourceRequest&);
117 118
118 std::unique_ptr<WebURLLoader> m_loader; 119 std::unique_ptr<WebURLLoader> m_loader;
119 Member<ResourceFetcher> m_fetcher; 120 Member<ResourceFetcher> m_fetcher;
120 Member<Resource> m_resource; 121 Member<Resource> m_resource;
121 bool m_isCacheAwareLoadingActivated; 122 bool m_isCacheAwareLoadingActivated;
122 }; 123 };
123 124
124 } // namespace blink 125 } // namespace blink
125 126
126 #endif 127 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/fetch/ResourceFetcher.cpp ('k') | third_party/WebKit/Source/core/fetch/ResourceLoader.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698