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 fa9da005dda177b967d0f144f5d658a4d07a5d4b..294c647c74af8d1092aacdcfc6e2a6fc1e6814c7 100644 |
--- a/chrome/browser/ui/webui/print_preview/print_preview_handler.h |
+++ b/chrome/browser/ui/webui/print_preview/print_preview_handler.h |
@@ -31,6 +31,10 @@ namespace content { |
class WebContents; |
} |
+namespace gfx { |
+class Size; |
+} |
+ |
namespace printing { |
struct PageSizeMargins; |
class PrintBackend; |
@@ -248,14 +252,17 @@ class PrintPreviewHandler |
void PrivetCapabilitiesUpdateClient( |
scoped_ptr<local_discovery::PrivetHTTPClient> http_client); |
void PrivetLocalPrintUpdateClient( |
- std::string printTicket, |
+ std::string print_ticket, |
+ gfx::Size page_size, |
scoped_ptr<local_discovery::PrivetHTTPClient> http_client); |
bool PrivetUpdateClient( |
scoped_ptr<local_discovery::PrivetHTTPClient> http_client); |
- void StartPrivetLocalPrint(const std::string& print_ticket); |
+ void StartPrivetLocalPrint(const std::string& print_ticket, |
+ const gfx::Size& page_size); |
void SendPrivetCapabilitiesError(const std::string& id); |
void PrintToPrivetPrinter(const std::string& printer_name, |
- const std::string& print_ticket); |
+ const std::string& print_ticket, |
+ const gfx::Size& page_size); |
bool CreatePrivetHTTP( |
const std::string& name, |
const local_discovery::PrivetHTTPAsynchronousFactory::ResultCallback& |