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

Unified Diff: content/public/browser/session_storage_namespace.h

Issue 9963107: Persist sessionStorage on disk. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Code review. Created 8 years, 6 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/public/browser/session_storage_namespace.h
diff --git a/content/public/browser/session_storage_namespace.h b/content/public/browser/session_storage_namespace.h
index 5b17d0ceaebd56e8c45794931e5525c6d17d47f8..e333c468007e3a5338655efebc64f1cc5448511d 100644
--- a/content/public/browser/session_storage_namespace.h
+++ b/content/public/browser/session_storage_namespace.h
@@ -6,6 +6,8 @@
#define CONTENT_PUBLIC_BROWSER_SESSION_STORAGE_NAMESPACE_H_
#pragma once
+#include <string>
+
#include "base/memory/ref_counted.h"
namespace content {
@@ -16,6 +18,9 @@ namespace content {
// it keeps valgrind happy.
class SessionStorageNamespace
: public base::RefCountedThreadSafe<SessionStorageNamespace> {
+ public:
+ virtual int64 id() const = 0;
+ virtual std::string persistent_id() const = 0;
protected:
friend class base::RefCountedThreadSafe<SessionStorageNamespace>;
virtual ~SessionStorageNamespace() {}

Powered by Google App Engine
This is Rietveld 408576698