Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2985)

Unified Diff: chrome/browser/sync/glue/session_change_processor.cc

Issue 8983012: Get rid of content::NavigationController in cc file and use "using" instead. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 12 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/ssl/ssl_browser_tests.cc ('k') | chrome/browser/tabs/tab_strip_model.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/sync/glue/session_change_processor.cc
===================================================================
--- chrome/browser/sync/glue/session_change_processor.cc (revision 116288)
+++ chrome/browser/sync/glue/session_change_processor.cc (working copy)
@@ -27,6 +27,7 @@
#include "content/public/browser/web_contents.h"
using content::BrowserThread;
+using content::NavigationController;
using content::WebContents;
namespace browser_sync {
@@ -38,8 +39,7 @@
SyncedTabDelegate* ExtractSyncedTabDelegate(
const content::NotificationSource& source) {
TabContentsWrapper* tab = TabContentsWrapper::GetCurrentWrapperForContents(
- content::Source<content::NavigationController>(source).ptr()->
- GetWebContents());
+ content::Source<NavigationController>(source).ptr()->GetWebContents());
if (!tab)
return NULL;
return tab->synced_tab_delegate();
« no previous file with comments | « chrome/browser/ssl/ssl_browser_tests.cc ('k') | chrome/browser/tabs/tab_strip_model.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698