| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 MEDIA_CAST_TEST_UTILITY_INPUT_BUILDER_ | 5 #ifndef MEDIA_CAST_TEST_UTILITY_INPUT_BUILDER_ |
| 6 #define MEDIA_CAST_TEST_UTILITY_INPUT_BUILDER_ | 6 #define MEDIA_CAST_TEST_UTILITY_INPUT_BUILDER_ |
| 7 | 7 |
| 8 #include <limits.h> |
| 9 |
| 8 #include <string> | 10 #include <string> |
| 9 | 11 |
| 10 namespace media { | 12 namespace media { |
| 11 namespace cast { | 13 namespace cast { |
| 12 namespace test { | 14 namespace test { |
| 13 | 15 |
| 14 // This class handles general user input to the application. The user will be | 16 // This class handles general user input to the application. The user will be |
| 15 // displayed with the title string and be given a default value. When forced | 17 // displayed with the title string and be given a default value. When forced |
| 16 // a range, the input values should be within low_range to high_range. | 18 // a range, the input values should be within low_range to high_range. |
| 17 // Setting low and high to INT_MIN/INT_MAX is equivalent to not setting a range. | 19 // Setting low and high to INT_MIN/INT_MAX is equivalent to not setting a range. |
| (...skipping 22 matching lines...) Expand all Loading... |
| 40 // Low and high range values for input validation. | 42 // Low and high range values for input validation. |
| 41 const int low_range_; | 43 const int low_range_; |
| 42 const int high_range_; | 44 const int high_range_; |
| 43 }; | 45 }; |
| 44 | 46 |
| 45 } // namespace test | 47 } // namespace test |
| 46 } // namespace cast | 48 } // namespace cast |
| 47 } // namespace media | 49 } // namespace media |
| 48 | 50 |
| 49 #endif // MEDIA_CAST_TEST_UTILITY_INPUT_BUILDER_ | 51 #endif // MEDIA_CAST_TEST_UTILITY_INPUT_BUILDER_ |
| OLD | NEW |