Index: chrome/browser/local_discovery/privet_http_impl.h |
diff --git a/chrome/browser/local_discovery/privet_http_impl.h b/chrome/browser/local_discovery/privet_http_impl.h |
index b3001c4dd07a0e6fc71d3774e3638d524187526c..3fbbcaccfcd402724669738498993c56b9b7ab20 100644 |
--- a/chrome/browser/local_discovery/privet_http_impl.h |
+++ b/chrome/browser/local_discovery/privet_http_impl.h |
@@ -8,6 +8,7 @@ |
#include <string> |
#include "base/callback.h" |
+#include "base/file_util.h" |
#include "base/memory/weak_ptr.h" |
#include "chrome/browser/local_discovery/privet_http.h" |
@@ -156,6 +157,7 @@ class PrivetLocalPrintOperationImpl |
virtual void Start() OVERRIDE; |
virtual void SendData(const std::string& data) OVERRIDE; |
+ virtual void SendDataFile(const base::FilePath& data) OVERRIDE; |
virtual void SetTicket(const std::string& ticket) OVERRIDE; |
@@ -195,6 +197,8 @@ class PrivetLocalPrintOperationImpl |
void OnCreatejobResponse(bool has_error, |
const base::DictionaryValue* value); |
+ void SendDataInternal(); |
+ |
PrivetHTTPClientImpl* privet_client_; |
PrivetLocalPrintOperation::Delegate* delegate_; |
@@ -202,6 +206,7 @@ class PrivetLocalPrintOperationImpl |
std::string ticket_; |
std::string data_; |
+ base::FilePath data_file_; |
bool use_pdf_; |
bool has_capabilities_; |