OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_INSTALLER_UTIL_CHANNEL_INFO_H_ | 5 #ifndef CHROME_INSTALLER_UTIL_CHANNEL_INFO_H_ |
6 #define CHROME_INSTALLER_UTIL_CHANNEL_INFO_H_ | 6 #define CHROME_INSTALLER_UTIL_CHANNEL_INFO_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <string> | 9 #include <string> |
10 | 10 |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
51 // modified. | 51 // modified. |
52 bool SetChrome(bool value); | 52 bool SetChrome(bool value); |
53 | 53 |
54 // Returns true if the -chromeframe modifier is present in the value. | 54 // Returns true if the -chromeframe modifier is present in the value. |
55 bool IsChromeFrame() const; | 55 bool IsChromeFrame() const; |
56 | 56 |
57 // Adds or removes the -chromeframe modifier, returning true if the value is | 57 // Adds or removes the -chromeframe modifier, returning true if the value is |
58 // modified. | 58 // modified. |
59 bool SetChromeFrame(bool value); | 59 bool SetChromeFrame(bool value); |
60 | 60 |
| 61 // Returns true if the -apphost modifier is present in the value. |
| 62 bool IsAppHost() const; |
| 63 |
| 64 // Adds or removes the -apphost modifier, returning true if the value is |
| 65 // modified. |
| 66 bool SetAppHost(bool value); |
| 67 |
61 // Returns true if the -multi modifier is present in the value. | 68 // Returns true if the -multi modifier is present in the value. |
62 bool IsMultiInstall() const; | 69 bool IsMultiInstall() const; |
63 | 70 |
64 // Adds or removes the -multi modifier, returning true if the value is | 71 // Adds or removes the -multi modifier, returning true if the value is |
65 // modified. | 72 // modified. |
66 bool SetMultiInstall(bool value); | 73 bool SetMultiInstall(bool value); |
67 | 74 |
68 // Returns true if the -readymode modifier is present in the value. | 75 // Returns true if the -readymode modifier is present in the value. |
69 bool IsReadyMode() const; | 76 bool IsReadyMode() const; |
70 | 77 |
(...skipping 24 matching lines...) Expand all Loading... |
95 // modified. | 102 // modified. |
96 bool SetMultiFailSuffix(bool value); | 103 bool SetMultiFailSuffix(bool value); |
97 | 104 |
98 private: | 105 private: |
99 std::wstring value_; | 106 std::wstring value_; |
100 }; // class ChannelInfo | 107 }; // class ChannelInfo |
101 | 108 |
102 } // namespace installer | 109 } // namespace installer |
103 | 110 |
104 #endif // CHROME_INSTALLER_UTIL_CHANNEL_INFO_H_ | 111 #endif // CHROME_INSTALLER_UTIL_CHANNEL_INFO_H_ |
OLD | NEW |