881e15f2501a06fe95fb9926956f0f4773a53715
[platform/framework/web/crosswalk.git] / src / cloud_print / gcp20 / prototype / service_parameters.h
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& secondary_service_type,
20                     const std::string& service_name_prefix,
21                     const std::string& service_domain_name,
22                     const net::IPAddressNumber& http_ipv4,
23                     uint16 http_port);
24
25   std::string service_type_;
26   std::string secondary_service_type_;
27   std::string service_name_;
28   std::string service_domain_name_;
29   net::IPAddressNumber http_ipv4_;
30   uint16 http_port_;
31 };
32
33 #endif  // CLOUD_PRINT_GCP20_PROTOTYPE_SERVICE_PARAMETERS_H_