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

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

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/util/installation_state.h ('k') | chrome/installer/util/installer_state.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/installer/util/installation_state.cc
===================================================================
--- chrome/installer/util/installation_state.cc (revision 71434)
+++ chrome/installer/util/installation_state.cc (working copy)
@@ -108,14 +108,6 @@
return product_state.version_.get() == NULL ? NULL : &product_state;
}
-// Included for testing.
-void InstallationState::SetMultiPackageState(bool system_install,
- const ProductState& package_state) {
- ProductState& target =
- (system_install ? system_products_ : user_products_)[MULTI_PACKAGE_INDEX];
- target.CopyFrom(package_state);
-}
-
const ProductState* InstallationState::GetProductState(
bool system_install,
BrowserDistribution::Type type) const {
@@ -124,12 +116,4 @@
return product_state.version_.get() == NULL ? NULL : &product_state;
}
-// Included for testing.
-void InstallationState::SetProductState(bool system_install,
- BrowserDistribution::Type type, const ProductState& product_state) {
- ProductState& target = (system_install ? system_products_ :
- user_products_)[IndexFromDistType(type)];
- target.CopyFrom(product_state);
-}
-
} // namespace installer
« no previous file with comments | « chrome/installer/util/installation_state.h ('k') | chrome/installer/util/installer_state.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698