Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(295)

Side by Side Diff: components/version_ui/version_handler_helper.h

Issue 1486403002: Mojo-ifying chrome://version. Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: change slashes Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « components/version_ui/version.mojom ('k') | components/version_ui/version_handler_helper.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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_
OLDNEW
« no previous file with comments | « components/version_ui/version.mojom ('k') | components/version_ui/version_handler_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698