summaryrefslogtreecommitdiffstats
path: root/chrome/browser/infobars
diff options
context:
space:
mode:
authorjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-12-28 21:04:23 +0000
committerjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-12-28 21:04:23 +0000
commit10f417c53722348c4452dc22e1a0dd18c0e4b140 (patch)
tree470c5574d9d2ef9c7ba62951868149e70169b1a5 /chrome/browser/infobars
parenta47fccd356705a7d92cc83b03150c9782167f8c4 (diff)
downloadchromium_src-10f417c53722348c4452dc22e1a0dd18c0e4b140.zip
chromium_src-10f417c53722348c4452dc22e1a0dd18c0e4b140.tar.gz
chromium_src-10f417c53722348c4452dc22e1a0dd18c0e4b140.tar.bz2
Rename NavigationController to NavigationControllerImpl and put it into the content namespace. Also make all users of content::NavigationController interface use the "using" keyword so they don't have to put content:: everywhere (similar to other Content API and WebKit API classes).
BUG=98716 TBR=joi Review URL: http://codereview.chromium.org/8956059 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@115916 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/infobars')
-rw-r--r--chrome/browser/infobars/infobar_delegate.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/chrome/browser/infobars/infobar_delegate.cc b/chrome/browser/infobars/infobar_delegate.cc
index daef494..4a0e35b 100644
--- a/chrome/browser/infobars/infobar_delegate.cc
+++ b/chrome/browser/infobars/infobar_delegate.cc
@@ -11,6 +11,8 @@
#include "content/public/browser/navigation_entry.h"
#include "content/public/browser/web_contents.h"
+using content::NavigationEntry;
+
// InfoBarDelegate ------------------------------------------------------------
InfoBarDelegate::~InfoBarDelegate() {
@@ -83,7 +85,7 @@ InfoBarDelegate::InfoBarDelegate(InfoBarTabHelper* infobar_helper)
void InfoBarDelegate::StoreActiveEntryUniqueID(
InfoBarTabHelper* infobar_helper) {
- content::NavigationEntry* active_entry =
+ NavigationEntry* active_entry =
infobar_helper->web_contents()->GetController().GetActiveEntry();
contents_unique_id_ = active_entry ? active_entry->GetUniqueID() : 0;
}