HomeSort by relevance Sort by last modified time
    Searched refs:cookies (Results 1 - 25 of 158) sorted by null

1 2 3 4 5 6 7

  /external/apache-http/src/org/apache/http/impl/client/
BasicCookieStore.java 60 private final ArrayList<Cookie> cookies; field in class:BasicCookieStore
71 this.cookies = new ArrayList<Cookie>();
76 * Adds an {@link Cookie HTTP cookie}, replacing any existing equivalent cookies.
88 for (Iterator<Cookie> it = cookies.iterator(); it.hasNext();) {
95 cookies.add(cookie);
101 * Adds an array of {@link Cookie HTTP cookies}. Cookies are added individually and
102 * in the given array order. If any of the given cookies has already expired it will
105 * @param cookies the {@link Cookie cookies} to be adde
    [all...]
  /external/webkit/Source/WebCore/platform/mac/
CookieJar.mm 65 // that, but we also need to avoid sending cookies that were previously stored, and
79 String cookies(const Document*, const KURL& url)
84 NSArray *cookies;
87 cookies = wkHTTPCookiesForURL(cookieStorage, cookieURL);
90 cookies = [[NSHTTPCookieStorage sharedHTTPCookieStorage] cookiesForURL:cookieURL];
92 return [[NSHTTPCookie requestHeaderFieldsWithCookies:filterCookies(cookies).get()] objectForKey:@"Cookie"];
103 NSArray *cookies;
106 cookies = wkHTTPCookiesForURL(cookieStorage, cookieURL);
109 cookies = [[NSHTTPCookieStorage sharedHTTPCookieStorage] cookiesForURL:cookieURL];
111 return [[NSHTTPCookie requestHeaderFieldsWithCookies:cookies] objectForKey:@"Cookie"]
    [all...]
  /external/webkit/Source/WebCore/platform/network/android/
CookieJarAndroid.cpp 39 String cookies(const Document* document, const KURL& url) function in namespace:WebCore
41 return PlatformBridge::cookies(document, url);
47 return PlatformBridge::cookies(document, url);
  /external/webkit/Source/WebCore/platform/qt/
CookieJarQt.cpp 68 QList<QNetworkCookie> cookies = QNetworkCookie::parseCookies(QString(value).toAscii());
69 QList<QNetworkCookie>::Iterator it = cookies.begin();
70 while (it != cookies.end()) {
72 it = cookies.erase(it);
76 jar->setCookiesFromUrl(cookies, u);
79 String cookies(const Document* document, const KURL& url) function in namespace:WebCore
86 QList<QNetworkCookie> cookies = jar->cookiesForUrl(u);
87 if (cookies.isEmpty())
91 foreach (QNetworkCookie networkCookie, cookies) {
107 QList<QNetworkCookie> cookies = jar->cookiesForUrl(u)
    [all...]
  /external/webkit/Source/WebKit/android/WebCoreSupport/
CookieClient.h 41 virtual String cookies(const KURL& url) = 0;
  /external/chromium/chrome/browser/net/
sqlite_persistent_cookie_store_unittest.cc 32 std::vector<net::CookieMonster::CanonicalCookie*> cookies; local
33 ASSERT_TRUE(store_->Load(&cookies));
34 ASSERT_TRUE(0 == cookies.size());
81 std::vector<net::CookieMonster::CanonicalCookie*> cookies; local
94 ASSERT_TRUE(store_->Load(&cookies));
95 ASSERT_EQ(1U, cookies.size());
96 ASSERT_STREQ("http://foo.bar", cookies[0]->Domain().c_str());
97 ASSERT_STREQ("A", cookies[0]->Name().c_str());
98 ASSERT_STREQ("B", cookies[0]->Value().c_str());
101 store_->DeleteCookie(*cookies[0])
    [all...]
cookie_policy_browsertest.cc 25 std::string* cookies)
29 cookies_(cookies) {}
52 std::string cookies; local
60 new GetCookiesTask(url, context_getter, &event, &cookies)));
62 return cookies;
100 // third-party cookie blocking if the first party for cookies URL is not
sdch_dictionary_fetcher.h 57 const ResponseCookies& cookies,
  /external/webkit/Source/WebCore/platform/network/soup/
