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

Unified Diff: chrome/installer/util/installation_state.h

Issue 6153003: Refactor install.cc into the work item parts and the non-work item parts. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: PostMergeTest3AddingMissingFile Created 9 years, 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/installer/setup/uninstall.cc ('k') | chrome/installer/util/installation_state.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/installer/util/installation_state.h
===================================================================
--- chrome/installer/util/installation_state.h (revision 71434)
+++ chrome/installer/util/installation_state.h (working copy)
@@ -55,22 +55,15 @@
// Returns the state of the multi-installer package or NULL if no
// multi-install products are installed.
+ // Caller does NOT assume ownership of returned pointer.
const ProductState* GetMultiPackageState(bool system_install) const;
- // Sets the state of the multi-installer package; intended for tests.
- void SetMultiPackageState(bool system_install,
- const ProductState& package_state);
-
// Returns the state of a product or NULL if not installed.
+ // Caller does NOT assume ownership of returned pointer.
const ProductState* GetProductState(bool system_install,
BrowserDistribution::Type type) const;
- // Sets the state of a product; indended for tests.
- void SetProductState(bool system_install,
- BrowserDistribution::Type type,
- const ProductState& product_state);
-
- private:
+ protected:
enum {
CHROME_BROWSER_INDEX,
CHROME_FRAME_INDEX,
@@ -89,6 +82,7 @@
ProductState user_products_[NUM_PRODUCTS];
ProductState system_products_[NUM_PRODUCTS];
+ private:
DISALLOW_COPY_AND_ASSIGN(InstallationState);
}; // class InstallationState
« no previous file with comments | « chrome/installer/setup/uninstall.cc ('k') | chrome/installer/util/installation_state.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698