History log of /frameworks/base/core/java/android/webkit/CookieManager.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
c723e35336e764a1e708f1a4a8ee3f7bff711c0f 14-Aug-2012 Steve Block <steveblock@google.com> Clean up JavaDoc for CookieManager

Bug: 5461416
Change-Id: I0ae09943007cf3866daad97a76f5008e61c471ed
/frameworks/base/core/java/android/webkit/CookieManager.java
4e584df4cee8334bc371c04a67bcd0a32e2f9480 25-Apr-2012 Steve Block <steveblock@google.com> Fix JavaDoc style for several WebView classes

This fixes the JavaDoc style for the following classes ...
- CacheManager.java
- CookieManager.java
- GeolocationPermissions.java
- WebResourceResponse.java
- WebSettings.java
- WebStorage.java
- WebView.java

In particular, this applies the guidelines at
https://wiki.corp.google.com/twiki/bin/view/Main/APIDocumentation

This should help to ensure that future JavaDoc comments use correct style,
rather than using incorrect style for consistency.

Note that this change does not attempt to improve the content of the JavaDoc
comments. This will be done in later changes.

Bug: 5461416
Change-Id: I79e9b15a8cf3597195d58e154a7eb1bcc462944c
/frameworks/base/core/java/android/webkit/CookieManager.java
be58c40646ed5694136970cf0e88ffd6087a3c2a 24-Apr-2012 Jonathan Dixon <joth@google.com> static methods in CookieManger call via instance

This allows CookieManager subclasses to correctly override all behvaior
in the base class.

Bug: 6379925
Change-Id: Ife02db24bc192bc1eabf09e0d64668716786d237
/frameworks/base/core/java/android/webkit/CookieManager.java
03b433c031f6a691bf5d9e606cb3c04f03ca0eb2 23-Apr-2012 Jonathan Dixon <joth@google.com> Fix dumprendertree crash

This is a quick workaround to get tests running again, will follow up with full fix tomorrow.

Bug: 6379925
Change-Id: I96d6e27bfb8f8cd41ec08845ab0fb1e584dbc9da
/frameworks/base/core/java/android/webkit/CookieManager.java
d3101b1d300f5942fdb7dfa323dc8830c4edc007 12-Apr-2012 Jonathan Dixon <joth@google.com> Seperate interface and implementation of 4 WebView classes

GeolocationPermissionsClassic
CookieManagerClassic
WebIconDatabaseClassic
WebStorageClassic

Also creats a WebViewFactory top level class - this remains hidden
for now, as it's currently only used implicitly by the other
public WebView classes to create the provider instances.

Bug: 5626244

Change-Id: Id0ca1c16d8058f31a86414bbc0e8a55db4b907ba
/frameworks/base/core/java/android/webkit/CookieManager.java
939e5040b51539be561db1d18dec18196f201f5c 12-Apr-2012 Jonathan Dixon <joth@google.com> Two WebView API cleanups

- remove final from classes which we will need to provide subclasses
in future: CookieManager, GeolocationPermissions, WebIconDatabase
and WebStorage. None of these have published constructors,
so applications cannot subclass them anyway.

- Also convert some protected members of JsResult to private, as its of
no use to legal subclasses, and applications cannot subclass it.

Change-Id: Iaca9d2db31e25853b6c55feae41d9e7774087479
/frameworks/base/core/java/android/webkit/CookieManager.java
f2bfe2bc05322a754c5a5d4e16ca182303ca72aa 26-Mar-2012 Steve Block <steveblock@google.com> Remove superfluous code after removal of Android HTTP stack

See b/5495616.

Bug: 6228353
Change-Id: I16cfd7b37973919d5bf14d2d80954caede264961
/frameworks/base/core/java/android/webkit/CookieManager.java
0acb1c32fa002a648c8090f622b0094f406d5411 16-Feb-2012 Steve Block <steveblock@google.com> Drop support for Android HTTP stack

All future releases will use the Chromium HTTP stack and maintaining two HTTP
stacks adds maintenance overhead. The Chromium HTTP stack requires V8, but we
now use V8 in all build targets (b/5495373), so we can safely drop the Android
HTTP stack.

LoadListener, HttpAuthHandlerImpl, Network, SslErrorHandlerImpl, WebViewWorker
- Android-stack specific, removed
StreamLoader, FrameLoader
- Require LoadListener, removed
CacheLoader, ContentLoader, DataLoader, FileLoader
- Extend StreamLoader, removed

