Chromium Code Reviews| 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 <vector> | |
| 9 | |
| 8 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
| 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 scoped_ptr<std::vector<std::string>> GetVariations(); | |
|
Evan Stade
2015/12/04 19:50:28
I think C++11 move semantics means it's ok to just
dpapad
2015/12/04 22:01:51
Done. Thanks, I really like this feature of C++ 11
| |
| 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 scoped_ptr<base::Value> GetVariationsList(); | 22 scoped_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 |