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

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

Issue 2888333002: Send certificate errors from worker fetch context for off-main-thread-fetch. (Closed)
Patch Set: incorporated kinuko's comment Created 3 years, 7 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/core/loader/WorkerFetchContext.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 // Copyright 2017 The Chromium Authors. All rights reserved. 1 // Copyright 2017 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef WebWorkerFetchContext_h 5 #ifndef WebWorkerFetchContext_h
6 #define WebWorkerFetchContext_h 6 #define WebWorkerFetchContext_h
7 7
8 #include "public/platform/WebURL.h" 8 #include "public/platform/WebURL.h"
9 9
10 namespace base { 10 namespace base {
(...skipping 30 matching lines...) Expand all
41 41
42 // The flag for Data Saver. 42 // The flag for Data Saver.
43 virtual void SetDataSaverEnabled(bool) = 0; 43 virtual void SetDataSaverEnabled(bool) = 0;
44 virtual bool IsDataSaverEnabled() const = 0; 44 virtual bool IsDataSaverEnabled() const = 0;
45 45
46 // The URL that should be consulted for the third-party cookie blocking 46 // The URL that should be consulted for the third-party cookie blocking
47 // policy, as defined in Section 2.1.1 and 2.1.2 of 47 // policy, as defined in Section 2.1.1 and 2.1.2 of
48 // https://tools.ietf.org/html/draft-west-first-party-cookies. 48 // https://tools.ietf.org/html/draft-west-first-party-cookies.
49 // See content::URLRequest::first_party_for_cookies() for details. 49 // See content::URLRequest::first_party_for_cookies() for details.
50 virtual WebURL FirstPartyForCookies() const = 0; 50 virtual WebURL FirstPartyForCookies() const = 0;
51
52 // Reports the certificate error to the browser process.
53 virtual void DidRunContentWithCertificateErrors(const WebURL& url) {}
54 virtual void DidDisplayContentWithCertificateErrors(const WebURL& url) {}
51 }; 55 };
52 56
53 } // namespace blink 57 } // namespace blink
54 58
55 #endif // WebWorkerFetchContext_h 59 #endif // WebWorkerFetchContext_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/loader/WorkerFetchContext.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698