Description[Android] Implement WebSettings.setAppCache{Enabled|Path}
AppCacheEnabled is mapped onto WebPreferences.application_cache_enabled, which goes directly into WebKit Settings.
AppCachePath is only used as a flag to enable AppCache. We can't make use of the full path given, because in Chromium the Application Cache directory lives inside the browser context (profile).
The tests added trigger a DCHECK in disk cache, unless the profile is empty when the test starts. This makes impossible to run them both now, so only one of them is enabled for now.
Android CTS tests WebSettings.testAppCache{Disabled|Enabled} are passing with this patch.
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=171074
Patch Set 1 #Patch Set 2 : Fix findbugs issues #Patch Set 3 : Ready #Patch Set 4 : Ready for review #Patch Set 5 : Removed a spurious include #
Total comments: 9
Patch Set 6 : Comments addressed #
Total comments: 8
Patch Set 7 : The final version #
Total comments: 2
Patch Set 8 : Comments addressed #Messages
Total messages: 15 (0 generated)
|