summaryrefslogtreecommitdiffstats
path: root/chrome/browser/sessions
diff options
context:
space:
mode:
authorpinkerton@chromium.org <pinkerton@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-05-31 17:39:13 +0000
committerpinkerton@chromium.org <pinkerton@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-05-31 17:39:13 +0000
commit8286f51aaab9c769e70a1bcad5c568cec6636ba0 (patch)
treea741bc9016024ee0e092dfcbdc292a3d54c28c34 /chrome/browser/sessions
parentc8e2646cd5873468fe7497889c8b30da5f3cd2d4 (diff)
downloadchromium_src-8286f51aaab9c769e70a1bcad5c568cec6636ba0.zip
chromium_src-8286f51aaab9c769e70a1bcad5c568cec6636ba0.tar.gz
chromium_src-8286f51aaab9c769e70a1bcad5c568cec6636ba0.tar.bz2
Factor load notification detail structs out of NavigationController and into
their own file in the |content| namespace. Remove un-necessary includes of navigation_controller.h. BUG=none TEST=everything compiles Review URL: http://codereview.chromium.org/7008018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@87319 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/sessions')
-rw-r--r--chrome/browser/sessions/session_service.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/chrome/browser/sessions/session_service.cc b/chrome/browser/sessions/session_service.cc
index 2977357..506f86b 100644
--- a/chrome/browser/sessions/session_service.cc
+++ b/chrome/browser/sessions/session_service.cc
@@ -28,7 +28,7 @@
#include "chrome/browser/ui/browser_window.h"
#include "chrome/browser/ui/tab_contents/tab_contents_wrapper.h"
#include "chrome/common/extensions/extension.h"
-#include "content/browser/tab_contents/navigation_controller.h"
+#include "content/browser/tab_contents/navigation_details.h"
#include "content/browser/tab_contents/navigation_entry.h"
#include "content/browser/tab_contents/tab_contents.h"
#include "content/common/notification_details.h"
@@ -547,7 +547,7 @@ void SessionService::Observe(NotificationType type,
case NotificationType::NAV_LIST_PRUNED: {
NavigationController* controller =
Source<NavigationController>(source).ptr();
- Details<NavigationController::PrunedDetails> pruned_details(details);
+ Details<content::PrunedDetails> pruned_details(details);
if (pruned_details->from_front) {
TabNavigationPathPrunedFromFront(controller->window_id(),
controller->session_id(),
@@ -565,7 +565,7 @@ void SessionService::Observe(NotificationType type,
case NotificationType::NAV_ENTRY_CHANGED: {
NavigationController* controller =
Source<NavigationController>(source).ptr();
- Details<NavigationController::EntryChangedDetails> changed(details);
+ Details<content::EntryChangedDetails> changed(details);
UpdateTabNavigation(controller->window_id(), controller->session_id(),
changed->index, *changed->changed_entry);
break;
@@ -581,7 +581,7 @@ void SessionService::Observe(NotificationType type,
UpdateTabNavigation(controller->window_id(), controller->session_id(),
current_entry_index,
*controller->GetEntryAtIndex(current_entry_index));
- Details<NavigationController::LoadCommittedDetails> changed(details);
+ Details<content::LoadCommittedDetails> changed(details);
if (changed->type == NavigationType::NEW_PAGE ||
changed->type == NavigationType::EXISTING_PAGE) {
RecordSessionUpdateHistogramData(NotificationType::NAV_ENTRY_COMMITTED,