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

Unified Diff: content/browser/dom_storage/dom_storage_context_impl.cc

Issue 11269010: Move fileapi and dom_storage directories into the content namespace. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 2 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/dom_storage/dom_storage_context_impl.cc
===================================================================
--- content/browser/dom_storage/dom_storage_context_impl.cc (revision 163834)
+++ content/browser/dom_storage/dom_storage_context_impl.cc (working copy)
@@ -14,13 +14,12 @@
#include "webkit/dom_storage/dom_storage_context.h"
#include "webkit/dom_storage/dom_storage_task_runner.h"
-using content::BrowserThread;
-using content::DOMStorageContext;
using dom_storage::DomStorageArea;
using dom_storage::DomStorageContext;
using dom_storage::DomStorageTaskRunner;
using dom_storage::DomStorageWorkerPoolTaskRunner;
+namespace content {
namespace {
const char kLocalStorageDirectory[] = "Local Storage";
@@ -131,10 +130,10 @@
context_->SetSaveSessionStorageOnDisk();
}
-scoped_refptr<content::SessionStorageNamespace>
+scoped_refptr<SessionStorageNamespace>
DOMStorageContextImpl::RecreateSessionStorage(
const std::string& persistent_id) {
- return scoped_refptr<content::SessionStorageNamespace>(
+ return scoped_refptr<SessionStorageNamespace>(
new SessionStorageNamespaceImpl(this, persistent_id));
}
@@ -170,3 +169,5 @@
DomStorageTaskRunner::PRIMARY_SEQUENCE,
base::Bind(&DomStorageContext::Shutdown, context_));
}
+
+} // namespace content

Powered by Google App Engine
This is Rietveld 408576698