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

Side by Side Diff: third_party/WebKit/Source/platform/network/ResourceRequest.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
« no previous file with comments | « third_party/WebKit/Source/platform/network/ResourceError.cpp ('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) 2003, 2006 Apple Computer, Inc. All rights reserved. 2 * Copyright (C) 2003, 2006 Apple Computer, Inc. All rights reserved.
3 * Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com> 3 * Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com>
4 * Copyright (C) 2009, 2012 Google Inc. All rights reserved. 4 * Copyright (C) 2009, 2012 Google Inc. All rights reserved.
5 * 5 *
6 * Redistribution and use in source and binary forms, with or without 6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions 7 * modification, are permitted provided that the following conditions
8 * are met: 8 * are met:
9 * 1. Redistributions of source code must retain the above copyright 9 * 1. Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 27 matching lines...) Expand all
38 #include "platform/weborigin/SecurityOrigin.h" 38 #include "platform/weborigin/SecurityOrigin.h"
39 #include "public/platform/WebAddressSpace.h" 39 #include "public/platform/WebAddressSpace.h"
40 #include "public/platform/WebURLRequest.h" 40 #include "public/platform/WebURLRequest.h"
41 #include "wtf/RefCounted.h" 41 #include "wtf/RefCounted.h"
42 #include <memory> 42 #include <memory>
43 43
44 namespace blink { 44 namespace blink {
45 45
46 enum class WebCachePolicy; 46 enum class WebCachePolicy;
47 47
48 enum ResourceRequestBlockedReason { 48 enum class ResourceRequestBlockedReason {
49 ResourceRequestBlockedReasonCSP, 49 CSP,
50 ResourceRequestBlockedReasonMixedContent, 50 MixedContent,
51 ResourceRequestBlockedReasonOrigin, 51 Origin,
52 ResourceRequestBlockedReasonInspector, 52 Inspector,
53 ResourceRequestBlockedReasonSubresourceFilter, 53 SubresourceFilter,
54 ResourceRequestBlockedReasonOther, 54 Other,
55 ResourceRequestBlockedReasonNone 55 None
56 }; 56 };
57 57
58 enum InputToLoadPerfMetricReportPolicy { 58 enum InputToLoadPerfMetricReportPolicy {
59 NoReport, // Don't report metrics for this ResourceRequest. 59 NoReport, // Don't report metrics for this ResourceRequest.
60 ReportLink, // Report metrics for this request as initiated by a link click. 60 ReportLink, // Report metrics for this request as initiated by a link click.
61 ReportIntent, // Report metrics for this request as initiated by an intent. 61 ReportIntent, // Report metrics for this request as initiated by an intent.
62 }; 62 };
63 63
64 struct CrossThreadResourceRequestData; 64 struct CrossThreadResourceRequestData;
65 65
(...skipping 337 matching lines...) Expand 10 before | Expand all | Expand 10 after
403 bool m_checkForBrowserSideNavigation; 403 bool m_checkForBrowserSideNavigation;
404 double m_uiStartTime; 404 double m_uiStartTime;
405 bool m_isExternalRequest; 405 bool m_isExternalRequest;
406 InputToLoadPerfMetricReportPolicy m_inputPerfMetricReportPolicy; 406 InputToLoadPerfMetricReportPolicy m_inputPerfMetricReportPolicy;
407 ResourceRequest::RedirectStatus m_redirectStatus; 407 ResourceRequest::RedirectStatus m_redirectStatus;
408 }; 408 };
409 409
410 } // namespace blink 410 } // namespace blink
411 411
412 #endif // ResourceRequest_h 412 #endif // ResourceRequest_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/platform/network/ResourceError.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698