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

Unified Diff: components/sessions/core/tab_restore_service_client.h

Issue 1350653004: [sessions] Properly namespace recently-componentized TabRestore code (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix Mac 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: components/sessions/core/tab_restore_service_client.h
diff --git a/components/sessions/core/tab_restore_service_client.h b/components/sessions/core/tab_restore_service_client.h
index 81835e76e314a37e1df21a8a8e0e0d05be2f1fd1..1542f7383c545dca2f72c0b6bb9d913ea3b6e274 100644
--- a/components/sessions/core/tab_restore_service_client.h
+++ b/components/sessions/core/tab_restore_service_client.h
@@ -17,19 +17,13 @@ class CancelableTaskTracker;
class SequencedWorkerPool;
}
-// TODO(blundell): Remove all references to WebContents from
-// TabRestoreServiceClient and get rid of this. crbug.com/530174
-namespace content {
-class WebContents;
-}
-
class GURL;
-class TabRestoreServiceDelegate;
namespace sessions {
class LiveTab;
struct SessionWindow;
+class TabRestoreServiceDelegate;
// Callback from TabRestoreServiceClient::GetLastSession.
// The second parameter is the id of the window that was last active.
@@ -81,7 +75,7 @@ class SESSIONS_EXPORT TabRestoreServiceClient {
// Returns whether a given URL should be tracked for restoring.
virtual bool ShouldTrackURLForRestore(const GURL& url) = 0;
- // Returns the extension app ID for the given WebContents, or the empty string
+ // Returns the extension app ID for the given LiveTab, or the empty string
// if there is no such ID (e.g., if extensions are not supported by the
// embedder).
virtual std::string GetExtensionAppIDForTab(LiveTab* tab) = 0;
« no previous file with comments | « components/sessions/core/tab_restore_service.cc ('k') | components/sessions/core/tab_restore_service_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698