diff options
author | aurimas@chromium.org <aurimas@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-08-26 18:47:24 +0000 |
---|---|---|
committer | aurimas@chromium.org <aurimas@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-08-26 18:47:24 +0000 |
commit | 0b4f7ab61243ff448be0d8d2c99c81848729816c (patch) | |
tree | f2d1475d5ef219f99de26b6c03a558efe982bbdd /chrome/browser/sync | |
parent | 773fd44a07cff7d57731b277a516178bd4d59687 (diff) | |
download | chromium_src-0b4f7ab61243ff448be0d8d2c99c81848729816c.zip chromium_src-0b4f7ab61243ff448be0d8d2c99c81848729816c.tar.gz chromium_src-0b4f7ab61243ff448be0d8d2c99c81848729816c.tar.bz2 |
Add the missing GetWebContent() method.
Fix the broken Chrome for Android build that happened after
https://chromiumcodereview.appspot.com/22981004 which added a new
virtual function.
BUG=265523
NOTRY=true
Review URL: https://chromiumcodereview.appspot.com/22842015
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@219573 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/sync')
-rw-r--r-- | chrome/browser/sync/glue/synced_tab_delegate_android.cc | 4 | ||||
-rw-r--r-- | chrome/browser/sync/glue/synced_tab_delegate_android.h | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/chrome/browser/sync/glue/synced_tab_delegate_android.cc b/chrome/browser/sync/glue/synced_tab_delegate_android.cc index 300b90a..55d06f8 100644 --- a/chrome/browser/sync/glue/synced_tab_delegate_android.cc +++ b/chrome/browser/sync/glue/synced_tab_delegate_android.cc @@ -87,6 +87,10 @@ bool SyncedTabDelegateAndroid::HasWebContents() const { return web_contents_ != NULL; } +content::WebContents* SyncedTabDelegateAndroid::GetWebContents() const { + return web_contents_; +} + void SyncedTabDelegateAndroid::SetWebContents( content::WebContents* web_contents) { web_contents_ = web_contents; diff --git a/chrome/browser/sync/glue/synced_tab_delegate_android.h b/chrome/browser/sync/glue/synced_tab_delegate_android.h index 3550277..90d239a 100644 --- a/chrome/browser/sync/glue/synced_tab_delegate_android.h +++ b/chrome/browser/sync/glue/synced_tab_delegate_android.h @@ -38,6 +38,7 @@ class SyncedTabDelegateAndroid : public browser_sync::SyncedTabDelegate { virtual content::NavigationEntry* GetActiveEntry() const OVERRIDE; virtual bool IsPinned() const OVERRIDE; virtual bool HasWebContents() const OVERRIDE; + virtual content::WebContents* GetWebContents() const OVERRIDE; virtual int GetSyncId() const OVERRIDE; virtual void SetSyncId(int sync_id) OVERRIDE; |