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

Unified Diff: components/version_ui/version_handler_helper.cc

Issue 2041603002: [ios Mojo] Implemented chrome://version. Base URL: https://chromium.googlesource.com/chromium/src.git@mojo_version
Patch Set: Self review 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/version_ui/version_handler_helper.h ('k') | ios/chrome/browser/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/version_ui/version_handler_helper.cc
diff --git a/components/version_ui/version_handler_helper.cc b/components/version_ui/version_handler_helper.cc
index 10f525bc6c017f4942ec6f4f14ff3f1c3e373be5..41eefc8eddc4bd41ff074bb310ed6d52dc980b91 100644
--- a/components/version_ui/version_handler_helper.cc
+++ b/components/version_ui/version_handler_helper.cc
@@ -35,17 +35,4 @@ std::vector<std::string> GetVariations() {
return variations;
}
-#if defined(OS_IOS)
-std::unique_ptr<base::Value> GetVariationsList() {
- std::vector<std::string> variations = GetVariations();
- std::unique_ptr<base::ListValue> variations_list(new base::ListValue);
- for (std::vector<std::string>::const_iterator it = variations.begin();
- it != variations.end(); ++it) {
- variations_list->AppendString(*it);
- }
-
- return std::move(variations_list);
-}
-#endif
-
} // namespace version_ui
« no previous file with comments | « components/version_ui/version_handler_helper.h ('k') | ios/chrome/browser/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698