summaryrefslogtreecommitdiffstats
path: root/content/browser/tab_contents/navigation_controller.cc
diff options
context:
space:
mode:
Diffstat (limited to 'content/browser/tab_contents/navigation_controller.cc')
-rw-r--r--content/browser/tab_contents/navigation_controller.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/content/browser/tab_contents/navigation_controller.cc b/content/browser/tab_contents/navigation_controller.cc
index 280fe99..55e6ce3 100644
--- a/content/browser/tab_contents/navigation_controller.cc
+++ b/content/browser/tab_contents/navigation_controller.cc
@@ -35,6 +35,7 @@ using content::GlobalRequestID;
using content::NavigationEntry;
using content::NavigationEntryImpl;
using content::UserMetricsAction;
+using content::WebContents;
namespace {
@@ -181,6 +182,10 @@ NavigationController::~NavigationController() {
content::NotificationService::NoDetails());
}
+WebContents* NavigationController::GetWebContents() const {
+ return tab_contents_;
+}
+
content::BrowserContext* NavigationController::GetBrowserContext() const {
return browser_context_;
}