| Index: chrome/browser/chrome_content_browser_client.cc
|
| ===================================================================
|
| --- chrome/browser/chrome_content_browser_client.cc (revision 90949)
|
| +++ chrome/browser/chrome_content_browser_client.cc (working copy)
|
| @@ -405,6 +405,14 @@
|
| return allow;
|
| }
|
|
|
| +bool ChromeContentBrowserClient::AllowSaveLocalState(
|
| + const content::ResourceContext& context) {
|
| + DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO));
|
| + ProfileIOData* io_data =
|
| + reinterpret_cast<ProfileIOData*>(context.GetUserData(NULL));
|
| + return !io_data->clear_local_state_on_exit()->GetValue();
|
| +}
|
| +
|
| QuotaPermissionContext*
|
| ChromeContentBrowserClient::CreateQuotaPermissionContext() {
|
| return new ChromeQuotaPermissionContext();
|
|
|