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

Unified Diff: chrome/browser/sessions/tab_restore_service.h

Issue 1343833002: Abstract content::SessionStorageNamespace from core TabRestore code (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@extension_tab_helper
Patch Set: Hopefully fix Windows Created 5 years, 3 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: chrome/browser/sessions/tab_restore_service.h
diff --git a/chrome/browser/sessions/tab_restore_service.h b/chrome/browser/sessions/tab_restore_service.h
index 4c159561c3e81158374b6f293cbf55f3d3cf9150..4882350b56328f3244d69a1453fb8d0b8ffb9f43 100644
--- a/chrome/browser/sessions/tab_restore_service.h
+++ b/chrome/browser/sessions/tab_restore_service.h
@@ -12,17 +12,16 @@
#include "base/memory/ref_counted.h"
#include "base/time/time.h"
#include "components/keyed_service/core/keyed_service.h"
+#include "components/sessions/core/tab_restore_service_client.h"
#include "components/sessions/serialized_navigation_entry.h"
#include "components/sessions/session_id.h"
#include "components/sessions/session_types.h"
-#include "content/public/browser/session_storage_namespace.h"
#include "ui/base/window_open_disposition.h"
class TabRestoreServiceDelegate;
class TabRestoreServiceObserver;
namespace content {
-class SessionStorageNamespace;
class WebContents;
}
@@ -99,8 +98,8 @@ class TabRestoreService : public KeyedService {
// If non-empty gives the id of the extension for the tab.
std::string extension_app_id;
- // The associated session storage namespace (if any).
- scoped_refptr<content::SessionStorageNamespace> session_storage_namespace;
+ // The associated client data.
+ scoped_refptr<sessions::TabClientData> client_data;
// The user agent override used for the tab's navigations (if applicable).
std::string user_agent_override;

Powered by Google App Engine
This is Rietveld 408576698