BrowserFrame
- Removed methods that create LoadListener
- BrowserFrame.startLoadingResource() is called from native
CallbackProxy, WebView
- Removed calls to Network methods
CacheManager, CookieManager, CookieSyncManager, WebViewCore, WebResourceResponse
- Removed other Android-stack specific code
JniUtlil
- Removed useChromiumHttpStack()
WebViewDatabase
- Removed all code to create cookies and cache databases for Android HTTP stack

See corresponding WebKit change https://android-git.corp.google.com/g/166327.

Bug: 5495616
Change-Id: If491675516f6eb187077af4220214bb6e6a8d045
/frameworks/base/core/java/android/webkit/CookieManager.java
77db9990777efd100bee4ec47568414ea039e99b 20-Feb-2012 Steve Block <steveblock@google.com> Clean up JavaDoc for CookieManager

Also fix naming of CookieManager.pendingCookieOperations.

Clean-up only, no functional change.

Bug: 5461416
Change-Id: Ia129c4535b8ef6a5a314e588c34ee6db2fe5b386
/frameworks/base/core/java/android/webkit/CookieManager.java
d3f18b805e19251a188476415bc18818e247f555 01-Dec-2011 Ben Murdoch <benm@google.com> Fix crash with HTML5 video.

Add missing check for native HTTP stack inside
CookieManager.getCookie(WebAddress) and
CookieManager.setCookie(WebAddress) - private APIs that now
will throw an exception as the legacy cookie table no longer
exists with WebViewDatabase version 11.

Bug: 5690908
Change-Id: I51ae848d03b04d6021d314dda4a199675e38ab02
/frameworks/base/core/java/android/webkit/CookieManager.java
65662b6b90e1d899b2207456220a4073645a5186 02-Mar-2011 Kristian Monsen <kristianm@google.com> Fix from post submit review

Change-Id: I10d96b254dcf3cb04f8d5cdf4bc527c84c362c1c
https://android-git.corp.google.com/g/#change,99052
/frameworks/base/core/java/android/webkit/CookieManager.java
469aebbbd92a5300c5ebd6a420ca48976d21e9d1 01-Mar-2011 Kristian Monsen <kristianm@google.com> Part of fix for bug 3489551 Browser doesn't send cookies for HTML5 video in incognito

Adding private mode parameter for some cookie operations.

Depends on this change in webkit:
https://android-git.corp.google.com/g/#change,99051

Change-Id: I304de625632c3d659bf0d7a6b6a6e2bec985ecb6
/frameworks/base/core/java/android/webkit/CookieManager.java
6dfef1b86dfb9969e4a1a01a1fb117e1525c17bd 10-Feb-2011 Steve Block <steveblock@google.com> Merge "Adds CookieManager methods to configure policy for cookies for file scheme URLs"
f01e3b5b8fdf9a55a14abd27b1b4092657b29112 07-Feb-2011 Patrick Scott <phanna@android.com> am 01b7a98c: am 160c18a4: Merge "Need a public way to wait for cookie operations." into honeycomb

* commit '01b7a98c31f3d4587fb6739c8c6b35530177c20c':
Need a public way to wait for cookie operations.
b88e52c7602a193dfcc4715bc59d95e1c555fffb 04-Feb-2011 Patrick Scott <phanna@android.com> Need a public way to wait for cookie operations.

Hidden for now as we are past the public api deadline.

Bug: 3421214
Change-Id: I8a65ae479d0b8b020af2600d7d29d5d358414add
/frameworks/base/core/java/android/webkit/CookieManager.java
2d65a5fdac818ee955287f9f7e08fb7eca90266d 01-Feb-2011 Kristian Monsen <kristianm@google.com> Proper fix for bug 3407633

Using WebAddress to parse the url, this way we will match the
java stack.

Change-Id: I30979df5ef347d9770985ebbb8139ec119764460
/frameworks/base/core/java/android/webkit/CookieManager.java
8b8f79898d5d0a283c481dedda2cc161a5a673b3 01-Feb-2011 Kristian Monsen <kristianm@google.com> Fix for bug 3407633 Cookie not set in CookieManager - DO NOT MERGE

Setting http:// at the start if there is no :// in the url

Change-Id: Idfae4f724808267fe9c8ab3864cfc4305ddac0e7
/frameworks/base/core/java/android/webkit/CookieManager.java
5762a23fb01a3d47db7db2b7d3fb2fa333065020 01-Feb-2011 Kristian Monsen <kristianm@google.com> Fix for bug 3407633 Cookie not set in CookieManager

