| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 COMPONENTS_VERSION_UI_VERSION_HANDLER_HELPER_H_ | 5 #ifndef COMPONENTS_VERSION_UI_VERSION_HANDLER_HELPER_H_ |
| 6 #define COMPONENTS_VERSION_UI_VERSION_HANDLER_HELPER_H_ | 6 #define COMPONENTS_VERSION_UI_VERSION_HANDLER_HELPER_H_ |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 #include <string> |
| 10 #include <vector> |
| 9 | 11 |
| 10 namespace base { | 12 namespace base { |
| 11 class Value; | 13 class Value; |
| 12 } | 14 } |
| 13 | 15 |
| 14 namespace version_ui { | 16 namespace version_ui { |
| 15 | 17 |
| 18 std::vector<std::string> GetVariations(); |
| 19 |
| 20 #if defined(OS_IOS) |
| 16 // Returns the list of variations to be displayed on the chrome:://version page. | 21 // Returns the list of variations to be displayed on the chrome:://version page. |
| 17 std::unique_ptr<base::Value> GetVariationsList(); | 22 std::unique_ptr<base::Value> GetVariationsList(); |
| 23 #endif |
| 18 | 24 |
| 19 } // namespace version_ui | 25 } // namespace version_ui |
| 20 | 26 |
| 21 #endif // COMPONENTS_VERSION_UI_VERSION_HANDLER_HELPER_H_ | 27 #endif // COMPONENTS_VERSION_UI_VERSION_HANDLER_HELPER_H_ |
| OLD | NEW |