OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CLOUD_PRINT_GCP20_PROTOTYPE_COMMAND_LINE_READER_H_ | 5 #ifndef CLOUD_PRINT_GCP20_PROTOTYPE_COMMAND_LINE_READER_H_ |
6 #define CLOUD_PRINT_GCP20_PROTOTYPE_COMMAND_LINE_READER_H_ | 6 #define CLOUD_PRINT_GCP20_PROTOTYPE_COMMAND_LINE_READER_H_ |
7 | 7 |
| 8 #include <stdint.h> |
| 9 |
8 #include <string> | 10 #include <string> |
9 | 11 |
10 #include "base/basictypes.h" | |
11 | |
12 namespace command_line_reader { | 12 namespace command_line_reader { |
13 | 13 |
14 uint16 ReadHttpPort(uint16 default_value); | 14 uint16_t ReadHttpPort(uint16_t default_value); |
15 | 15 |
16 uint32 ReadTtl(uint32 default_value); | 16 uint32_t ReadTtl(uint32_t default_value); |
17 | 17 |
18 std::string ReadServiceNamePrefix(const std::string& default_value); | 18 std::string ReadServiceNamePrefix(const std::string& default_value); |
19 | 19 |
20 std::string ReadDomainName(const std::string& default_value); | 20 std::string ReadDomainName(const std::string& default_value); |
21 | 21 |
22 std::string ReadStatePath(const std::string& default_value); | 22 std::string ReadStatePath(const std::string& default_value); |
23 | 23 |
24 } // namespace command_line_reader | 24 } // namespace command_line_reader |
25 | 25 |
26 #endif // CLOUD_PRINT_GCP20_PROTOTYPE_COMMAND_LINE_READER_H_ | 26 #endif // CLOUD_PRINT_GCP20_PROTOTYPE_COMMAND_LINE_READER_H_ |
27 | 27 |
OLD | NEW |