Adding http:// at the start of the url if there is no :// already

Change-Id: If292f60af3289a9849ff060ffacc0d97e3120132
/frameworks/base/core/java/android/webkit/CookieManager.java
16d041cc9f4b67c37abf7dc5f8d49c7de81f2c84 06-Dec-2010 Kristian Monsen <kristianm@google.com> Adds CookieManager methods to configure policy for cookies for file scheme URLs

Needs https://android-git.corp.google.com/g/83647 in external/webkit,
which disallows such cookies by default and provides configuration
methods native side.

Also updates TestShellActivity to allow such cookies, as they are
required for the page cycler.

Bug: 2944150
Change-Id: Idcc7e2812fab33e6a2a8766a2176bc3278e617da
/frameworks/base/core/java/android/webkit/CookieManager.java
a106993a5147037ad207f23d0224482be0c44b39 10-Dec-2010 Iain Merrick <husky@google.com> Move useChromiumHttpStack() from CookieManager to JniUtil.

This is a generally useful method, not specific to CookieManager.
I want to use it to modify the behaviour of CacheManager when we're
using the Chrome HTTP stack.

Corresponding C++ changes in I78a92cb2

BUG=3270236

Change-Id: I56b0ddcaa93ef340f4ffc3578486c3c96316f2ec
/frameworks/base/core/java/android/webkit/CookieManager.java
851730552166bf6e99ed60438ba91f09f36b829f 08-Dec-2010 Kristian Monsen <kristianm@google.com> Make CookieManager.removeSessionCookies async

Webkit loadurl() will wait on the webcore thread until oustanding
cookie operations complete.

Change-Id: I067408fdb9acd2e2d1f1f21eef910d0b26304332
/frameworks/base/core/java/android/webkit/CookieManager.java
99f39771ab15fc13d221ebfb3682741002c5f7b1 06-Dec-2010 Iain Merrick <husky@google.com> Call flushCookieStore() from CookieSyncManager.

I previously tried to make this a new public API, but I realised
it should actually hang off the existing code in CookieSyncManager.

Change-Id: Ic44334008266bad5ba1245cf674350a4c10712ce
/frameworks/base/core/java/android/webkit/CookieManager.java
c40fc2c31a55f7e8312aa2721bf51fcb74bb3a95 30-Nov-2010 Iain Merrick <husky@google.com> Add FlushCookieStore() method to CookieManager (Java side)

The browser app will use this to sync cookies to flash when it is
sent to the background. Corresponding C++ code is in Ia9b56f3c.

Bug: 3231371

Change-Id: I04e96affcce335191ee2075d0e160f0d8313bf76
/frameworks/base/core/java/android/webkit/CookieManager.java
87ad930037a5ccb915d3ff3675135d405af092d7 10-Nov-2010 Brian Carlstrom <bdc@google.com> Correctly parse cookies with spaces after = in attributes

Bug: 3167208
Change-Id: I8adebf9f9e92967a3250e61ccfbb45e02bbee3f9
/frameworks/base/core/java/android/webkit/CookieManager.java
93e5e14240ffbb42dbda30dc143d8dd8a132dcf9 28-Oct-2010 Steve Block <steveblock@google.com> Hook up remaining CookieManager methods

hasCookies(), removeExpiredCookie(), removeSessionCookie() and setCookie()

Requires a change to external/webkit ...
https://android-git.corp.google.com/g/76897

Bug: 3116410
Change-Id: I46603be60e2a6b0e8bac9ca506b56d78643a3658
/frameworks/base/core/java/android/webkit/CookieManager.java
dcd2d0dee9fb70f7e1e813355ed382a38e23fb46 27-Oct-2010 Steve Block <steveblock@google.com> Hook up CookieManager.getCookie() for Chromium HTTP stack

Requires a change to external/webkit ...
https://android-git.corp.google.com/g/76603

Bug: 3116410
Change-Id: Id0cd5871fd13f952d4f2aa963576a4e610459a18
/frameworks/base/core/java/android/webkit/CookieManager.java
b5ac9de4b587aa8bf4de704fe9a783d9b4bea514 25-Oct-2010 Steve Block <steveblock@google.com> Hook up CookieManager.acceptCookie() and setAcceptCookie() for the Chromium HTTP stack

