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

Side by Side Diff: chrome/installer/util/browser_distribution.cc

Issue 242025: Cleaning up after the initial Chrome Frame commit. Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 years, 2 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
« no previous file with comments | « chrome/installer/setup/install.cc ('k') | chrome/installer/util/chrome_frame_distribution.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2006-2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2009 The Chromium Authors. All rights reserved.
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 // This file defines a class that contains various method related to branding. 5 // This file defines a class that contains various method related to branding.
6 // It provides only default implementations of these methods. Usually to add 6 // It provides only default implementations of these methods. Usually to add
7 // specific branding, we will need to extend this class with a custom 7 // specific branding, we will need to extend this class with a custom
8 // implementation. 8 // implementation.
9 9
10 #include "chrome/installer/util/browser_distribution.h" 10 #include "chrome/installer/util/browser_distribution.h"
11 11
12 #include "base/registry.h" 12 #include "base/registry.h"
13 #include "chrome/installer/util/google_chrome_distribution.h" 13 #include "chrome/installer/util/google_chrome_distribution.h"
14 14 #include "chrome/installer/util/chrome_frame_distribution.h"
15 #if defined(CHROME_EXP_BUILD)
16 #include "chrome/installer/util/exp/experimental_browser_distribution.h"
17 #endif
18 15
19 BrowserDistribution* BrowserDistribution::GetDistribution() { 16 BrowserDistribution* BrowserDistribution::GetDistribution() {
20 static BrowserDistribution* dist = NULL; 17 static BrowserDistribution* dist = NULL;
21 if (dist == NULL) { 18 if (dist == NULL) {
22 #if defined(CHROME_EXP_BUILD) 19 #if defined(CHROME_FRAME_BUILD)
23 dist = new ExperimentalBrowserDistribution(); 20 dist = new ChromeFrameDistribution();
24 #elif defined(GOOGLE_CHROME_BUILD) 21 #elif defined(GOOGLE_CHROME_BUILD)
25 dist = new GoogleChromeDistribution(); 22 dist = new GoogleChromeDistribution();
26 #else 23 #else
27 dist = new BrowserDistribution(); 24 dist = new BrowserDistribution();
28 #endif 25 #endif
29 } 26 }
30 return dist; 27 return dist;
31 } 28 }
32 29
33 void BrowserDistribution::DoPostUninstallOperations( 30 void BrowserDistribution::DoPostUninstallOperations(
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 } 90 }
94 91
95 void BrowserDistribution::LaunchUserExperiment( 92 void BrowserDistribution::LaunchUserExperiment(
96 installer_util::InstallStatus status, const installer::Version& version, 93 installer_util::InstallStatus status, const installer::Version& version,
97 bool system_install) { 94 bool system_install) {
98 } 95 }
99 96
100 97
101 void BrowserDistribution::InactiveUserToastExperiment(int flavor) { 98 void BrowserDistribution::InactiveUserToastExperiment(int flavor) {
102 } 99 }
OLDNEW
« no previous file with comments | « chrome/installer/setup/install.cc ('k') | chrome/installer/util/chrome_frame_distribution.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698