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

Side by Side Diff: chrome/install_static/install_modes.h

Issue 2530163002: Make the name of the event source for SYSLOG configurable. (Closed)
Patch Set: Remove NOTREACHED and log suffix. Created 4 years 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
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 // This file declares constants that describe specifics of a Chromium-based 5 // This file declares constants that describe specifics of a Chromium-based
6 // browser's branding and modes of installation. 6 // browser's branding and modes of installation.
7 // 7 //
8 // A browser's brand comprises all identifying markings that distinguish it from 8 // A browser's brand comprises all identifying markings that distinguish it from
9 // a browser produced by another party. Chromium has remnants of both the 9 // a browser produced by another party. Chromium has remnants of both the
10 // Chromium and Google Chrome brands. 10 // Chromium and Google Chrome brands.
11 // 11 //
12 // Each brand defines one primary install mode for the browser. A brand may 12 // Each brand defines one primary install mode for the browser. A brand may
13 // additionally define one or more secondary install modes (e.g., Google 13 // additionally define one or more secondary install modes (e.g., Google
14 // Chrome's SxS mode for the canary channel). Install modes are described by 14 // Chrome's SxS mode for the canary channel). Install modes are described by
15 // compile-time instantiations of the `InstallConstants` struct in a brand's 15 // compile-time instantiations of the `InstallConstants` struct in a brand's
16 // `kInstallModes` array. Index 0 of this array always describes the primary 16 // `kInstallModes` array. Index 0 of this array always describes the primary
17 // install mode. All other entries describe secondary modes, which are 17 // install mode. All other entries describe secondary modes, which are
18 // distinguished by an install suffix (e.g., " SxS") that appears in file and 18 // distinguished by an install suffix (e.g., " SxS") that appears in file and
19 // registry paths. 19 // registry paths.
20 20
21 #ifndef CHROME_INSTALL_STATIC_INSTALL_MODES_H_ 21 #ifndef CHROME_INSTALL_STATIC_INSTALL_MODES_H_
22 #define CHROME_INSTALL_STATIC_INSTALL_MODES_H_ 22 #define CHROME_INSTALL_STATIC_INSTALL_MODES_H_
23 23
24 #include <string> 24 #include <string>
25 25
26 #include "chrome/install_static/install_details.h" 26 #include "chrome/install_static/install_constants.h"
27 27
28 // Include the brand-specific values. Each of these must define: 28 // Include the brand-specific values. Each of these must define:
29 // - enum InstallConstantIndex: named indices of the brand's kInstallModes 29 // - enum InstallConstantIndex: named indices of the brand's kInstallModes
30 // array. 30 // array.
31 // - NUM_INSTALL_MODES: the total numer of modes (i.e., the numer of items in 31 // - NUM_INSTALL_MODES: the total numer of modes (i.e., the numer of items in
32 // kInstallModes. 32 // kInstallModes.
33 // - kUseGoogleUpdateIntegration: true or false indicating whether or not the 33 // - kUseGoogleUpdateIntegration: true or false indicating whether or not the
34 // brand uses Chrome's integration with Google Update. Google Chrome does, 34 // brand uses Chrome's integration with Google Update. Google Chrome does,
35 // while Chromium does not. 35 // while Chromium does not.
36 #if defined(GOOGLE_CHROME_BUILD) 36 #if defined(GOOGLE_CHROME_BUILD)
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 // "Software\Google\Update\ClientState{Medium}\<guid>" where "<guid>" is either 73 // "Software\Google\Update\ClientState{Medium}\<guid>" where "<guid>" is either
74 // |mode|'s appguid or the brand's kBinariesAppGuid. 74 // |mode|'s appguid or the brand's kBinariesAppGuid.
75 std::wstring GetClientStateKeyPath(const wchar_t* app_guid); 75 std::wstring GetClientStateKeyPath(const wchar_t* app_guid);
76 std::wstring GetBinariesClientStateKeyPath(); 76 std::wstring GetBinariesClientStateKeyPath();
77 std::wstring GetClientStateMediumKeyPath(const wchar_t* app_guid); 77 std::wstring GetClientStateMediumKeyPath(const wchar_t* app_guid);
78 std::wstring GetBinariesClientStateMediumKeyPath(); 78 std::wstring GetBinariesClientStateMediumKeyPath();
79 79
80 } // namespace install_static 80 } // namespace install_static
81 81
82 #endif // CHROME_INSTALL_STATIC_INSTALL_MODES_H_ 82 #endif // CHROME_INSTALL_STATIC_INSTALL_MODES_H_
OLDNEW
« no previous file with comments | « chrome/install_static/install_details.h ('k') | chrome/install_static/product_install_details.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698