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

Unified Diff: chrome/browser/local_discovery/privet_http_impl.h

Issue 208583007: Tunnel the CDD from the Print Preview javascript to the privet operation (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 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/local_discovery/privet_http.h ('k') | chrome/browser/local_discovery/privet_http_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 8d0ae3fb975bcccf16f4f92f45242cc8ca25be00..ed70356bdac6b653e3932d505f6693f9d159ccc4 100644
--- a/chrome/browser/local_discovery/privet_http_impl.h
+++ b/chrome/browser/local_discovery/privet_http_impl.h
@@ -12,6 +12,7 @@
#include "base/memory/ref_counted.h"
#include "base/memory/weak_ptr.h"
#include "chrome/browser/local_discovery/privet_http.h"
+#include "components/cloud_devices/cloud_device_description.h"
#include "printing/pdf_render_settings.h"
namespace local_discovery {
@@ -204,6 +205,8 @@ class PrivetLocalPrintOperationImpl
virtual void SetData(base::RefCountedBytes* data) OVERRIDE;
+ virtual void SetCapabilities(const std::string& capabilities) OVERRIDE;
+
virtual void SetTicket(const std::string& ticket) OVERRIDE;
virtual void SetUsername(const std::string& user) OVERRIDE;
@@ -254,7 +257,9 @@ class PrivetLocalPrintOperationImpl
ResponseCallback current_response_;
- std::string ticket_;
+ cloud_devices::CloudDeviceDescription ticket_;
Vitaly Buka (NO REVIEWS) 2014/03/21 22:43:34 store as strings
Noam Samuel 2014/03/21 23:06:30 Discussed offline.
+ cloud_devices::CloudDeviceDescription capabilities_;
+
scoped_refptr<base::RefCountedBytes> data_;
base::FilePath pwg_file_path_;
« no previous file with comments | « chrome/browser/local_discovery/privet_http.h ('k') | chrome/browser/local_discovery/privet_http_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698