| OLD | NEW |
| 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 #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 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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. | 60 // Returns true if the -apphost modifier is present in the value. |
| 61 bool IsAppHost() const; | 61 bool IsAppHost() const; |
| 62 | 62 |
| 63 // Adds or removes the -apphost modifier, returning true if the value is | 63 // Adds or removes the -apphost modifier, returning true if the value is |
| 64 // modified. | 64 // modified. |
| 65 bool SetAppHost(bool value); | 65 bool SetAppHost(bool value); |
| 66 | 66 |
| 67 // Returns true if the -applauncher modifier is present in the value. |
| 68 bool IsAppLauncher() const; |
| 69 |
| 70 // Adds or removes the -applauncher modifier, returning true if the value is |
| 71 // modified. |
| 72 bool SetAppLauncher(bool value); |
| 73 |
| 67 // Returns true if the -multi modifier is present in the value. | 74 // Returns true if the -multi modifier is present in the value. |
| 68 bool IsMultiInstall() const; | 75 bool IsMultiInstall() const; |
| 69 | 76 |
| 70 // Adds or removes the -multi modifier, returning true if the value is | 77 // Adds or removes the -multi modifier, returning true if the value is |
| 71 // modified. | 78 // modified. |
| 72 bool SetMultiInstall(bool value); | 79 bool SetMultiInstall(bool value); |
| 73 | 80 |
| 74 // Returns true if the -readymode modifier is present in the value. | 81 // Returns true if the -readymode modifier is present in the value. |
| 75 bool IsReadyMode() const; | 82 bool IsReadyMode() const; |
| 76 | 83 |
| (...skipping 24 matching lines...) Expand all Loading... |
| 101 // modified. | 108 // modified. |
| 102 bool SetMultiFailSuffix(bool value); | 109 bool SetMultiFailSuffix(bool value); |
| 103 | 110 |
| 104 private: | 111 private: |
| 105 std::wstring value_; | 112 std::wstring value_; |
| 106 }; // class ChannelInfo | 113 }; // class ChannelInfo |
| 107 | 114 |
| 108 } // namespace installer | 115 } // namespace installer |
| 109 | 116 |
| 110 #endif // CHROME_INSTALLER_UTIL_CHANNEL_INFO_H_ | 117 #endif // CHROME_INSTALLER_UTIL_CHANNEL_INFO_H_ |
| OLD | NEW |