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

Unified Diff: content/browser/download/save_package.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/test/base/ui_test_utils.cc ('k') | content/browser/renderer_host/test_render_view_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/download/save_package.cc
===================================================================
--- content/browser/download/save_package.cc (revision 115900)
+++ content/browser/download/save_package.cc (working copy)
@@ -46,6 +46,7 @@
using base::Time;
using content::BrowserThread;
using content::DownloadItem;
+using content::NavigationEntry;
using WebKit::WebPageSerializerClient;
namespace {
@@ -224,7 +225,7 @@
// from the NavigationEntry because it reflects its' origin
// rather than the displayed one (returned by GetURL) which may be
// different (like having "view-source:" on the front).
- content::NavigationEntry* active_entry =
+ NavigationEntry* active_entry =
web_contents()->GetController().GetActiveEntry();
return active_entry->GetURL();
}
« no previous file with comments | « chrome/test/base/ui_test_utils.cc ('k') | content/browser/renderer_host/test_render_view_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698