Searched defs:cookies (Results 1 - 25 of 78) sorted by relevance

1234

/external/apache-http/src/org/apache/http/cookie/
H A DCookieSpec.java43 * <li> rules of validation of parsed cookies
107 * @param cookies the Cookies format into a Cookie header
111 List<Header> formatCookies(List<Cookie> cookies); argument
/external/apache-http/src/org/apache/http/impl/client/
H A DBasicCookieStore.java65 private final ArrayList<Cookie> cookies; field in class:BasicCookieStore
76 this.cookies = new ArrayList<Cookie>();
81 * Adds an {@link Cookie HTTP cookie}, replacing any existing equivalent cookies.
93 for (Iterator<Cookie> it = cookies.iterator(); it.hasNext();) {
100 cookies.add(cookie);
106 * Adds an array of {@link Cookie HTTP cookies}. Cookies are added individually and
107 * in the given array order. If any of the given cookies has already expired it will
110 * @param cookies the {@link Cookie cookies} to be added
115 public synchronized void addCookies(Cookie[] cookies) { argument
[all...]
/external/apache-http/src/org/apache/http/impl/cookie/
H A DBrowserCompatSpec.java158 public List<Header> formatCookies(final List<Cookie> cookies) { argument
159 if (cookies == null) {
160 throw new IllegalArgumentException("List of cookies may not be null");
162 if (cookies.isEmpty()) {
163 throw new IllegalArgumentException("List of cookies may not be empty");
165 CharArrayBuffer buffer = new CharArrayBuffer(20 * cookies.size());
168 for (int i = 0; i < cookies.size(); i++) {
169 Cookie cookie = cookies.get(i);
H A DNetscapeDraftSpec.java113 * whether multiple cookies may be sent in one header. Hence, comma
152 public List<Header> formatCookies(final List<Cookie> cookies) { argument
153 if (cookies == null) {
154 throw new IllegalArgumentException("List of cookies may not be null");
156 if (cookies.isEmpty()) {
157 throw new IllegalArgumentException("List of cookies may not be empty");
159 CharArrayBuffer buffer = new CharArrayBuffer(20 * cookies.size());
162 for (int i = 0; i < cookies.size(); i++) {
163 Cookie cookie = cookies.get(i);
H A DBestMatchSpec.java166 public List<Header> formatCookies(final List<Cookie> cookies) { argument
167 if (cookies == null) {
171 for (Cookie cookie: cookies) {
177 return getStrict().formatCookies(cookies);
179 return getCompat().formatCookies(cookies);
H A DRFC2109Spec.java136 public List<Header> formatCookies(List<Cookie> cookies) { argument
137 if (cookies == null) {
138 throw new IllegalArgumentException("List of cookies may not be null");
140 if (cookies.isEmpty()) {
141 throw new IllegalArgumentException("List of cookies may not be empty");
143 if (cookies.size() > 1) {
145 cookies = new ArrayList<Cookie>(cookies);
146 Collections.sort(cookies, PATH_COMPARATOR);
149 return doFormatOneHeader(cookies);
155 doFormatOneHeader(final List<Cookie> cookies) argument
178 doFormatManyHeaders(final List<Cookie> cookies) argument
[all...]
/external/chromium_org/components/signin/core/browser/
H A Dsignin_manager_cookie_helper.cc11 #include "net/cookies/cookie_monster.h"
28 const base::Callback<void(const net::CookieList& cookies)>& callback) {
35 const base::Callback<void(const net::CookieList& cookies)>& callback) {
62 const net::CookieList& cookies) {
65 base::Bind(&SigninManagerCookieHelper::NotifyOnUIThread, this, cookies));
69 const net::CookieList& cookies) {
71 base::ResetAndReturn(&completion_callback_).Run(cookies);
61 OnCookiesFetched( const net::CookieList& cookies) argument
68 NotifyOnUIThread( const net::CookieList& cookies) argument
/external/chromium_org/content/renderer/
H A Drenderer_webcookiejar_impl.cc29 WebString RendererWebCookieJarImpl::cookies( function in class:content::RendererWebCookieJarImpl
39 return cookies(url, first_party_for_cookies);
45 std::vector<CookieData> cookies; local
47 url, first_party_for_cookies, &cookies));
49 WebVector<WebCookie> result(cookies.size());
50 for (size_t i = 0; i < cookies.size(); ++i) {
51 const CookieData& c = cookies[i];
/external/chromium_org/mojo/services/network/
H A Dcookie_store_impl.cc9 #include "net/cookies/cookie_store.h"
16 const std::string& cookies) {
17 callback.Run(cookies);
15 AdaptGetCookiesCallback(const Callback<void(String)>& callback, const std::string& cookies) argument
/external/chromium_org/third_party/WebKit/Source/core/loader/
H A DCookieJar.cpp53 String cookies(const Document* document, const KURL& url) function in namespace:blink
58 return cookieJar->cookies(url, document->firstPartyForCookies());
85 bool getRawCookies(const Document* document, const KURL& url, Vector<Cookie>& cookies) argument
87 cookies.clear();
95 cookies.append(Cookie(webCookie.name, webCookie.value, webCookie.domain, webCookie.path,
/external/chromium_org/third_party/WebKit/public/platform/
H A DWebCookieJar.h45 virtual WebString cookies(const WebURL&, const WebURL& firstPartyForCookies) { return WebString(); } function in class:blink::WebCookieJar
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
H A DShadowCookieManager.java18 private Map<String,String> cookies = new HashMap<String, String>(); field in class:ShadowCookieManager
31 cookies.put(url, value);
36 return cookies.get(url);
51 cookies.clear();
/external/chromium_org/content/browser/net/
H A Dsqlite_persistent_cookie_store_perftest.cc17 #include "net/cookies/canonical_cookie.h"
18 #include "net/cookies/cookie_constants.h"
38 void OnLoaded(const std::vector<net::CanonicalCookie*>& cookies) { argument
39 cookies_ = cookies;
43 void OnKeyLoaded(const std::vector<net::CanonicalCookie*>& cookies) { argument
44 cookies_ = cookies;
71 std::vector<net::CanonicalCookie*> cookies; variable
74 // Creates 15000 cookies from 300 eTLD+1s.
118 // Test the performance of priority load of cookies for a specfic domain key
123 ("Load cookies fo
[all...]
/external/chromium_org/mojo/services/html_viewer/
H A Dwebcookiejar_impl.cc47 blink::WebString WebCookieJarImpl::cookies( function in class:mojo::WebCookieJarImpl
66 return cookies(url, first_party_for_cookies);
/external/chromium_org/net/websockets/
H A Dwebsocket_handshake_handler_test.cc132 std::vector<std::string> cookies; local
133 handler.GetHeaders(kSetCookieHeaders, arraysize(kSetCookieHeaders), &cookies);
134 ASSERT_EQ(2U, cookies.size());
135 EXPECT_EQ("WK-websocket-test-1", cookies[0]);
136 EXPECT_EQ("WK-websocket-test-httponly=1; HttpOnly", cookies[1]);
/external/chromium_org/chrome/browser/content_settings/
H A Dlocal_shared_objects_container.h47 CannedBrowsingDataCookieHelper* cookies() const { return cookies_.get(); } function in class:LocalSharedObjectsContainer
/external/chromium_org/chrome/browser/profile_resetter/
H A Dprofile_resetter_browsertest.cc13 #include "net/cookies/cookie_store.h"
40 void GetCookieCallback(const std::string& cookies);
115 void RemoveCookieTester::GetCookieCallback(const std::string& cookies) { argument
120 base::Unretained(this), cookies));
123 last_cookies_ = cookies;
/external/chromium_org/chrome/browser/sessions/
H A Dsession_data_deleter.cc17 #include "net/cookies/cookie_monster.h"
18 #include "net/cookies/cookie_store.h"
19 #include "net/cookies/cookie_util.h"
48 // Deletes all cookies that are session only if
51 // of all remaining cookies.
54 // Called when all session-only cookies have been deleted.
57 // Deletes the cookies in |cookies| that are for origins which are
59 void DeleteSessionOnlyOriginCookies(const net::CookieList& cookies);
127 const net::CookieList& cookies) {
126 DeleteSessionOnlyOriginCookies( const net::CookieList& cookies) argument
[all...]
/external/chromium_org/components/autofill/content/browser/wallet/
H A Dwallet_signin_helper_unittest.cc19 #include "net/cookies/canonical_cookie.h"
20 #include "net/cookies/cookie_monster.h"
21 #include "net/cookies/cookie_options.h"
70 const net::ResponseCookies& cookies,
80 fetcher->set_cookies(cookies);
67 SetUpFetcherResponseAndCompleteRequest( const std::string& url, int response_code, const net::ResponseCookies& cookies, const std::string& response_string) argument
H A Dwallet_signin_helper.cc20 #include "net/cookies/canonical_cookie.h"
21 #include "net/cookies/cookie_monster.h"
22 #include "net/cookies/cookie_options.h"
23 #include "net/cookies/cookie_store.h"
35 // Callback for retrieving Google Wallet cookies. |callback| is passed the
36 // retrieved cookies and posted back to the UI thread. |cookies| is any Google
37 // Wallet cookies.
40 const net::CookieList& cookies) {
43 // Cookies for parent domains will also be returned; we only want cookies wit
38 GetGoogleCookiesCallback( const base::Callback<void(const std::string&)>& callback, const net::CookieList& cookies) argument
[all...]
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/http/
H A DOkHeaders.java116 * Send all cookies in one big header, as recommended by
119 private static String buildCookieHeader(List<String> cookies) { argument
120 if (cookies.size() == 1) return cookies.get(0);
122 for (int i = 0; i < cookies.size(); i++) {
124 sb.append(cookies.get(i));
/external/chromium_org/chrome/browser/browsing_data/
H A Dbrowsing_data_cookie_helper.cc16 #include "net/cookies/canonical_cookie.h"
17 #include "net/cookies/cookie_util.h"
18 #include "net/cookies/parsed_cookie.h"
40 const base::Callback<void(const net::CookieList& cookies)>& callback) {
74 void BrowsingDataCookieHelper::OnFetchComplete(const net::CookieList& cookies) { argument
78 base::Bind(&BrowsingDataCookieHelper::NotifyInUIThread, this, cookies));
82 const net::CookieList& cookies) {
86 completion_callback_.Run(cookies);
196 canonical_cookie::CookieHashSet* cookies = local
200 cookies));
81 NotifyInUIThread( const net::CookieList& cookies) argument
[all...]
H A Dbrowsing_data_cookie_helper_unittest.cc11 #include "net/cookies/canonical_cookie.h"
12 #include "net/cookies/parsed_cookie.h"
136 void FetchCallback(const net::CookieList& cookies) { argument
137 cookie_list_ = cookies;
144 void DomainCookieCallback(const net::CookieList& cookies) { argument
145 cookie_list_ = cookies;
152 void DeleteCallback(const net::CookieList& cookies) { argument
153 cookie_list_ = cookies;
158 void CannedUniqueCallback(const net::CookieList& cookies) { argument
159 cookie_list_ = cookies;
165 CannedReplaceCookieCallback(const net::CookieList& cookies) argument
180 CannedDomainCookieCallback(const net::CookieList& cookies) argument
401 net::CookieList cookies; local
[all...]
/external/chromium_org/net/cookies/
H A Dcookie_monster_perftest.cc12 #include "net/cookies/canonical_cookie.h"
13 #include "net/cookies/cookie_monster.h"
14 #include "net/cookies/cookie_monster_store_test.h"
15 #include "net/cookies/parsed_cookie.h"
88 void Run(const std::string& cookies) { argument
89 cookies_ = cookies;
121 std::vector<std::string> cookies; local
123 cookies.push_back(base::StringPrintf("a%03d=b", i));
128 // Add a bunch of cookies on a single host
131 for (std::vector<std::string>::const_iterator it = cookies
[all...]
/external/chromium_org/chrome/browser/extensions/
H A Dextension_apitest.cc88 std::vector<std::string> cookies; local
89 base::SplitString(cookie_value, '&', &cookies);
91 for (size_t i = 0; i < cookies.size(); i++)
92 http_response->AddCustomHeader("Set-Cookie", cookies[i]);

Completed in 441 milliseconds

1234