[Eraser strings] Remove unused Supervised User infobar and corresponding strings
[chromium-blink-merge.git] / chrome / common / channel_info.cc
bloba313e32e61f70ca5f5f60137abbfa40b090d22e1
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #include "chrome/common/channel_info.h"
7 #include "base/profiler/scoped_tracker.h"
8 #include "build/build_config.h"
9 #include "chrome/grit/chromium_strings.h"
10 #include "chrome/grit/generated_resources.h"
11 #include "components/version_info/version_info.h"
12 #include "ui/base/l10n/l10n_util.h"
14 namespace chrome {
16 std::string GetVersionString() {
17 // TODO(robliao): Remove ScopedTracker below once https://crbug.com/422460 is
18 // fixed.
19 tracked_objects::ScopedTracker tracking_profile(
20 FROM_HERE_WITH_EXPLICIT_FUNCTION(
21 "422460 VersionInfo::CreateVersionString"));
23 return version_info::GetVersionStringWithModifier(GetChannelString());
26 } // namespace chrome