Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(252)

Side by Side Diff: chrome/installer/util/installation_state.h

Issue 10790144: Revert 148046 - Revert 147650 - Implement installation of the Chrome App Host. (Closed) Base URL: svn://svn.chromium.org/chrome/branches/1215/src/
Patch Set: Created 8 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 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_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 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
11 #include "base/command_line.h" 11 #include "base/command_line.h"
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after
146 // Caller does NOT assume ownership of returned pointer. This method will 146 // Caller does NOT assume ownership of returned pointer. This method will
147 // never return NULL. 147 // never return NULL.
148 const ProductState* GetNonVersionedProductState( 148 const ProductState* GetNonVersionedProductState(
149 bool system_install, BrowserDistribution::Type type) const; 149 bool system_install, BrowserDistribution::Type type) const;
150 150
151 protected: 151 protected:
152 enum { 152 enum {
153 CHROME_BROWSER_INDEX, 153 CHROME_BROWSER_INDEX,
154 CHROME_FRAME_INDEX, 154 CHROME_FRAME_INDEX,
155 CHROME_BINARIES_INDEX, 155 CHROME_BINARIES_INDEX,
156 CHROME_APP_HOST_INDEX,
156 NUM_PRODUCTS 157 NUM_PRODUCTS
157 }; 158 };
158 159
159 static int IndexFromDistType(BrowserDistribution::Type type); 160 static int IndexFromDistType(BrowserDistribution::Type type);
160 161
161 ProductState user_products_[NUM_PRODUCTS]; 162 ProductState user_products_[NUM_PRODUCTS];
162 ProductState system_products_[NUM_PRODUCTS]; 163 ProductState system_products_[NUM_PRODUCTS];
163 164
164 private: 165 private:
165 DISALLOW_COPY_AND_ASSIGN(InstallationState); 166 DISALLOW_COPY_AND_ASSIGN(InstallationState);
166 }; // class InstallationState 167 }; // class InstallationState
167 168
168 } // namespace installer 169 } // namespace installer
169 170
170 #endif // CHROME_INSTALLER_UTIL_INSTALLATION_STATE_H_ 171 #endif // CHROME_INSTALLER_UTIL_INSTALLATION_STATE_H_
OLDNEW
« no previous file with comments | « chrome/installer/util/chromium_binaries_distribution.cc ('k') | chrome/installer/util/installation_state.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698