Support partitioning of storage contexts based on render_id.

This modifies BrowserContext to support having multiple storage partitions based on the child process id. The embedder is given a function that allows it to map a child process id into different storage buckets.

R=creis,nasko,jam
TBR=marja
BUG=85121
TEST=add an isolated app that covers a path like http://www.example.com/isolated/.  On that page, add an entry to local storage. Access another page on www.example.com that is not isolated. Check that it cannot see the previously set entry.  Repeat test in the reverse direction.

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146443 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/chrome/browser/extensions/extension_data_deleter.cc b/chrome/browser/extensions/extension_data_deleter.cc
index 786b46d..d2ceb5ec 100644
--- a/chrome/browser/extensions/extension_data_deleter.cc
+++ b/chrome/browser/extensions/extension_data_deleter.cc
@@ -48,7 +48,8 @@
       base::Bind(
           &ExtensionDataDeleter::DeleteCookiesOnIOThread, deleter));
 
-  BrowserContext::GetDOMStorageContext(profile)->DeleteOrigin(storage_origin);
+  BrowserContext::GetDefaultDOMStorageContext(profile)->DeleteOrigin(
+      storage_origin);
 
   BrowserThread::PostTask(
       BrowserThread::WEBKIT_DEPRECATED, FROM_HERE,