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

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

Issue 8956059: Rename NavigationController to NavigationControllerImpl and put it into the content namespace. Al... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years 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/tab_contents/render_view_context_menu.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/sync/glue/session_model_associator.cc
===================================================================
--- chrome/browser/sync/glue/session_model_associator.cc (revision 115900)
+++ chrome/browser/sync/glue/session_model_associator.cc (working copy)
@@ -38,11 +38,12 @@
#include <windows.h>
#endif
-namespace browser_sync {
-
using content::BrowserThread;
+using content::NavigationEntry;
using syncable::SESSIONS;
+namespace browser_sync {
+
namespace {
static const char kNoSessionsFolderError[] =
"Server did not create the top-level sessions node. We "
@@ -336,7 +337,7 @@
tab_s->set_extension_app_id(tab.GetExtensionAppId());
}
for (int i = min_index; i < max_index; ++i) {
- const content::NavigationEntry* entry = (i == pending_index) ?
+ const NavigationEntry* entry = (i == pending_index) ?
tab.GetPendingEntry() : tab.GetEntryAtIndex(i);
DCHECK(entry);
if (entry->GetVirtualURL().is_valid()) {
@@ -1064,7 +1065,7 @@
tab.GetWindowId());
if (!window)
return false;
- const content::NavigationEntry* entry = tab.GetActiveEntry();
+ const NavigationEntry* entry = tab.GetActiveEntry();
if (!entry)
return false;
if (entry->GetVirtualURL().is_valid() &&
« no previous file with comments | « chrome/browser/ssl/ssl_browser_tests.cc ('k') | chrome/browser/tab_contents/render_view_context_menu.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698