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

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

Issue 2549593002: Revert of Make Crashpad use the user data dir, rather than always default location (Closed)
Patch Set: 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
« no previous file with comments | « chrome/install_static/OWNERS ('k') | chrome/install_static/install_util.h » ('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 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 #ifndef CHROME_INSTALL_STATIC_INSTALL_DETAILS_H_ 5 #ifndef CHROME_INSTALL_STATIC_INSTALL_DETAILS_H_
6 #define CHROME_INSTALL_STATIC_INSTALL_DETAILS_H_ 6 #define CHROME_INSTALL_STATIC_INSTALL_DETAILS_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <string> 9 #include <string>
10 10
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 // This mode's index into the brand's array of install modes. This will match 65 // This mode's index into the brand's array of install modes. This will match
66 // a brand-specific InstallConstantIndex enumerator. 66 // a brand-specific InstallConstantIndex enumerator.
67 int install_mode_index() const { return payload_->mode->index; } 67 int install_mode_index() const { return payload_->mode->index; }
68 68
69 // The mode's install suffix (e.g., " SxS" for canary Chrome), or an empty 69 // The mode's install suffix (e.g., " SxS" for canary Chrome), or an empty
70 // string for a brand's primary install mode. 70 // string for a brand's primary install mode.
71 const wchar_t* install_suffix() const { 71 const wchar_t* install_suffix() const {
72 return payload_->mode->install_suffix; 72 return payload_->mode->install_suffix;
73 } 73 }
74 74
75 const InstallConstants& mode() const { return *payload_->mode; }
76
77 // The app GUID with which this mode is registered with Google Update, or an 75 // The app GUID with which this mode is registered with Google Update, or an
78 // empty string if this brand does not integrate with Google Update. 76 // empty string if this brand does not integrate with Google Update.
79 const wchar_t* app_guid() const { return payload_->mode->app_guid; } 77 const wchar_t* app_guid() const { return payload_->mode->app_guid; }
80 78
81 // True if the mode supports installation at system-level. 79 // True if the mode supports installation at system-level.
82 bool supports_system_level() const { 80 bool supports_system_level() const {
83 return payload_->mode->supports_system_level; 81 return payload_->mode->supports_system_level;
84 } 82 }
85 83
86 // True if the mode supports multi-install. 84 // True if the mode supports multi-install.
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
165 } 163 }
166 164
167 private: 165 private:
168 std::wstring channel_; 166 std::wstring channel_;
169 Payload payload_ = Payload(); 167 Payload payload_ = Payload();
170 }; 168 };
171 169
172 } // namespace install_static 170 } // namespace install_static
173 171
174 #endif // CHROME_INSTALL_STATIC_INSTALL_DETAILS_H_ 172 #endif // CHROME_INSTALL_STATIC_INSTALL_DETAILS_H_
OLDNEW
« no previous file with comments | « chrome/install_static/OWNERS ('k') | chrome/install_static/install_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698