summaryrefslogtreecommitdiffstats
path: root/chrome/common/temp_scaffolding_stubs.h
diff options
context:
space:
mode:
authorjeremy@chromium.org <jeremy@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-18 22:17:36 +0000
committerjeremy@chromium.org <jeremy@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-18 22:17:36 +0000
commit3090eeb5afd49e828739b492eb400d8fcf734784 (patch)
treeaddbf256e9a4773ea27edb4718102e49bd133c69 /chrome/common/temp_scaffolding_stubs.h
parent1b4d44eb423ebb40c716ae0c44cdb60accef1e37 (diff)
downloadchromium_src-3090eeb5afd49e828739b492eb400d8fcf734784.zip
chromium_src-3090eeb5afd49e828739b492eb400d8fcf734784.tar.gz
chromium_src-3090eeb5afd49e828739b492eb400d8fcf734784.tar.bz2
Hook up stats reporting via default system on OS X.
Allow enabling/disabling stats via user defaults. Fix breakpad to read from global stats setting. To disable stats, type the following in the terminal: defaults write com.google.Chrome usagestats -bool NO BUG=12046 Review URL: http://codereview.chromium.org/113549 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16333 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/temp_scaffolding_stubs.h')
-rw-r--r--chrome/common/temp_scaffolding_stubs.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/chrome/common/temp_scaffolding_stubs.h b/chrome/common/temp_scaffolding_stubs.h
index 79ea94d..1b6ae9c 100644
--- a/chrome/common/temp_scaffolding_stubs.h
+++ b/chrome/common/temp_scaffolding_stubs.h
@@ -50,6 +50,7 @@ class Message;
//---------------------------------------------------------------------------
// These stubs are for Browser_main()
+#if defined(OS_LINUX)
class GoogleUpdateSettings {
public:
static bool GetCollectStatsConsent() {
@@ -83,6 +84,7 @@ class GoogleUpdateSettings {
private:
DISALLOW_IMPLICIT_CONSTRUCTORS(GoogleUpdateSettings);
};
+#endif // OS_LINUX
void OpenFirstRunDialog(Profile* profile, ProcessSingleton* process_singleton);