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

Side by Side Diff: chrome/browser/android/cookies/cookies_fetcher.h

Issue 1773133002: SameSite: Implement 'Strict'/'Lax' attribute parsing. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: mmenke@ Created 4 years, 9 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
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 CHROME_BROWSER_ANDROID_COOKIES_COOKIES_FETCHER_H_ 5 #ifndef CHROME_BROWSER_ANDROID_COOKIES_COOKIES_FETCHER_H_
6 #define CHROME_BROWSER_ANDROID_COOKIES_COOKIES_FETCHER_H_ 6 #define CHROME_BROWSER_ANDROID_COOKIES_COOKIES_FETCHER_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include "base/android/jni_weak_ref.h" 10 #include "base/android/jni_weak_ref.h"
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 const base::android::JavaParamRef<jstring>& url, 43 const base::android::JavaParamRef<jstring>& url,
44 const base::android::JavaParamRef<jstring>& name, 44 const base::android::JavaParamRef<jstring>& name,
45 const base::android::JavaParamRef<jstring>& value, 45 const base::android::JavaParamRef<jstring>& value,
46 const base::android::JavaParamRef<jstring>& domain, 46 const base::android::JavaParamRef<jstring>& domain,
47 const base::android::JavaParamRef<jstring>& path, 47 const base::android::JavaParamRef<jstring>& path,
48 int64_t creation, 48 int64_t creation,
49 int64_t expiration, 49 int64_t expiration,
50 int64_t last_access, 50 int64_t last_access,
51 bool secure, 51 bool secure,
52 bool httponly, 52 bool httponly,
53 bool firstpartyonly, 53 int samesite,
54 int priority); 54 int priority);
55 55
56 private: 56 private:
57 void PersistCookiesInternal(net::URLRequestContextGetter* getter); 57 void PersistCookiesInternal(net::URLRequestContextGetter* getter);
58 void RestoreToCookieJarInternal(net::URLRequestContextGetter* getter, 58 void RestoreToCookieJarInternal(net::URLRequestContextGetter* getter,
59 const net::CanonicalCookie& cookie); 59 const net::CanonicalCookie& cookie);
60 60
61 base::android::ScopedJavaGlobalRef<jobject> jobject_; 61 base::android::ScopedJavaGlobalRef<jobject> jobject_;
62 62
63 DISALLOW_COPY_AND_ASSIGN(CookiesFetcher); 63 DISALLOW_COPY_AND_ASSIGN(CookiesFetcher);
64 }; 64 };
65 65
66 // Registers the CookiesFetcher native method. 66 // Registers the CookiesFetcher native method.
67 bool RegisterCookiesFetcher(JNIEnv* env); 67 bool RegisterCookiesFetcher(JNIEnv* env);
68 68
69 #endif // CHROME_BROWSER_ANDROID_COOKIES_COOKIES_FETCHER_H_ 69 #endif // CHROME_BROWSER_ANDROID_COOKIES_COOKIES_FETCHER_H_
OLDNEW
« no previous file with comments | « android_webview/browser/net/aw_cookie_store_wrapper.cc ('k') | chrome/browser/android/cookies/cookies_fetcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698