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

Side by Side Diff: third_party/WebKit/public/platform/WebURLResponse.h

Issue 2356013002: Remove unused was_fetched_via_proxy members (Closed)
Patch Set: remove even more! Created 4 years, 2 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
« no previous file with comments | « third_party/WebKit/Source/platform/network/ResourceResponse.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 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 220 matching lines...) Expand 10 before | Expand all | Expand 10 after
231 // Flag whether this request was loaded after the TLS/Next-Protocol-Negotiat ion was used. 231 // Flag whether this request was loaded after the TLS/Next-Protocol-Negotiat ion was used.
232 // This is related to SPDY. 232 // This is related to SPDY.
233 BLINK_PLATFORM_EXPORT bool wasNpnNegotiated() const; 233 BLINK_PLATFORM_EXPORT bool wasNpnNegotiated() const;
234 BLINK_PLATFORM_EXPORT void setWasNpnNegotiated(bool); 234 BLINK_PLATFORM_EXPORT void setWasNpnNegotiated(bool);
235 235
236 // Flag whether this request was made when "Alternate-Protocol: xxx" 236 // Flag whether this request was made when "Alternate-Protocol: xxx"
237 // is present in server's response. 237 // is present in server's response.
238 BLINK_PLATFORM_EXPORT bool wasAlternateProtocolAvailable() const; 238 BLINK_PLATFORM_EXPORT bool wasAlternateProtocolAvailable() const;
239 BLINK_PLATFORM_EXPORT void setWasAlternateProtocolAvailable(bool); 239 BLINK_PLATFORM_EXPORT void setWasAlternateProtocolAvailable(bool);
240 240
241 // Flag whether this request was loaded via an explicit proxy (HTTP, SOCKS, etc).
242 BLINK_PLATFORM_EXPORT bool wasFetchedViaProxy() const;
243 BLINK_PLATFORM_EXPORT void setWasFetchedViaProxy(bool);
244
245 // Flag whether this request was loaded via a ServiceWorker. 241 // Flag whether this request was loaded via a ServiceWorker.
246 BLINK_PLATFORM_EXPORT bool wasFetchedViaServiceWorker() const; 242 BLINK_PLATFORM_EXPORT bool wasFetchedViaServiceWorker() const;
247 BLINK_PLATFORM_EXPORT void setWasFetchedViaServiceWorker(bool); 243 BLINK_PLATFORM_EXPORT void setWasFetchedViaServiceWorker(bool);
248 244
249 // Flag whether this request was loaded using a foreign fetch service worker . 245 // Flag whether this request was loaded using a foreign fetch service worker .
250 BLINK_PLATFORM_EXPORT bool wasFetchedViaForeignFetch() const; 246 BLINK_PLATFORM_EXPORT bool wasFetchedViaForeignFetch() const;
251 BLINK_PLATFORM_EXPORT void setWasFetchedViaForeignFetch(bool); 247 BLINK_PLATFORM_EXPORT void setWasFetchedViaForeignFetch(bool);
252 248
253 // Flag whether the fallback request with skip service worker flag was 249 // Flag whether the fallback request with skip service worker flag was
254 // required. 250 // required.
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
323 // instance it contains. 319 // instance it contains.
324 std::unique_ptr<ResourceResponseContainer> m_ownedResourceResponse; 320 std::unique_ptr<ResourceResponseContainer> m_ownedResourceResponse;
325 321
326 // Should never be null. 322 // Should never be null.
327 ResourceResponse* m_resourceResponse; 323 ResourceResponse* m_resourceResponse;
328 }; 324 };
329 325
330 } // namespace blink 326 } // namespace blink
331 327
332 #endif 328 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/platform/network/ResourceResponse.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698