diff options
author | dtrainor@chromium.org <dtrainor@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-08-28 17:42:34 +0000 |
---|---|---|
committer | dtrainor@chromium.org <dtrainor@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-08-28 17:42:34 +0000 |
commit | b3261677e1279043fb778e8bbba1cc5e1da974f2 (patch) | |
tree | 20fd2c187ac84d72ec8be04253d257c2ca15b157 /chrome/browser/sync | |
parent | 5f45b5c09370ed31a5e114e409db308a4190e592 (diff) | |
download | chromium_src-b3261677e1279043fb778e8bbba1cc5e1da974f2.zip chromium_src-b3261677e1279043fb778e8bbba1cc5e1da974f2.tar.gz chromium_src-b3261677e1279043fb778e8bbba1cc5e1da974f2.tar.bz2 |
Refactor TabBase to give it ownership of ContentViews and NativePages. This CL includes the following:
- Moves ContentView/NativePage object ownership to TabBase.
- TabBase now has the initialization/destruction methods associated with ContentViews and WebContents.
- Creates a TabObserver to pipe out changes to TabBase to listeners.
- Adds helper methods for creating delegates/observers on the WebContents/ContentView.
BUG=277135
NOTRY=true
Review URL: https://chromiumcodereview.appspot.com/23020009
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@220051 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/sync')
-rw-r--r-- | chrome/browser/sync/glue/synced_tab_delegate_android.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/sync/glue/synced_tab_delegate_android.cc b/chrome/browser/sync/glue/synced_tab_delegate_android.cc index 55d06f8..8585537 100644 --- a/chrome/browser/sync/glue/synced_tab_delegate_android.cc +++ b/chrome/browser/sync/glue/synced_tab_delegate_android.cc @@ -30,7 +30,7 @@ SessionID::id_type SyncedTabDelegateAndroid::GetWindowId() const { } SessionID::id_type SyncedTabDelegateAndroid::GetSessionId() const { - return tab_android_->id().id(); + return tab_android_->session_id().id(); } bool SyncedTabDelegateAndroid::IsBeingDestroyed() const { |