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

Side by Side Diff: chrome/common/channel_info.cc

Issue 1269773002: Cleanup VersionInfo after componentization. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years, 4 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 | « chrome/common/channel_info.h ('k') | chrome/common/channel_info_android.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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.
4
5 #include "chrome/common/channel_info.h"
6
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"
13
14 namespace chrome {
15
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"));
22
23 return version_info::GetVersionStringWithModifier(GetChannelString());
24 }
25
26 } // namespace chrome
OLDNEW
« no previous file with comments | « chrome/common/channel_info.h ('k') | chrome/common/channel_info_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698