| 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 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 -applauncher modifier is present in the value. | |
| 61 bool IsAppLauncher() const; | |
| 62 | |
| 63 // Adds or removes the -applauncher modifier, returning true if the value is | |
| 64 // modified. | |
| 65 bool SetAppLauncher(bool value); | |
| 66 | |
| 67 // Returns true if the -multi modifier is present in the value. | 60 // Returns true if the -multi modifier is present in the value. |
| 68 bool IsMultiInstall() const; | 61 bool IsMultiInstall() const; |
| 69 | 62 |
| 70 // Adds or removes the -multi modifier, returning true if the value is | 63 // Adds or removes the -multi modifier, returning true if the value is |
| 71 // modified. | 64 // modified. |
| 72 bool SetMultiInstall(bool value); | 65 bool SetMultiInstall(bool value); |
| 73 | 66 |
| 74 // Returns true if the -readymode modifier is present in the value. | 67 // Returns true if the -readymode modifier is present in the value. |
| 75 bool IsReadyMode() const; | 68 bool IsReadyMode() const; |
| 76 | 69 |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 112 // becomes 2.0-dev. Returns true if the value is modified. | 105 // becomes 2.0-dev. Returns true if the value is modified. |
| 113 bool RemoveAllModifiersAndSuffixes(); | 106 bool RemoveAllModifiersAndSuffixes(); |
| 114 | 107 |
| 115 private: | 108 private: |
| 116 std::wstring value_; | 109 std::wstring value_; |
| 117 }; // class ChannelInfo | 110 }; // class ChannelInfo |
| 118 | 111 |
| 119 } // namespace installer | 112 } // namespace installer |
| 120 | 113 |
| 121 #endif // CHROME_INSTALLER_UTIL_CHANNEL_INFO_H_ | 114 #endif // CHROME_INSTALLER_UTIL_CHANNEL_INFO_H_ |
| OLD | NEW |