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

Unified Diff: chrome/browser/printing/print_preview_message_handler.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
Index: chrome/browser/printing/print_preview_message_handler.cc
===================================================================
--- chrome/browser/printing/print_preview_message_handler.cc (revision 116288)
+++ chrome/browser/printing/print_preview_message_handler.cc (working copy)
@@ -25,6 +25,7 @@
#include "printing/print_job_constants.h"
using content::BrowserThread;
+using content::NavigationController;
namespace {
@@ -246,13 +247,13 @@
void PrintPreviewMessageHandler::NavigateToPendingEntry(
const GURL& url,
- content::NavigationController::ReloadType reload_type) {
+ NavigationController::ReloadType reload_type) {
TabContentsWrapper* tab = tab_contents_wrapper();
TabContentsWrapper* preview_tab = GetPrintPreviewTab();
if (tab == preview_tab) {
// Cloud print sign-in reloads the page.
DCHECK(PrintPreviewTabController::IsPrintPreviewURL(url));
- DCHECK_EQ(content::NavigationController::RELOAD, reload_type);
+ DCHECK_EQ(NavigationController::RELOAD, reload_type);
return;
}
// If |tab| is navigating and it has a print preview tab, notify |tab| to
« no previous file with comments | « chrome/browser/printing/print_dialog_cloud.cc ('k') | chrome/browser/printing/print_preview_tab_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698