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

Unified Diff: chrome/browser/ui/webui/print_preview/print_preview_handler.h

Issue 12163003: Add FilePath to base namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 11 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/ui/webui/feedback_ui.h ('k') | chrome/browser/ui/webui/print_preview/sticky_settings.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/print_preview/print_preview_handler.h
diff --git a/chrome/browser/ui/webui/print_preview/print_preview_handler.h b/chrome/browser/ui/webui/print_preview/print_preview_handler.h
index 5be2f944937e684f10dca91a94471831e9f2046c..553ecffc47e89e1255b8ca23c29c90eab199478a 100644
--- a/chrome/browser/ui/webui/print_preview/print_preview_handler.h
+++ b/chrome/browser/ui/webui/print_preview/print_preview_handler.h
@@ -17,11 +17,11 @@
#include "printing/print_job_constants.h"
#include "ui/shell_dialogs/select_file_dialog.h"
-class FilePath;
class PrintSystemTaskProxy;
namespace base {
class DictionaryValue;
+class FilePath;
class RefCountedBytes;
}
@@ -48,7 +48,7 @@ class PrintPreviewHandler : public content::WebUIMessageHandler,
virtual void RegisterMessages() OVERRIDE;
// SelectFileDialog::Listener implementation.
- virtual void FileSelected(const FilePath& path,
+ virtual void FileSelected(const base::FilePath& path,
int index,
void* params) OVERRIDE;
virtual void FileSelectionCanceled(void* params) OVERRIDE;
@@ -57,7 +57,7 @@ class PrintPreviewHandler : public content::WebUIMessageHandler,
virtual void OnPrintDialogShown() OVERRIDE;
// Displays a modal dialog, prompting the user to select a file.
- void SelectFile(const FilePath& default_path);
+ void SelectFile(const base::FilePath& default_path);
// Called when the print preview dialog is destroyed. This is the last time
// this object has access to the PrintViewManager in order to disconnect the
@@ -220,7 +220,7 @@ class PrintPreviewHandler : public content::WebUIMessageHandler,
// Holds the path to the print to pdf request. It is empty if no such request
// exists.
- scoped_ptr<FilePath> print_to_pdf_path_;
+ scoped_ptr<base::FilePath> print_to_pdf_path_;
DISALLOW_COPY_AND_ASSIGN(PrintPreviewHandler);
};
« no previous file with comments | « chrome/browser/ui/webui/feedback_ui.h ('k') | chrome/browser/ui/webui/print_preview/sticky_settings.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698