diff options
author | thestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-05-28 20:23:06 +0000 |
---|---|---|
committer | thestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-05-28 20:23:06 +0000 |
commit | 1e7377df1449c4e543a50c8a8a1425599c8425f7 (patch) | |
tree | 6e8ee3adcba66e4a043e91e91e0217467682a7fd /chrome/common/temp_scaffolding_stubs.h | |
parent | 34cf340da15aceffd59c3d05e0de2a3bc5174a2d (diff) | |
download | chromium_src-1e7377df1449c4e543a50c8a8a1425599c8425f7.zip chromium_src-1e7377df1449c4e543a50c8a8a1425599c8425f7.tar.gz chromium_src-1e7377df1449c4e543a50c8a8a1425599c8425f7.tar.bz2 |
Respect Linux user prefs with regards to crash reporting.
This involves implementing GoogleUpdateSettings::[GS]etCollectStatsConsent, and a whole lot of refactoring.
BUG=none
TEST=delete config dir, run official Linux build, don't enable crash reporting, crash browser -> no crash reporting.
Review URL: http://codereview.chromium.org/115808
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17104 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/temp_scaffolding_stubs.h')
-rw-r--r-- | chrome/common/temp_scaffolding_stubs.h | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/chrome/common/temp_scaffolding_stubs.h b/chrome/common/temp_scaffolding_stubs.h index a9b5ce6..7af52bc 100644 --- a/chrome/common/temp_scaffolding_stubs.h +++ b/chrome/common/temp_scaffolding_stubs.h @@ -51,42 +51,6 @@ class Message; //--------------------------------------------------------------------------- // These stubs are for Browser_main() -#if defined(OS_LINUX) -class GoogleUpdateSettings { - public: - static bool GetCollectStatsConsent() { - NOTIMPLEMENTED(); - return false; - } - static bool SetCollectStatsConsent(bool consented) { - NOTIMPLEMENTED(); - return false; - } - static bool GetBrowser(std::wstring* browser) { - NOTIMPLEMENTED(); - return false; - } - static bool GetLanguage(std::wstring* language) { - NOTIMPLEMENTED(); - return false; - } - static bool GetBrand(std::wstring* brand) { - NOTIMPLEMENTED(); - return false; - } - static bool GetReferral(std::wstring* referral) { - NOTIMPLEMENTED(); - return false; - } - static bool ClearReferral() { - NOTIMPLEMENTED(); - return false; - } - private: - DISALLOW_IMPLICIT_CONSTRUCTORS(GoogleUpdateSettings); -}; -#endif // OS_LINUX - void OpenFirstRunDialog(Profile* profile, ProcessSingleton* process_singleton); void InstallJankometer(const CommandLine&); |