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

Unified Diff: chrome/browser/sync/glue/synced_tab_delegate.h

Issue 11030004: Switch TabContentsSyncedTabDelegate to use WebContentsUserData. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase, added TODO 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: chrome/browser/sync/glue/synced_tab_delegate.h
diff --git a/chrome/browser/sync/glue/synced_tab_delegate.h b/chrome/browser/sync/glue/synced_tab_delegate.h
index 3355001b5f01b1843f1c16079a30ba2b0c7632ba..9e56748e035c382cc75a7bb7bcf4afa146adc015 100644
--- a/chrome/browser/sync/glue/synced_tab_delegate.h
+++ b/chrome/browser/sync/glue/synced_tab_delegate.h
@@ -18,23 +18,23 @@ class NavigationEntry;
namespace browser_sync {
// A SyncedTabDelegate is used to insulate the sync code from depending
-// directly on WebContents, TabContents and NavigationController.
+// directly on WebContents, NavigationController, and the extensions TabHelper.
class SyncedTabDelegate {
public:
virtual ~SyncedTabDelegate() {}
- // Method from TabContents.
+ // Methods from TabContents.
virtual SessionID::id_type GetWindowId() const = 0;
virtual SessionID::id_type GetSessionId() const = 0;
virtual bool IsBeingDestroyed() const = 0;
virtual Profile* profile() const = 0;
- // Method derived from TabContents.
+ // Method derived from extensions TabHelper.
virtual std::string GetExtensionAppId() const = 0;
- // Method from NavigationController
+ // Methods from NavigationController.
virtual int GetCurrentEntryIndex() const = 0;
virtual int GetEntryCount() const = 0;
« no previous file with comments | « chrome/browser/sync/glue/session_change_processor.cc ('k') | chrome/browser/sync/glue/synced_window_delegate_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698