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

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

Issue 2000003: Enable Spdy for SxS build. Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 7 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/browser/browser_main.cc ('k') | chrome/installer/util/browser_distribution.cc » ('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 declares a class that contains various method related to branding. 5 // This file declares a class that contains various method related to branding.
6 6
7 #ifndef CHROME_INSTALLER_UTIL_BROWSER_DISTRIBUTION_H_ 7 #ifndef CHROME_INSTALLER_UTIL_BROWSER_DISTRIBUTION_H_
8 #define CHROME_INSTALLER_UTIL_BROWSER_DISTRIBUTION_H_ 8 #define CHROME_INSTALLER_UTIL_BROWSER_DISTRIBUTION_H_
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 virtual std::wstring GetUninstallLinkName(); 55 virtual std::wstring GetUninstallLinkName();
56 56
57 virtual std::wstring GetUninstallRegPath(); 57 virtual std::wstring GetUninstallRegPath();
58 58
59 virtual std::wstring GetVersionKey(); 59 virtual std::wstring GetVersionKey();
60 60
61 virtual bool CanSetAsDefault(); 61 virtual bool CanSetAsDefault();
62 62
63 virtual bool ShouldUseAlternateIcon(); 63 virtual bool ShouldUseAlternateIcon();
64 64
65 virtual bool IsSpdyEnabled();
66
67 virtual std::string GetSpdyMode();
68
65 virtual bool GetChromeChannel(std::wstring* channel); 69 virtual bool GetChromeChannel(std::wstring* channel);
66 70
67 virtual void UpdateDiffInstallStatus(bool system_install, 71 virtual void UpdateDiffInstallStatus(bool system_install,
68 bool incremental_install, installer_util::InstallStatus install_status); 72 bool incremental_install, installer_util::InstallStatus install_status);
69 73
70 // After an install or upgrade the user might qualify to participate in an 74 // After an install or upgrade the user might qualify to participate in an
71 // experiment. This function determines if the user qualifies and if so it 75 // experiment. This function determines if the user qualifies and if so it
72 // sets the wheels in motion or in simple cases does the experiment itself. 76 // sets the wheels in motion or in simple cases does the experiment itself.
73 virtual void LaunchUserExperiment(installer_util::InstallStatus status, 77 virtual void LaunchUserExperiment(installer_util::InstallStatus status,
74 const installer::Version& version, 78 const installer::Version& version,
75 bool system_install); 79 bool system_install);
76 80
77 // The user has qualified for the inactive user toast experiment and this 81 // The user has qualified for the inactive user toast experiment and this
78 // function just performs it. 82 // function just performs it.
79 virtual void InactiveUserToastExperiment(int flavor, bool system_install); 83 virtual void InactiveUserToastExperiment(int flavor, bool system_install);
80 84
81 protected: 85 protected:
82 BrowserDistribution() {} 86 BrowserDistribution() {}
83 87
84 static BrowserDistribution* GetDistribution(bool chrome_frame); 88 static BrowserDistribution* GetDistribution(bool chrome_frame);
85 89
86 private: 90 private:
87 DISALLOW_COPY_AND_ASSIGN(BrowserDistribution); 91 DISALLOW_COPY_AND_ASSIGN(BrowserDistribution);
88 }; 92 };
89 93
90 #endif // CHROME_INSTALLER_UTIL_BROWSER_DISTRIBUTION_H_ 94 #endif // CHROME_INSTALLER_UTIL_BROWSER_DISTRIBUTION_H_
OLDNEW
« no previous file with comments | « chrome/browser/browser_main.cc ('k') | chrome/installer/util/browser_distribution.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698