diff options
author | yujie.mao@intel.com <yujie.mao@intel.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-04-28 03:47:53 +0000 |
---|---|---|
committer | yujie.mao@intel.com <yujie.mao@intel.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-04-28 03:47:53 +0000 |
commit | 51d1fc6e5da2dce688c931824aa4e082f04ce363 (patch) | |
tree | 1e986d576a335163c829a27dd8adeca24824e95a /chrome/browser/infobars | |
parent | 56e1b525240f842a0a116a832041c2923796d870 (diff) | |
download | chromium_src-51d1fc6e5da2dce688c931824aa4e082f04ce363.zip chromium_src-51d1fc6e5da2dce688c931824aa4e082f04ce363.tar.gz chromium_src-51d1fc6e5da2dce688c931824aa4e082f04ce363.tar.bz2 |
Refactor media stream infobar delegate code and also fix a typo
BUG=NONE
TEST=ui_tests
Review URL: http://codereview.chromium.org/10209022
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@134440 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/infobars')
-rw-r--r-- | chrome/browser/infobars/infobar_delegate.cc | 2 | ||||
-rw-r--r-- | chrome/browser/infobars/infobar_delegate.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/infobars/infobar_delegate.cc b/chrome/browser/infobars/infobar_delegate.cc index fc46d3f..fe2125d 100644 --- a/chrome/browser/infobars/infobar_delegate.cc +++ b/chrome/browser/infobars/infobar_delegate.cc @@ -68,7 +68,7 @@ LinkInfoBarDelegate* InfoBarDelegate::AsLinkInfoBarDelegate() { return NULL; } -MediaStreamInfoBarDelegate* InfoBarDelegate::AsMediaStreamInfobarDelegate() { +MediaStreamInfoBarDelegate* InfoBarDelegate::AsMediaStreamInfoBarDelegate() { return NULL; } diff --git a/chrome/browser/infobars/infobar_delegate.h b/chrome/browser/infobars/infobar_delegate.h index 9d1f3d3..dee2b99 100644 --- a/chrome/browser/infobars/infobar_delegate.h +++ b/chrome/browser/infobars/infobar_delegate.h @@ -100,7 +100,7 @@ class InfoBarDelegate { virtual ExtensionInfoBarDelegate* AsExtensionInfoBarDelegate(); virtual InsecureContentInfoBarDelegate* AsInsecureContentInfoBarDelegate(); virtual LinkInfoBarDelegate* AsLinkInfoBarDelegate(); - virtual MediaStreamInfoBarDelegate* AsMediaStreamInfobarDelegate(); + virtual MediaStreamInfoBarDelegate* AsMediaStreamInfoBarDelegate(); virtual RegisterProtocolHandlerInfoBarDelegate* AsRegisterProtocolHandlerInfoBarDelegate(); virtual ThemeInstalledInfoBarDelegate* AsThemePreviewInfobarDelegate(); |