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. 13struct ServiceParameters { 14 ServiceParameters(); 15 16 ~ServiceParameters(); 17 18 ServiceParameters(const std::string& service_type, 19 const std::string& secondary_service_type, 20 const std::string& service_name_prefix, 21 const std::string& service_domain_name, 22 const net::IPAddressNumber& http_ipv4, 23 const net::IPAddressNumber& http_ipv6, 24 uint16 http_port); 25 26 std::string service_type_; 27 std::string secondary_service_type_; 28 std::string service_name_; 29 std::string service_domain_name_; 30 net::IPAddressNumber http_ipv4_; 31 net::IPAddressNumber http_ipv6_; 32 uint16 http_port_; 33}; 34 35#endif // CLOUD_PRINT_GCP20_PROTOTYPE_SERVICE_PARAMETERS_H_ 36