Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(7749)

Unified Diff: chrome/browser/ui/startup/startup_browser_creator_impl.cc

Issue 10837230: Move StoragePartition into content/public and remove BrowserContext::GetDOMStorageContext(). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: remove DISALLOW_COPY_AND_ASSIGN, and change RPH::CreateMessageFilters() to not suddenly isolate all… Created 8 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/ui/startup/session_crashed_prompt.cc ('k') | content/browser/browser_context.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/startup/startup_browser_creator_impl.cc
diff --git a/chrome/browser/ui/startup/startup_browser_creator_impl.cc b/chrome/browser/ui/startup/startup_browser_creator_impl.cc
index 0744280b02316b94e359f2029222aeecdde25c63..ae410bbd5e07b558fa880b520193ac1a33ee5576 100644
--- a/chrome/browser/ui/startup/startup_browser_creator_impl.cc
+++ b/chrome/browser/ui/startup/startup_browser_creator_impl.cc
@@ -78,6 +78,7 @@
#include "content/public/browser/dom_storage_context.h"
#include "content/public/browser/notification_observer.h"
#include "content/public/browser/notification_registrar.h"
+#include "content/public/browser/storage_partition.h"
#include "content/public/browser/web_contents.h"
#include "content/public/browser/web_contents_view.h"
#include "grit/locale_settings.h"
@@ -647,8 +648,8 @@ bool StartupBrowserCreatorImpl::ProcessStartupURLs(
// to start deleting leftover data.
if (pref.type != SessionStartupPref::LAST &&
!HasPendingUncleanExit(profile_)) {
- content::BrowserContext::GetDefaultDOMStorageContext(profile_)->
- StartScavengingUnusedSessionStorage();
+ content::BrowserContext::GetDefaultStoragePartition(profile_)->
+ GetDOMStorageContext()->StartScavengingUnusedSessionStorage();
}
return true;
« no previous file with comments | « chrome/browser/ui/startup/session_crashed_prompt.cc ('k') | content/browser/browser_context.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698