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