Index: cloud_print/gcp20/prototype/service_parameters.h |
diff --git a/cloud_print/gcp20/prototype/service_parameters.h b/cloud_print/gcp20/prototype/service_parameters.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..e5d6dd025d6879e71986743540690a2a7d684974 |
--- /dev/null |
+++ b/cloud_print/gcp20/prototype/service_parameters.h |
@@ -0,0 +1,32 @@ |
+// Copyright 2013 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef CLOUD_PRINT_GCP20_PROTOTYPE_SERVICE_PARAMETERS_H_ |
+#define CLOUD_PRINT_GCP20_PROTOTYPE_SERVICE_PARAMETERS_H_ |
+ |
+#include <string> |
+ |
+#include "net/base/net_util.h" |
+ |
+// Stores information about service. |
+struct ServiceParameters { |
+ ServiceParameters(); |
gene
2013/06/19 05:40:51
do you need a default constructor?
maksymb
2013/06/19 21:47:21
Yes, DnsSdServer receives info about service only
|
+ |
+ ~ServiceParameters() {} |
+ |
+ ServiceParameters(const std::string& service_type, |
+ const std::string& service_name_prefix, |
+ const std::string& service_domain_name, |
+ const net::IPAddressNumber& http_ip, |
+ uint16 http_port); |
+ |
+ std::string service_type_; |
+ std::string service_name_; |
+ std::string service_domain_name_; |
+ net::IPAddressNumber http_ip_; |
+ uint16 http_port_; |
+}; |
+ |
+#endif // CLOUD_PRINT_GCP20_PROTOTYPE_SERVICE_PARAMETERS_H_ |
+ |