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

Unified Diff: third_party/WebKit/public/platform/WebWorkerFetchContext.h

Issue 2891453005: Pipe the FirstPartyForCookies to WorkerFetchContext for off-main-thread-fetch (Closed)
Patch Set: 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/public/platform/WebWorkerFetchContext.h
diff --git a/third_party/WebKit/public/platform/WebWorkerFetchContext.h b/third_party/WebKit/public/platform/WebWorkerFetchContext.h
index cbe3ac73b4ec8b63744e246587d71d2a8753b7b4..6049e341be3acb5523e6b78aecd3851ca29b9525 100644
--- a/third_party/WebKit/public/platform/WebWorkerFetchContext.h
+++ b/third_party/WebKit/public/platform/WebWorkerFetchContext.h
@@ -5,6 +5,8 @@
#ifndef WebWorkerFetchContext_h
#define WebWorkerFetchContext_h
+#include "public/platform/WebURL.h"
+
namespace base {
class SingleThreadTaskRunner;
} // namespace base
@@ -40,6 +42,9 @@ class WebWorkerFetchContext {
// The flag for Data Saver.
virtual void SetDataSaverEnabled(bool) = 0;
virtual bool IsDataSaverEnabled() const = 0;
+
+ // Used to implement third-party cookie blocking.
falken 2017/05/17 08:55:31 URLRequest has good docu for this: can we keep som
horo 2017/05/17 09:44:03 Done.
+ virtual WebURL FirstPartyForCookies() const = 0;
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698