0
Commit Graph

3 Commits

Author SHA1 Message Date
ajwong@chromium.org
10eb2816fd continuing from http://http://codereview.chromium.org/10823241
This intentionally doesn't change the ChromeOS behavior at all.  They all still use the default FileSystemContext.

This code also exposes the normal and media URLRequestGetters via the StoragePartition, and cleans up a bit of code that was accessing the URLRequestGetter in odd ways.  Also, it makes Workers correctly use the Media Cache for Media fetches.

TBR=benjhyden,sky,davemoore,piman,mkwst,kalman
BUG=85121

Review URL: https://chromiumcodereview.appspot.com/10909182

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@157284 0039d316-1c4b-4281-b951-d872f2087c98
2012-09-18 03:04:09 +00:00
ajwong@chromium.org
71ace01735 Redo the Storage Partition directory layout to support guest tags and origin based partitions.
The new layout is
    (1) ProfileDir/Default/Storage Partitions/extensions/{ extension_id }/default/
    (2) ProfileDir/Default/Storage Partitions/extensions/{ extension_id }/{ hash(BrowserTag.partition) }/

In the future, after we add support for browser tags in webui or add support for server
administrators of websites to opt into storage isolation, we will also need:

    (3) ProfileDir/Default/Storage Partitions/origins/{ hash(origin) }/default/
    (4) ProfileDir/Default/Storage Partitions/origins/{ hash(origin) }/{ hash(BrowserTag.partition) }/

TBR=willchan
BUG=85121


Review URL: https://chromiumcodereview.appspot.com/10913265

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@157039 0039d316-1c4b-4281-b951-d872f2087c98
2012-09-16 04:01:08 +00:00
ajwong@chromium.org
4c3a235850 Move StoragePartition into content/public and remove BrowserContext::GetDOMStorageContext().
Eventually all the storage context accessors will be removed from BrowserContext. Instead, users should retrieve the storage context from the StoragePartition.

This also changes RenderProcessHost to take in a StoragePartition removing the need for a re-lookup its storage contexts.

BUG=85121,143486

Review URL: https://chromiumcodereview.appspot.com/10837230

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@152251 0039d316-1c4b-4281-b951-d872f2087c98
2012-08-18 08:54:34 +00:00