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