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

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

Issue 202049: Adding the option to drop in a new BrowserDistribution instance for experimen... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 years, 3 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/installer.gyp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/installer/util/browser_distribution.cc
===================================================================
--- chrome/installer/util/browser_distribution.cc (revision 25889)
+++ chrome/installer/util/browser_distribution.cc (working copy)
@@ -12,10 +12,16 @@
#include "base/registry.h"
#include "chrome/installer/util/google_chrome_distribution.h"
+#if defined(CHROME_EXP_BUILD)
+#include "chrome/installer/util/exp/experimental_browser_distribution.h"
+#endif
+
BrowserDistribution* BrowserDistribution::GetDistribution() {
static BrowserDistribution* dist = NULL;
if (dist == NULL) {
-#if defined(GOOGLE_CHROME_BUILD)
+#if defined(CHROME_EXP_BUILD)
+ dist = new ExperimentalBrowserDistribution();
+#elif defined(GOOGLE_CHROME_BUILD)
dist = new GoogleChromeDistribution();
#else
dist = new BrowserDistribution();
« no previous file with comments | « chrome/installer/installer.gyp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698