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

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

Issue 10665002: Implement installation of the Chrome App Host. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: A basic working app host installer/uninstaller. 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) 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
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698