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

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

Issue 660168: Disable registering, unregistering, and setting default browser... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 9 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
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 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 virtual std::wstring GetStatsServerURL(); 51 virtual std::wstring GetStatsServerURL();
52 52
53 virtual std::wstring GetDistributionData(RegKey* key); 53 virtual std::wstring GetDistributionData(RegKey* key);
54 54
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();
62
61 virtual void UpdateDiffInstallStatus(bool system_install, 63 virtual void UpdateDiffInstallStatus(bool system_install,
62 bool incremental_install, installer_util::InstallStatus install_status); 64 bool incremental_install, installer_util::InstallStatus install_status);
63 65
64 // After an install or upgrade the user might qualify to participate in an 66 // After an install or upgrade the user might qualify to participate in an
65 // experiment. This function determines if the user qualifies and if so it 67 // experiment. This function determines if the user qualifies and if so it
66 // sets the wheels in motion or in simple cases does the experiment itself. 68 // sets the wheels in motion or in simple cases does the experiment itself.
67 virtual void LaunchUserExperiment(installer_util::InstallStatus status, 69 virtual void LaunchUserExperiment(installer_util::InstallStatus status,
68 const installer::Version& version, 70 const installer::Version& version,
69 bool system_install); 71 bool system_install);
70 72
71 // The user has qualified for the inactive user toast experiment and this 73 // The user has qualified for the inactive user toast experiment and this
72 // function just performs it. 74 // function just performs it.
73 virtual void InactiveUserToastExperiment(int flavor, bool system_install); 75 virtual void InactiveUserToastExperiment(int flavor, bool system_install);
74 76
75 protected: 77 protected:
76 BrowserDistribution() {} 78 BrowserDistribution() {}
77 79
78 static BrowserDistribution* GetDistribution(bool chrome_frame); 80 static BrowserDistribution* GetDistribution(bool chrome_frame);
79 81
80 private: 82 private:
81 DISALLOW_COPY_AND_ASSIGN(BrowserDistribution); 83 DISALLOW_COPY_AND_ASSIGN(BrowserDistribution);
82 }; 84 };
83 85
84 #endif // CHROME_INSTALLER_UTIL_BROWSER_DISTRIBUTION_H_ 86 #endif // CHROME_INSTALLER_UTIL_BROWSER_DISTRIBUTION_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698