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

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

Issue 10665002: Implement installation of the Chrome App Host. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix unittests. 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 side-by-side diff with in-line comments
Download patch
Index: chrome/installer/util/product.cc
diff --git a/chrome/installer/util/product.cc b/chrome/installer/util/product.cc
index f2ab2a788330963eebf10fb394c7a0296b1271c4..77474011d0a3b47845b3613d030a95f32ea92647 100644
--- a/chrome/installer/util/product.cc
+++ b/chrome/installer/util/product.cc
@@ -10,6 +10,8 @@
#include "base/logging.h"
#include "base/process_util.h"
#include "base/win/registry.h"
+#include "chrome/installer/util/chrome_app_host_operations.h"
+#include "chrome/installer/util/chrome_binaries_operations.h"
#include "chrome/installer/util/chrome_browser_operations.h"
#include "chrome/installer/util/chrome_browser_sxs_operations.h"
#include "chrome/installer/util/chrome_frame_operations.h"
@@ -36,6 +38,12 @@ Product::Product(BrowserDistribution* distribution)
case BrowserDistribution::CHROME_FRAME:
operations_.reset(new ChromeFrameOperations());
break;
+ case BrowserDistribution::CHROME_APP_HOST:
+ operations_.reset(new ChromeAppHostOperations());
+ break;
+ case BrowserDistribution::CHROME_BINARIES:
+ operations_.reset(new ChromeBinariesOperations());
+ break;
default:
NOTREACHED() << "Unsupported BrowserDistribution::Type: "
<< distribution->GetType();

Powered by Google App Engine
This is Rietveld 408576698