Also requires a change to external/webkit ...
https://android-git.corp.google.com/g/76066

Bug: 3116410
Change-Id: If8562468708e7d68c5be53db3860647687ebf3bd
/frameworks/base/core/java/android/webkit/CookieManager.java
2d80ede01afde8a0f484f012e395a97e04e32d36 22-Oct-2010 Steve Block <steveblock@google.com> Add a JNI method to determine which HTTP stack is in use

This will be required when hooking up CookieManager to the Chromium
stack, as we need to decide in Java whether or not to call into native
code.

Bug: 3116410
Change-Id: Ibe2f7687655a93993b19f4fb9b4fed137b3b9466
/frameworks/base/core/java/android/webkit/CookieManager.java
1c9ca4f1fa8ce06217c8c53da7f539d23ee11a1f 21-Oct-2010 Steve Block <steveblock@google.com> Hook up CookieManager.removeAllCookie() for the Chromium HTTP stack

Requires a change to external/webkit ...
https://android-git.corp.google.com/g/75473

Bug: 3086308
Change-Id: I01274b3b1384a6947d5a56a51b0b93b1898ddebc
/frameworks/base/core/java/android/webkit/CookieManager.java
eb8be973c7982fe3ece0aeaeca379c3b3cdced0c 12-Oct-2010 Bjorn Bringert <bringert@android.com> Make fields in WebAddress private, add getters/setters

Change-Id: Iceaf3d648289344e53c37273f7324a79676fbef7
/frameworks/base/core/java/android/webkit/CookieManager.java
7cfa90fee54f44831ac492891d1c123601c2a262 08-Apr-2010 Jesse Wilson <jessewilson@google.com> Move the public method HttpDateTime.parse() into AndroidHttpClient.

See bug http://b/2553589

Change-Id: Ide3399c7c63daf9c0b8c18669076f2f4d6e9a876
/frameworks/base/core/java/android/webkit/CookieManager.java
11fb6144604fbd1148695421e9ab6896701a431b 01-Apr-2010 Derek Sollenberger <djsollen@google.com> Match RFC requirement that the domain portion of a cookie should be case-insensitive.

fixes bug #2549818.

Change-Id: I1372171568828545e78690f1ddc0ddcf25ddd428
/frameworks/base/core/java/android/webkit/CookieManager.java
06312cae6b0e00c4ccbe84e9c682de8d607897a9 19-Mar-2010 Patrick Scott <phanna@android.com> Compare the cookie names to ensure a consistent ordering.

Comparing the hash code provided a consistent order but it was not a logical,
testable order as the hash code was not related to lexicographic ordering.

Remove a spurious '=' from a comment.

Bug: 2527671
Change-Id: Ia2248cb8acbc4d5759a624eec13da3837f7406b8
/frameworks/base/core/java/android/webkit/CookieManager.java
2807dbd5942a64eb0200de3c2ea0f551a22720f3 08-Mar-2010 Patrick Scott <phanna@android.com> If both cookies have null values, use the name difference.

Change-Id: Idee9763a14dd559f136ee8b1eea9abaf265d15a1
/frameworks/base/core/java/android/webkit/CookieManager.java
d2b49d931afd22051807ef8919437ee889211bbb 05-Mar-2010 Patrick Scott <phanna@android.com> Cookies like "a=b" were broken due to my previous change.

Update the cookie parser to correctly detect "a=b" cookies and add comments.
Also change the comparator to compare null values before the name so that all
cookies with null values come after cookies with values.

Also added a cts test in cts project.

Bug: 2487245
/frameworks/base/core/java/android/webkit/CookieManager.java
2269d1572e5fcfb725ea55f5764d8c3280d69f6d 25-Feb-2010 Dianne Hackborn <hackbod@google.com> Re-arrange android-common so framework no longer links with it.

This is the framework part, moving classes around so the framework
no longer needs to link to android-common. Makes some APIs public,
others that didn't need to be public are private in the framework,
some small things are copied.
/frameworks/base/core/java/android/webkit/CookieManager.java
6a4472f4d5513a69665811115c56f63e5f3935fe 22-Feb-2010 Patrick Scott <phanna@android.com> Allow cookies with no name.

Cookies like "foo; path=/;" should be evaluated to have just a name. This makes
it easier to compare cookies when looking for duplicates.

Bug: 2333747
/frameworks/base/core/java/android/webkit/CookieManager.java
45a9a14006214e6478311ffcb980e766702d5a76 03-Feb-2010 Doug Zongker <dougz@android.com> remove android.webkit.HttpDateTime, again

