summaryrefslogtreecommitdiffstats
path: root/chrome/browser/printing/print_dialog_cloud.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/printing/print_dialog_cloud.h')
-rw-r--r--chrome/browser/printing/print_dialog_cloud.h14
1 files changed, 10 insertions, 4 deletions
diff --git a/chrome/browser/printing/print_dialog_cloud.h b/chrome/browser/printing/print_dialog_cloud.h
index 01fc5c9..0dde6b5 100644
--- a/chrome/browser/printing/print_dialog_cloud.h
+++ b/chrome/browser/printing/print_dialog_cloud.h
@@ -6,6 +6,8 @@
#define CHROME_BROWSER_PRINTING_PRINT_DIALOG_CLOUD_H_
#pragma once
+#include <string>
+
#include "base/basictypes.h"
#include "base/string16.h"
@@ -19,26 +21,30 @@ class Message;
class PrintDialogCloud {
public:
// Called on the IO or UI thread.
- static void CreatePrintDialogForPdf(const FilePath& path_to_pdf,
+ static void CreatePrintDialogForFile(const FilePath& path_to_file,
const string16& print_job_title,
+ const std::string& file_type,
bool modal);
private:
friend class PrintDialogCloudTest;
- explicit PrintDialogCloud(const FilePath& path_to_pdf,
+ explicit PrintDialogCloud(const FilePath& path_to_file,
const string16& print_job_title,
+ const std::string& file_type,
bool modal);
~PrintDialogCloud();
- void Init(const FilePath& path_to_pdf,
+ void Init(const FilePath& path_to_file,
const string16& print_job_title,
+ const std::string& file_type,
bool modal);
// Called as a task from the UI thread, creates an object instance
// to run the HTML/JS based print dialog for printing through the cloud.
- static void CreateDialogImpl(const FilePath& path_to_pdf,
+ static void CreateDialogImpl(const FilePath& path_to_file,
const string16& print_job_title,
+ const std::string& file_type,
bool modal);
Browser* browser_;