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

Unified Diff: cloud_print/gcp20/prototype/service_parameters.h

Issue 16975004: Finished DNS-SD server. Finished Privet-specified DNS-SD server. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Formalized IpAddressSize constant. Created 7 years, 6 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 | « cloud_print/gcp20/prototype/printer.cc ('k') | cloud_print/gcp20/prototype/service_parameters.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..79582ad8e1c90fc4bec08ee474534b29dafd69f9
--- /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();
+
+ ~ServiceParameters() {}
+
+ ServiceParameters(const std::string& service_type,
+ const std::string& service_name_prefix,
+ const std::string& service_domain_name,
+ const net::IPAddressNumber& http_ipv4,
+ uint16 http_port);
+
+ std::string service_type_;
+ std::string service_name_;
+ std::string service_domain_name_;
+ net::IPAddressNumber http_ipv4_;
+ uint16 http_port_;
+};
+
+#endif // CLOUD_PRINT_GCP20_PROTOTYPE_SERVICE_PARAMETERS_H_
+
« no previous file with comments | « cloud_print/gcp20/prototype/printer.cc ('k') | cloud_print/gcp20/prototype/service_parameters.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698