OLD | NEW |
---|---|
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
grt (UTC plus 2)
2012/07/12 18:37:10
2012
erikwright (departed)
2012/07/16 20:13:11
Done.
| |
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_INSTALLATION_STATE_H_ | 5 #ifndef CHROME_INSTALLER_UTIL_INSTALLATION_STATE_H_ |
6 #define CHROME_INSTALLER_UTIL_INSTALLATION_STATE_H_ | 6 #define CHROME_INSTALLER_UTIL_INSTALLATION_STATE_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <string> | 9 #include <string> |
10 | 10 |
11 #include "base/basictypes.h" | 11 #include "base/basictypes.h" |
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
147 // Caller does NOT assume ownership of returned pointer. This method will | 147 // Caller does NOT assume ownership of returned pointer. This method will |
148 // never return NULL. | 148 // never return NULL. |
149 const ProductState* GetNonVersionedProductState( | 149 const ProductState* GetNonVersionedProductState( |
150 bool system_install, BrowserDistribution::Type type) const; | 150 bool system_install, BrowserDistribution::Type type) const; |
151 | 151 |
152 protected: | 152 protected: |
153 enum { | 153 enum { |
154 CHROME_BROWSER_INDEX, | 154 CHROME_BROWSER_INDEX, |
155 CHROME_FRAME_INDEX, | 155 CHROME_FRAME_INDEX, |
156 CHROME_BINARIES_INDEX, | 156 CHROME_BINARIES_INDEX, |
157 CHROME_APP_HOST_INDEX, | |
157 NUM_PRODUCTS | 158 NUM_PRODUCTS |
158 }; | 159 }; |
159 | 160 |
160 static int IndexFromDistType(BrowserDistribution::Type type); | 161 static int IndexFromDistType(BrowserDistribution::Type type); |
161 | 162 |
162 ProductState user_products_[NUM_PRODUCTS]; | 163 ProductState user_products_[NUM_PRODUCTS]; |
163 ProductState system_products_[NUM_PRODUCTS]; | 164 ProductState system_products_[NUM_PRODUCTS]; |
164 | 165 |
165 private: | 166 private: |
166 DISALLOW_COPY_AND_ASSIGN(InstallationState); | 167 DISALLOW_COPY_AND_ASSIGN(InstallationState); |
167 }; // class InstallationState | 168 }; // class InstallationState |
168 | 169 |
169 } // namespace installer | 170 } // namespace installer |
170 | 171 |
171 #endif // CHROME_INSTALLER_UTIL_INSTALLATION_STATE_H_ | 172 #endif // CHROME_INSTALLER_UTIL_INSTALLATION_STATE_H_ |
OLD | NEW |