1 // Copyright 2013 The Chromium Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 #ifndef CLOUD_PRINT_GCP20_PROTOTYPE_SERVICE_PARAMETERS_H_ 6 #define CLOUD_PRINT_GCP20_PROTOTYPE_SERVICE_PARAMETERS_H_ 7 8 #include <string> 9 10 #include "net/base/net_util.h" 11 12 // Stores information about service. 13 struct ServiceParameters { 14 ServiceParameters(); 15 16 ~ServiceParameters(); 17 18 ServiceParameters(const std::string& service_type, 19 const std::string& service_name_prefix, 20 const std::string& service_domain_name, 21 const net::IPAddressNumber& http_ipv4, 22 uint16 http_port); 23 24 std::string service_type_; 25 std::string service_name_; 26 std::string service_domain_name_; 27 net::IPAddressNumber http_ipv4_; 28 uint16 http_port_; 29 }; 30 31 #endif // CLOUD_PRINT_GCP20_PROTOTYPE_SERVICE_PARAMETERS_H_ 32 33