summaryrefslogtreecommitdiffstats
path: root/chrome/browser/appcache
Commit message (Collapse)AuthorAgeFilesLines
* net: Remove typedef net::URLRequestContext URLRequestContext;tfarina@chromium.org2011-01-153-6/+6
| | | | | | | | | BUG=64263 TEST=compiled locally, trybots Review URL: http://codereview.chromium.org/6338002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@71522 0039d316-1c4b-4281-b951-d872f2087c98
* Refactored app cache clear on exit code to happen in the object owning the ↵pastarmovj@chromium.org2011-01-103-11/+145
| | | | | | | | | | | | | | | | | files. In an effort to remove the static functions that used to be called from the BrowserProcessImpl very late in the shutdown process and move the code to immediately after the files get freed from their respective users. Which will help to parallelize the shutdown sequence better and ensure files are deleted when they are not used anymore. BUG=65076 TEST=TBA Review URL: http://codereview.chromium.org/6077005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@70893 0039d316-1c4b-4281-b951-d872f2087c98
* net: Add namespace net to the remaining files under url_request directory.tfarina@chromium.org2011-01-061-4/+7
| | | | | | | | | | | | It just adds the 'namespace net' to these files and a typedef for them, because there are many entries to fix in one pass. They will be fixed later. BUG=64263 TEST=trybots Review URL: http://codereview.chromium.org/6056007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@70592 0039d316-1c4b-4281-b951-d872f2087c98
* Make IPC::Channel::Listener:OnMessageReceived have a return value indicating ↵jam@chromium.org2010-12-241-11/+10
| | | | | | | | | whether a message was processed or not. TBR=brettw Review URL: http://codereview.chromium.org/5978003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@70139 0039d316-1c4b-4281-b951-d872f2087c98
* Add stats for figuring out how often we kill processes because of malformed ↵jam@chromium.org2010-12-222-13/+22
| | | | | | | | IPCs or unexpected values. Review URL: http://codereview.chromium.org/6061005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69985 0039d316-1c4b-4281-b951-d872f2087c98
* Split the layout tests run in the appcache ui tests into two groups, PHP ↵michaeln@chromium.org2010-12-141-32/+58
| | | | | | | | | | | dependent vs non-dependent. Also remove some tests that are racey from the layout tests run in these test cases. BUG=54717 TEST=yes Review URL: http://codereview.chromium.org/4858003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69085 0039d316-1c4b-4281-b951-d872f2087c98
* Rename ResourceMessageFilter to RenderMessageFilter, since that's what it ↵jam@chromium.org2010-12-141-1/+1
| | | | | | | | actually is. I will add a ResourceMessageFilter just for resource IPCs in a future change. Review URL: http://codereview.chromium.org/5701004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69076 0039d316-1c4b-4281-b951-d872f2087c98
* net: Remove typedef net::URLRequestJob URLRequestJob;tfarina@chromium.org2010-12-111-1/+1
| | | | | | | | | BUG=64263 TEST=compiled locally, trybots Review URL: http://codereview.chromium.org/5607004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@68935 0039d316-1c4b-4281-b951-d872f2087c98
* Make BrowserMessageFilter support dispatching messages on different threads.jam@chromium.org2010-12-102-10/+8
| | | | | | Review URL: http://codereview.chromium.org/5541005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@68870 0039d316-1c4b-4281-b951-d872f2087c98
* Make the AppCacheDispatcherHost be a MessageFilter so that ↵jam@chromium.org2010-12-044-64/+59
| | | | | | | | ResourceMessageFilter doesn't have to know about it and vice versa. Review URL: http://codereview.chromium.org/5625003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@68254 0039d316-1c4b-4281-b951-d872f2087c98
* net: Remove typedef net::URLRequest URLRequest;tfarina@chromium.org2010-11-301-2/+1
| | | | | | | | | BUG=64263 TEST=compiled locally, trybots Review URL: http://codereview.chromium.org/5384002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@67762 0039d316-1c4b-4281-b951-d872f2087c98
* Refactor: move HostContentSettingsMap to content_settingsgfeher@chromium.org2010-11-301-1/+1
| | | | | | | | | BUG=64660 TEST=build succeeds (no effective code change) Review URL: http://codereview.chromium.org/5367006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@67706 0039d316-1c4b-4281-b951-d872f2087c98
* net: Add namespace net to URLRequest and URLRequestJob classes.tfarina@chromium.org2010-11-281-2/+5
| | | | | | | | | BUG=64263 TEST=compiled locally and trybots Review URL: http://codereview.chromium.org/5298008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@67497 0039d316-1c4b-4281-b951-d872f2087c98
* Add a bunch of missing bug references to FLAKY testsstuartmorgan@chromium.org2010-10-271-0/+1
| | | | | | | | | BUG=None TEST=N/A Review URL: http://codereview.chromium.org/4135007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@64150 0039d316-1c4b-4281-b951-d872f2087c98
* FBTF: Monster ctor patch after changing heuristics in clang plugin.erg@google.com2010-10-182-0/+4
| | | | | | | | | | | (Only 916k this time off Debug Linux .a files) BUG=none TEST=compiles Review URL: http://codereview.chromium.org/3814013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62967 0039d316-1c4b-4281-b951-d872f2087c98
* FBTF: More ctor/dtor cleanup.erg@google.com2010-10-141-0/+1
| | | | | | | | | | | (3.5 megs off debug linux .a files) BUG=none TEST=compiles Review URL: http://codereview.chromium.org/3806005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62654 0039d316-1c4b-4281-b951-d872f2087c98
* Rename ChromeThread to BrowserThread Final Part:tfarina@chromium.org2010-10-121-1/+1
| | | | | | | | | | | | | | - Rename chrome_thread.cc to browser_thread.cc - Rename chrome_thread_unittest.cc to browser_thread_unittest.cc - Include browser_thread.h instead of chrome_thread.h where needed. - Fix gyp files according. BUG=56926 TEST=trybots and compiled locally Review URL: http://codereview.chromium.org/3643005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62356 0039d316-1c4b-4281-b951-d872f2087c98
* Rename ChromeThread to BrowserThread Part19:tfarina@chromium.org2010-10-121-1/+1
| | | | | | | | | | | - Include browser_thread.h instead of chrome_thread.h in more 65 files. BUG=56926 TEST=trybots Review URL: http://codereview.chromium.org/3717003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62226 0039d316-1c4b-4281-b951-d872f2087c98
* Rename ChromeThread to BrowserThread Part13:tfarina@chromium.org2010-10-101-1/+1
| | | | | | | | | | | | | - Rename entries under appcache, automation, chromeos, cocoa, file_system, metrics, policy, prefs, remoting, search_engines and tab_contents. BUG=56926 TEST=trybots Review URL: http://codereview.chromium.org/3660002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62120 0039d316-1c4b-4281-b951-d872f2087c98
* Rename ChromeThread to BrowserThread Part 2:tfarina@chromium.org2010-10-061-14/+14
| | | | | | | | | | | - Rename the entries under appcache, autocomplete and automation. BUG=56926 TEST=trybots Review URL: http://codereview.chromium.org/3524012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61610 0039d316-1c4b-4281-b951-d872f2087c98
* Remove vestigial cookie/web app permissions prompting UI now that the async ↵ben@chromium.org2010-09-172-85/+0
| | | | | | | | | | UI has been approved for M7.This allows me to more easily change the way the appmodal dialog system works. http://crbug.com/55121 TEST=existing tests Review URL: http://codereview.chromium.org/3299020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@59838 0039d316-1c4b-4281-b951-d872f2087c98
* Rename the extension manifest key "unlimited_storage" to "unlimitedStorage"asargent@chromium.org2010-08-131-1/+1
| | | | | | | | | | | | | But, still accept the old value for backwards compatability. BUG=51970 TEST=Extensions should get unlimited storage quota for localStorage and web databases using either "unlimitedStorage" or "unlimited_storage" in their manifest's permissions key. Review URL: http://codereview.chromium.org/3109013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@56090 0039d316-1c4b-4281-b951-d872f2087c98
* Provide a profile.GetAppCacheService() accessor and add two helper methods ↵michaeln@chromium.org2010-08-112-12/+34
| | | | | | | | | | | to ChromeAppCacheService to override the default quota for an origin. BUG=49993 TESTS=existing tests apply Review URL: http://codereview.chromium.org/2819091 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@55773 0039d316-1c4b-4281-b951-d872f2087c98
* Introduce a resource identifier for content settings.jochen@chromium.org2010-08-061-3/+3
| | | | | | | | | | | This will allow for having per plugin content settings, i.e. the content settings type would be plugin and the resource identifier would be to concrete plugin that is about to be loaded. BUG=39252 TEST=unit_tests Review URL: http://codereview.chromium.org/2878075 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@55213 0039d316-1c4b-4281-b951-d872f2087c98
* Chrome side of changes required to populate appcache resource list.kkanetkar@chromium.org2010-07-284-12/+18
| | | | | | | | | BUG = 2821005 TEST = Manually navigate. Review URL: http://codereview.chromium.org/3009005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53902 0039d316-1c4b-4281-b951-d872f2087c98
* `#pragma once` for app, base, chrome, gfx, ipc, net, skia, viewsthakis@chromium.org2010-07-264-0/+4
| | | | | | | | | BUG=50273 TEST=everything still builds, build is 10% faster on windows, same speed on mac/linux TBR: erg git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53716 0039d316-1c4b-4281-b951-d872f2087c98
* Include a new layout test, "progress-counter.html", in the ui_test harness.michaeln@chromium.org2010-07-141-0/+1
| | | | | | | | | TEST=yes BUG=39370 Review URL: http://codereview.chromium.org/2975012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52392 0039d316-1c4b-4281-b951-d872f2087c98
* New javascript console logging related to the appcache.michaeln@chromium.org2010-07-142-0/+9
| | | | | | | | | | | | | * Log an error message when an update job results in an error. * Log info messages for progress events and other update status changed events. * Consistently use "Application Cache" in the console messages. TEST=existing unit tests apply for functional correctness, manual testing to see the new console output BUG=none Review URL: http://codereview.chromium.org/2910007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52270 0039d316-1c4b-4281-b951-d872f2087c98
* Reland r52072. Pass notifications to the browser on access to the appcache ↵jochen@chromium.org2010-07-122-3/+5
| | | | | | | | | | | | main resource manifest. BUG=45230 TEST=browser_tests TBR=vandebo Review URL: http://codereview.chromium.org/2980001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52074 0039d316-1c4b-4281-b951-d872f2087c98
* Failed compile on Chromium builder dbgvandebo@chromium.org2010-07-122-5/+3
| | | | | | | | | | | | | | Revert 52072 - Pass notifications to the browser on access to the appcache main resource manifest. BUG=45230 TEST=browser_tests Review URL: http://codereview.chromium.org/2808046 TBR=jochen@chromium.org Review URL: http://codereview.chromium.org/2925008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52073 0039d316-1c4b-4281-b951-d872f2087c98
* Pass notifications to the browser on access to the appcache main resource ↵jochen@chromium.org2010-07-122-3/+5
| | | | | | | | | | | manifest. BUG=45230 TEST=browser_tests Review URL: http://codereview.chromium.org/2808046 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52072 0039d316-1c4b-4281-b951-d872f2087c98
* Add a "session only" policy to the content settings.jochen@chromium.org2010-07-021-2/+2
| | | | | | | | | | | session only is treated as allow, but the cookies will expire after this session (the actual code to expire non-html cookies will follow). BUG=47049 TEST=none Review URL: http://codereview.chromium.org/2858018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51522 0039d316-1c4b-4281-b951-d872f2087c98
* Fix a typo.michaeln@chromium.org2010-06-281-1/+1
| | | | | | | | | BUG=none TEST=none TBR=jianli git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51069 0039d316-1c4b-4281-b951-d872f2087c98
* Run appcache layout tests in chrome using the ui test harness. michaeln@chromium.org2010-06-281-0/+75
| | | | | | | | | BUG=39365 TEST=yes Review URL: http://codereview.chromium.org/2879003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51059 0039d316-1c4b-4281-b951-d872f2087c98
* Revert r50798 as it seems to create ui test failureshclam@chromium.org2010-06-251-75/+0
| | | | | | | | TBR=ericu, michaeln Review URL: http://codereview.chromium.org/2863025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50813 0039d316-1c4b-4281-b951-d872f2087c98
* Run appcache layout tests in chrome using the ui test harness.michaeln@chromium.org2010-06-251-0/+75
| | | | | | | | | BUG=39365 TEST=yes Review URL: http://codereview.chromium.org/2822007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50798 0039d316-1c4b-4281-b951-d872f2087c98
* AppCache: add plumbing to deliver logging messages to the renderer process. ↵michaeln@chromium.org2010-06-182-0/+8
| | | | | | | | These messages will be plumbed thru to the console output for the page associated with 'host_id'.BUG=13685TEST=none Review URL: http://codereview.chromium.org/2861007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50197 0039d316-1c4b-4281-b951-d872f2087c98
* AppCache: Use a dedicated thread for the disk cache.rvargas@google.com2010-06-071-3/+3
| | | | | | | | | | BUG=26730 TEST=current tests Review URL: http://codereview.chromium.org/2249005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49111 0039d316-1c4b-4281-b951-d872f2087c98
* Defend against messages being received prior to having been initialized.michaeln@chromium.org2010-05-282-16/+16
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/2321002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@48542 0039d316-1c4b-4281-b951-d872f2087c98
* Fully connect the dots between workers and appcache resource loading.michaeln@chromium.org2010-05-272-0/+31
| | | | | | | | | | | | | | | | | | | | | | | * Split WorkerService CreateWorker into distinct methods for 'shared' vs 'dedicated' workers. * Include additional appcache params in WorkerService CreateSharedWorker and CreateDedicatedWorker methods. * Store those additional params in WorkerInstance object. * Pass those additional params to the worker process. * Use those additional params when initiating the appcache host for the worker when calling SelectCacheForWorker and SelectCacheForSharedWorker. * Add browser process message handlers and dispatching for the SelectCacheForWorker and SelectCacheForSharedWorker IPC messages. * Runtime enable the appcache feature in the worker processes. BUG=39368 TEST=manual for now, but i need to create layout tests for this Review URL: http://codereview.chromium.org/2238001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@48441 0039d316-1c4b-4281-b951-d872f2087c98
* Provide more info to the renderer process in appcache progress events.michaeln@chromium.org2010-05-252-0/+11
| | | | | | | | | BUG=39370 TEST= yes, updated unittests Review URL: http://codereview.chromium.org/2166006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@48197 0039d316-1c4b-4281-b951-d872f2087c98
* Browser process scaffolding to support having appcache work in workers.michaeln@chromium.org2010-05-242-4/+21
| | | | | | | | | | | | | | | | * Associate a RequestContext with a WorkerProcessHost. This corresponds to themain request context of the profile for which the worker process is running. Also associate the context with each WorkerInstance which comes into existance priorto the WorkerProcessHost that will host the instance. * Give the WorkerProcessHost an AppCacheDispatcherHost. * Fix up some recently botched IPC plumbing for ViewHostMsg_CreateWorker_Params. BUG=39368 TEST=there are no worker unit tests Review URL: http://codereview.chromium.org/2010010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@48064 0039d316-1c4b-4281-b951-d872f2087c98
* Indicate in the tab UI if appcache creation was blocked by privacy settings.jochen@chromium.org2010-04-092-2/+7
| | | | | | | | | TEST=manual BUG=38362 Review URL: http://codereview.chromium.org/1600002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@44079 0039d316-1c4b-4281-b951-d872f2087c98
* A basic implementation of information about appcache. Lists manifest files, ↵kkanetkar@chromium.org2010-03-272-0/+47
| | | | | | | | | | | time and size information. BUG=38463 TEST=Run chrome, navigate to about:appcache-internals. Review URL: http://codereview.chromium.org/1109009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42888 0039d316-1c4b-4281-b951-d872f2087c98
* Put up a prompt to create appcaches if the Content Settings indicate to do ↵michaeln@chromium.org2010-03-242-7/+100
| | | | | | | | | | | so. Done for windows and linux (sorry mac, you're out of luck). Also put in place a GenericInfoView class. BUG=38362 TEST=manual and generic_info_view_unittest.cc Review URL: http://codereview.chromium.org/1115005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42525 0039d316-1c4b-4281-b951-d872f2087c98
* Plumbing for providing a cache thread MessageLoop to the DiskCache backend.michaeln@chromium.org2010-03-181-1/+2
| | | | | | | | | BUG=26730 TEST=none Review URL: http://codereview.chromium.org/1115002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42014 0039d316-1c4b-4281-b951-d872f2087c98
* Continue removing bad dependency of chrome/common on chrome/browserphajdan.jr@chromium.org2010-02-276-0/+478
TEST=none BUG=none Review URL: http://codereview.chromium.org/661178 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40224 0039d316-1c4b-4281-b951-d872f2087c98