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

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

Issue 450053003: Use a qualified path for grit includes in various chrome/ directories. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: remove webkit strings that no longer exist Created 6 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 | Annotate | Revision Log
« no previous file with comments | « chrome/common/chrome_content_client.cc ('k') | chrome/common/extensions/DEPS » ('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 (c) 2012 The Chromium Authors. All rights reserved. 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 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 #include "chrome/common/chrome_version_info.h" 5 #include "chrome/common/chrome_version_info.h"
6 6
7 #include "base/basictypes.h" 7 #include "base/basictypes.h"
8 #include "base/file_version_info.h" 8 #include "base/file_version_info.h"
9 #include "base/strings/utf_string_conversions.h" 9 #include "base/strings/utf_string_conversions.h"
10 #include "base/threading/thread_restrictions.h" 10 #include "base/threading/thread_restrictions.h"
11 #include "build/build_config.h" 11 #include "build/build_config.h"
12 #include "grit/chromium_strings.h" 12 #include "chrome/grit/chromium_strings.h"
13 #include "grit/generated_resources.h" 13 #include "chrome/grit/generated_resources.h"
14 #include "ui/base/l10n/l10n_util.h" 14 #include "ui/base/l10n/l10n_util.h"
15 15
16 namespace chrome { 16 namespace chrome {
17 17
18 std::string VersionInfo::ProductNameAndVersionForUserAgent() const { 18 std::string VersionInfo::ProductNameAndVersionForUserAgent() const {
19 if (!is_valid()) 19 if (!is_valid())
20 return std::string(); 20 return std::string();
21 return "Chrome/" + Version(); 21 return "Chrome/" + Version();
22 } 22 }
23 23
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
136 #elif defined(OS_OPENBSD) 136 #elif defined(OS_OPENBSD)
137 return "OpenBSD"; 137 return "OpenBSD";
138 #elif defined(OS_SOLARIS) 138 #elif defined(OS_SOLARIS)
139 return "Solaris"; 139 return "Solaris";
140 #else 140 #else
141 return "Unknown"; 141 return "Unknown";
142 #endif 142 #endif
143 } 143 }
144 144
145 } // namespace chrome 145 } // namespace chrome
OLDNEW
« no previous file with comments | « chrome/common/chrome_content_client.cc ('k') | chrome/common/extensions/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698