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

Unified Diff: content/browser/browser_context.cc

Issue 10086018: More DomStorage house cleaning (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 8 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
Index: content/browser/browser_context.cc
===================================================================
--- content/browser/browser_context.cc (revision 132437)
+++ content/browser/browser_context.cc (working copy)
@@ -5,8 +5,8 @@
#include "content/public/browser/browser_context.h"
#include "content/browser/appcache/chrome_appcache_service.h"
+#include "content/browser/dom_storage/dom_storage_context_impl.h"
#include "content/browser/fileapi/browser_file_system_helper.h"
-#include "content/browser/in_process_webkit/dom_storage_context_impl.h"
#include "content/browser/in_process_webkit/indexed_db_context_impl.h"
#include "content/browser/resource_context_impl.h"
#include "content/public/browser/browser_thread.h"
@@ -240,19 +240,8 @@
GetDatabaseTracker(this)));
}
-#ifdef ENABLE_NEW_DOM_STORAGE_BACKEND
if (GetUserData(kDOMStorageContextKeyName))
GetDOMStorageContextImpl(this)->Shutdown();
-#else
- if (GetUserData(kDOMStorageContextKeyName) &&
- BrowserThread::IsMessageLoopValid(BrowserThread::WEBKIT_DEPRECATED)) {
- DOMStorageContextImpl* dom_storage_context =
- (static_cast<UserDataAdapter<DOMStorageContextImpl>*>(
- GetUserData(kDOMStorageContextKeyName)))->release();
- BrowserThread::ReleaseSoon(
- BrowserThread::WEBKIT_DEPRECATED, FROM_HERE, dom_storage_context);
- }
-#endif
}
} // namespace content

Powered by Google App Engine
This is Rietveld 408576698