Remove this class, again, and change the webkit uses of it to use the
one in android-common. Remove class from preloaded-classes as well.

Change-Id: Ic0d4835e77180d299bc2c22b7c8780861b4781ee
/frameworks/base/core/java/android/webkit/CookieManager.java
e4a74ea0ae1370139d8d3da5ae35f11ee72e3a72 03-Feb-2010 Doug Zongker <dougz@android.com> undo "move HttpDateTime from android.webkit to android-common jar"

This restores this class to android.webkit, but leaves a copy in
android-common while I figure out how to move it correctly.

This reverts commit 7ad12a5f44253dc535f9a25ceb029579b40c43b1.

Change-Id: I1d0a3efe34764058b979c6987e6e774f64d02b8c
/frameworks/base/core/java/android/webkit/CookieManager.java
7ad12a5f44253dc535f9a25ceb029579b40c43b1 03-Feb-2010 Doug Zongker <dougz@android.com> move HttpDateTime from android.webkit to android-common jar

Some to-be-unbundled classes want to use HttpDateTime as well.

Change-Id: I40a001970682f6fbd4d9cd3546bd3f63ebfbe89b
/frameworks/base/core/java/android/webkit/CookieManager.java
dbdad99813be49f2a64b876507ae18db42db7bbc 16-Aug-2009 Grace Kloba <klobag@google.com> Fix a cookie bug. If "secure" is in the end of the string, it was ignored.
/frameworks/base/core/java/android/webkit/CookieManager.java
8ae277735439940480e1301ff729cee32c2ab72e 04-Aug-2009 Grace Kloba <klobag@google.com> Fix #2031300. Set only accept unique objects. So we have to assign different
value for each cookie when we add them to the SortedSet.
/frameworks/base/core/java/android/webkit/CookieManager.java
f4046ba80369efb2d2b75df05dfdf41a07bc8710 03-Aug-2009 Grace Kloba <klobag@google.com> Fix the cookie order. If multiple cookies satisfy the criteria, the one with
more specfic Path precede thoese with less specific.
/frameworks/base/core/java/android/webkit/CookieManager.java
2e5c150e746647a1ce5c10e1708debbf06c45ea7 03-Jun-2009 Derek Sollenberger <djsollen@google.com> Centralized debug flags and enabled more granular control of debug settings.
/frameworks/base/core/java/android/webkit/CookieManager.java
6b4e4275d374e47e4b87b57bbabf94d5dd55e7b3 11-May-2009 Grace Kloba <klobag@google.com> Fix 1799207. With the new local dns, we should allow the host without any PERIOD. Otherwise http://go won't work properly.
/frameworks/base/core/java/android/webkit/CookieManager.java
42bc2ff5d2e3a10ab6c1fb1e716a124f2b446dbc 14-Apr-2009 Dave Bort <dbort@android.com> Remove references to android.util.Config

The semantics of Config.DEBUG will be changing soon, and all other
Config.* fields will become deprecated/hidden.

BUG=1780938
/frameworks/base/core/java/android/webkit/CookieManager.java
ba87e3e6c985e7175152993b5efcc7dd2f0e1c93 13-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake_rel/...@138607
/frameworks/base/core/java/android/webkit/CookieManager.java
9066cfe9886ac131c34d59ed0e2d287b0e3c0087 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
/frameworks/base/core/java/android/webkit/CookieManager.java
d83a98f4ce9cfa908f5c54bbd70f03eec07e7553 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
/frameworks/base/core/java/android/webkit/CookieManager.java
da996f390e17e16f2dfa60e972e7ebc4f868f37e 13-Feb-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@131421
/frameworks/base/core/java/android/webkit/CookieManager.java
b798689749c64baba81f02e10cf2157c747d6b46 10-Jan-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@125939
/frameworks/base/core/java/android/webkit/CookieManager.java
f013e1afd1e68af5e3b868c26a653bbfb39538f8 18-Dec-2008 The Android Open Source Project <initial-contribution@android.com> Code drop from //branches/cupcake/...@124589
/frameworks/base/core/java/android/webkit/CookieManager.java
54b6cfa9a9e5b861a9930af873580d6dc20f773c 21-Oct-2008 The Android Open Source Project <initial-contribution@android.com> Initial Contribution
/frameworks/base/core/java/android/webkit/CookieManager.java