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

Side by Side Diff: chrome/common/chrome_constants.h

Issue 558713002: Make PRODUCT_STRING_PATH accessible via chrome_constants.h (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@clean_exit_beacon
Patch Set: Rebase. Created 6 years, 3 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 | « no previous file | chrome/common/chrome_constants.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 (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 // A handful of resource-like constants related to the Chrome application. 5 // A handful of resource-like constants related to the Chrome application.
6 6
7 #ifndef CHROME_COMMON_CHROME_CONSTANTS_H_ 7 #ifndef CHROME_COMMON_CHROME_CONSTANTS_H_
8 #define CHROME_COMMON_CHROME_CONSTANTS_H_ 8 #define CHROME_COMMON_CHROME_CONSTANTS_H_
9 9
10 #include "base/files/file_path.h" 10 #include "base/files/file_path.h"
11 11
12 #if defined(OS_WIN)
13 #if defined(GOOGLE_CHROME_BUILD)
14 #define PRODUCT_STRING_PATH L"Google\\Chrome"
15 #elif defined(CHROMIUM_BUILD)
16 #define PRODUCT_STRING_PATH L"Chromium"
17 #else
18 #error Unknown branding
19 #endif
20 #endif // defined(OS_WIN)
21
12 namespace chrome { 22 namespace chrome {
13 23
14 extern const char kChromeVersion[]; 24 extern const char kChromeVersion[];
15 25
16 extern const char kChromeVersionEnvVar[]; 26 extern const char kChromeVersionEnvVar[];
17 27
18 extern const base::FilePath::CharType kBrowserProcessExecutableName[]; 28 extern const base::FilePath::CharType kBrowserProcessExecutableName[];
19 extern const base::FilePath::CharType kHelperProcessExecutableName[]; 29 extern const base::FilePath::CharType kHelperProcessExecutableName[];
20 extern const base::FilePath::CharType kBrowserProcessExecutablePath[]; 30 extern const base::FilePath::CharType kBrowserProcessExecutablePath[];
21 extern const base::FilePath::CharType kHelperProcessExecutablePath[]; 31 extern const base::FilePath::CharType kHelperProcessExecutablePath[];
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after
158 extern const char kApplicationClientIDStringForAVScanning[]; 168 extern const char kApplicationClientIDStringForAVScanning[];
159 169
160 #if defined(OS_ANDROID) 170 #if defined(OS_ANDROID)
161 // The largest reasonable length we'd assume for a meta tag attribute. 171 // The largest reasonable length we'd assume for a meta tag attribute.
162 extern const size_t kMaxMetaTagAttributeLength; 172 extern const size_t kMaxMetaTagAttributeLength;
163 #endif 173 #endif
164 174
165 } // namespace chrome 175 } // namespace chrome
166 176
167 #endif // CHROME_COMMON_CHROME_CONSTANTS_H_ 177 #endif // CHROME_COMMON_CHROME_CONSTANTS_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/common/chrome_constants.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698