CookieJarSoup.cpp 76 String cookies(const Document* /*document*/, const KURL& url) function in namespace:WebCore
83 char* cookies = soup_cookie_jar_get_cookies(jar, uri, FALSE); local
86 String result(String::fromUTF8(cookies));
87 g_free(cookies);
99 char* cookies = soup_cookie_jar_get_cookies(jar, uri, TRUE); local
102 String result(String::fromUTF8(cookies));
103 g_free(cookies);
  /external/webkit/Source/WebCore/inspector/front-end/
CookiesTable.js 80 setCookies: function(cookies)
82 this._data = [{cookies: cookies}];
86 addCookiesFolder: function(folderName, cookies)
88 this._data.push({cookies: cookies, folderName: folderName});
104 var groupData = [ item.folderName, "", "", "", "", this._totalSize(item.cookies), "", "" ];
109 this._populateNode(groupNode, item.cookies);
112 this._populateNode(this._dataGrid, item.cookies);
116 _populateNode: function(parentNode, cookies)
    [all...]
CookieItemsView.js 48 this._emptyMsgElement.textContent = WebInspector.UIString("This site has no cookies.");
78 WebInspector.Cookies.getCookiesAsync(this._updateWithCookies.bind(this));
103 this._treeElement.subtitle = String.sprintf(WebInspector.UIString("%d cookies (%s)"), this._cookies.length,
112 var cookies = [];
129 if (WebInspector.Cookies.cookieMatchesResourceURL(allCookies[i], resourceURL)) {
133 cookies.push(allCookies[i]);
138 return cookies;
177 setCookies: function(cookies)
181 for (var i = 0; i < cookies.length; ++i) {
182 if (addedCookies[cookies[i].name]
    [all...]
  /external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/net/
CookieManagerTest.java 80 private static Map<String, List<String>> addCookie(String[][] cookies) {
82 for (int i = 0; i < cookies.length; i++) {
84 for (int j = 1; j < cookies[i].length; j += 2) {
85 fields.add(cookies[i][j]);
87 responseHeaders.put(cookies[i][0], fields);
92 private static CookieManager store(String[][] cookies,
96 // Put all cookies into manager
97 for (int i = 0; i < cookies.length; i++) {
98 for (int j = 2; j < cookies[i].length; j += 2) {
99 URI uri = new URI(cookies[i][j])
114 String[][] cookies = { local
    [all...]
  /external/webkit/LayoutTests/http/tests/cookies/resources/
resetCookies.js 6 // Due to cross-origin restrictions, we can only (simply) reset cookies for our current origin.
7 var url = "http://" + window.location.hostname +":8000/cookies/resources/cookie-utility.php?queryfunction=deleteCookies";
13 alert("Attempt to clear " + url + " cookies might have failed. Test results might be off from here on out. (" + e + ")");
  /external/chromium/chrome/browser/importer/
toolbar_importer_utils.cc 30 std::string cookies = store->GetCookiesWithOptions(url, options); local
32 base::SplitString(cookies, kSplitStringToken, &cookie_list);
  /external/chromium/chrome/browser/resources/
collected_cookies.js 15 var allowedCookies = $('allowed-cookies');
20 var blockedCookies = $('blocked-cookies');
32 var selected = $('allowed-cookies').selectedItem;
40 var selected = $('blocked-cookies').selectedItem;
46 var selected = $('blocked-cookies').selectedItem;
52 ui.CookiesTree.decorate($('allowed-cookies'));
53 ui.CookiesTree.decorate($('blocked-cookies'));
57 $('allowed-cookies').addEventListener('change', handleCookiesTreeChange);
58 $('blocked-cookies').addEventListener('change', handleCookiesTreeChange);
  /libcore/luni/src/main/java/java/net/
CookieManager.java 27 * the storage of cookies from the policy which decides to accept or deny
28 * cookies. The constructor can have two arguments: a CookieStore and a
36 * some cookies into a cookie store. Three built-in CookiePolicy is defined:
93 * Searches and gets all cookies in the cache by the specified uri in the
100 * @return a map that record all such cookies, the map is unchangeable
123 private static Map<String, List<String>> cookiesToHeaders(List<HttpCookie> cookies) {
124 if (cookies.isEmpty()) {
130 // If all cookies are version 1, add a version 1 header. No header for version 0 cookies.
132 for (HttpCookie cookie : cookies) {
164 List<HttpCookie> cookies = parseCookie(responseHeaders); local
207 List<HttpCookie> cookies = new ArrayList<HttpCookie>(); local
    [all...]
CookieStoreImpl.java 40 List<HttpCookie> cookies = map.get(uri); local
41 if (cookies == null) {
42 cookies = new ArrayList<HttpCookie>();
43 map.put(uri, cookies);
45 cookies.remove(cookie);
47 cookies.add(cookie);
68 // get cookies associated with given URI. If none, returns an empty list
74 i.remove(); // remove expired cookies
81 // get all cookies that domain matches the URI
94 i.remove(); // remove expired cookies
130 List<HttpCookie> cookies = map.get(cookiesUri(uri)); local
    [all...]
  /external/apache-http/src/org/apache/http/impl/cookie/
RFC2109Spec.java 131 public List<Header> formatCookies(List<Cookie> cookies) {
132 if (cookies == null) {
133 throw new IllegalArgumentException("List of cookies may not be null");
135 if (cookies.isEmpty()) {
136 throw new IllegalArgumentException("List of cookies may not be empty");
138 if (cookies.size() > 1) {
140 cookies = new ArrayList<Cookie>(cookies);
141 Collections.sort(cookies, PATH_COMPARATOR);
144 return doFormatOneHeader(cookies);
    [all...]
BestMatchSpec.java 161 public List<Header> formatCookies(final List<Cookie> cookies) {
162 if (cookies == null) {
166 for (Cookie cookie: cookies) {
172 return getStrict().formatCookies(cookies);
174 return getCompat().formatCookies(cookies);
BrowserCompatSpec.java 153 public List<Header> formatCookies(final List<Cookie> cookies) {
154 if (cookies == null) {
155 throw new IllegalArgumentException("List of cookies may not be null");
157 if (cookies.isEmpty()) {
158 throw new IllegalArgumentException("List of cookies may not be empty");
160 CharArrayBuffer buffer = new CharArrayBuffer(20 * cookies.size());
163 for (int i = 0; i < cookies.size(); i++) {
164 Cookie cookie = cookies.get(i);
NetscapeDraftSpec.java 108 * whether multiple cookies may be sent in one header. Hence, comma
147 public List<Header> formatCookies(final List<Cookie> cookies) {
148 if (cookies == null) {
149 throw new IllegalArgumentException("List of cookies may not be null");
151 if (cookies.isEmpty()) {
152 throw new IllegalArgumentException("List of cookies may not be empty");
154 CharArrayBuffer buffer = new CharArrayBuffer(20 * cookies.size());
157 for (int i = 0; i < cookies.size(); i++) {
158 Cookie cookie = cookies.get(i);
  /external/webkit/Source/WebCore/platform/network/chromium/
CookieJarChromium.cpp 45 String cookies(const Document* document, const KURL& url) function in namespace:WebCore
47 return PlatformBridge::cookies(document, url);
  /external/apache-http/src/org/apache/http/cookie/
CookieSpec.java 43 * <li> rules of validation of parsed cookies
64 * Parse the <tt>"Set-Cookie"</tt> Header into an array of Cookies.
100 * Create <tt>"Cookie"</tt> headers for an array of Cookies.
102 * @param cookies the Cookies format into a Cookie header
103 * @return a Header for the given Cookies.
106 List<Header> formatCookies(List<Cookie> cookies);
  /external/chromium/chrome/browser/chromeos/login/
image_downloader.h 36 const ResponseCookies& cookies,
  /external/chromium/chrome/browser/resources/options/
cookies_view.css 7 /* styles for the cookies list elements in cookies_view.html */
8 #remove-all-cookies-search-column {
14 html[dir=rtl] #remove-all-cookies-search-column {
19 #cookies-column-headers {
25 #cookies-column-headers h3 {
30 #cookies-site-column {
36 #cookies-data-column {
42 #cookies-list {
99 /* styles for the individual items (cookies, etc.) */

Completed in 842 milliseconds

1 2 3 4 5 6 7