summaryrefslogtreecommitdiffstats
path: root/chrome/browser/browser_main_gtk.cc
diff options
context:
space:
mode:
authormark@chromium.org <mark@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-14 03:26:03 +0000
committermark@chromium.org <mark@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-14 03:26:03 +0000
commit1152b7ea95609ce835bdb9ab4454b4589b60ea87 (patch)
treefd9a09dee7e9457d793564cf605388d1359a24a1 /chrome/browser/browser_main_gtk.cc
parent60f1e8fe0973d60e3e786237a283395749550a40 (diff)
downloadchromium_src-1152b7ea95609ce835bdb9ab4454b4589b60ea87.zip
chromium_src-1152b7ea95609ce835bdb9ab4454b4589b60ea87.tar.gz
chromium_src-1152b7ea95609ce835bdb9ab4454b4589b60ea87.tar.bz2
Send Breakpad and debugger status to the metrics service on the Mac.
BUG=21731 TEST=Metrics data should have the correct values for breakpadregistrationok, breakpadregistrationfail, debuggerpresent, and debuggernotpresent in log.profile.stability. Review URL: http://codereview.chromium.org/203050 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@26093 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/browser_main_gtk.cc')
-rw-r--r--chrome/browser/browser_main_gtk.cc19
1 files changed, 16 insertions, 3 deletions
diff --git a/chrome/browser/browser_main_gtk.cc b/chrome/browser/browser_main_gtk.cc
index 794fa30..6bfa6de 100644
--- a/chrome/browser/browser_main_gtk.cc
+++ b/chrome/browser/browser_main_gtk.cc
@@ -2,10 +2,26 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
+#include "chrome/browser/browser_main.h"
+
#include "base/command_line.h"
#include "chrome/browser/browser_main_win.h"
#include "chrome/common/result_codes.h"
+namespace Platform {
+
+void WillInitializeMainMessageLoop(const MainFunctionParams& parameters) {
+}
+
+void WillTerminate() {
+}
+
+void RecordBreakpadStatusUMA(MetricsService* metrics) {
+ // TODO(port): http://crbug.com/21732
+}
+
+} // namespace Platform
+
// From browser_main_win.h, stubs until we figure out the right thing...
int DoUninstallTasks(bool chrome_still_running) {
@@ -30,6 +46,3 @@ bool CheckMachineLevelInstall() {
void PrepareRestartOnCrashEnviroment(const CommandLine &parsed_command_line) {
}
-
-void RecordBreakpadStatusUMA(MetricsService* metrics) {
-}