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

Unified Diff: chrome/android/java/src/org/chromium/chrome/browser/cookies/CookiesFetcher.java

Issue 1615773005: Rename first-party-only cookies to same-site cookies. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Tests. Created 4 years, 11 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: chrome/android/java/src/org/chromium/chrome/browser/cookies/CookiesFetcher.java
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/cookies/CookiesFetcher.java b/chrome/android/java/src/org/chromium/chrome/browser/cookies/CookiesFetcher.java
index c21ad0d2ff5878e87bbd5d58f8865ef7abd5afc7..882611736f159ec9a2c6d28d65f2da21eb51802b 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/cookies/CookiesFetcher.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/cookies/CookiesFetcher.java
@@ -176,7 +176,7 @@ public class CookiesFetcher {
cookie.getValue(), cookie.getDomain(), cookie.getPath(),
cookie.getCreationDate(), cookie.getExpirationDate(),
cookie.getLastAccessDate(), cookie.isSecure(), cookie.isHttpOnly(),
- cookie.isFirstPartyOnly(), cookie.getPriority());
+ cookie.isSameSite(), cookie.getPriority());
}
}
}.executeOnExecutor(AsyncTask.SERIAL_EXECUTOR);
@@ -203,9 +203,9 @@ public class CookiesFetcher {
@CalledByNative
private CanonicalCookie createCookie(String url, String name, String value, String domain,
String path, long creation, long expiration, long lastAccess, boolean secure,
- boolean httpOnly, boolean firstPartyOnly, int priority) {
+ boolean httpOnly, boolean sameSite, int priority) {
return new CanonicalCookie(url, name, value, domain, path, creation, expiration, lastAccess,
- secure, httpOnly, firstPartyOnly, priority);
+ secure, httpOnly, sameSite, priority);
}
@CalledByNative
@@ -298,6 +298,5 @@ public class CookiesFetcher {
private native void nativePersistCookies(long nativeCookiesFetcher);
private native void nativeRestoreCookies(long nativeCookiesFetcher, String url, String name,
String value, String domain, String path, long creation, long expiration,
- long lastAccess, boolean secure, boolean httpOnly, boolean firstPartyOnly,
- int priority);
+ long lastAccess, boolean secure, boolean httpOnly, boolean sameSite, int priority);
}
« no previous file with comments | « chrome/android/java/src/org/chromium/chrome/browser/cookies/CanonicalCookie.java ('k') | chrome/app/generated_resources.grd » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698