summaryrefslogtreecommitdiffstats
path: root/chrome/browser/bug_report_data.cc
diff options
context:
space:
mode:
authorthakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-10-28 22:26:47 +0000
committerthakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-10-28 22:26:47 +0000
commit8ed9b02f608618e94c12e4dbdb501cbf7ebdb267 (patch)
tree84bfbbc93953755a559a723688f0a4d90b2e3e70 /chrome/browser/bug_report_data.cc
parentafb781acff7619399ba1565f4416c3a10ec7f2b8 (diff)
downloadchromium_src-8ed9b02f608618e94c12e4dbdb501cbf7ebdb267.zip
chromium_src-8ed9b02f608618e94c12e4dbdb501cbf7ebdb267.tar.gz
chromium_src-8ed9b02f608618e94c12e4dbdb501cbf7ebdb267.tar.bz2
Revert 64321 (broke mac compile; please use tryservers) - Changes to enable retry of failed sends on feedback reports.
If the initial send fails, the first retry will be in 15 minutes after the attempt. The next attempt will be in 30 minutes and the time will double till we hit a 4 hour delay - the send will be then retried every 4 hours till the Chrome instance is up. BUG=cros:6331 TEST=Tested with up to 25 reports at a time, with varying network connectivity (via pulling out the network cable); report data verified on the feedback server. Review URL: http://codereview.chromium.org/4027005 TBR=rkc@chromium.org Review URL: http://codereview.chromium.org/4096007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@64323 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/bug_report_data.cc')
-rw-r--r--chrome/browser/bug_report_data.cc34
1 files changed, 0 insertions, 34 deletions
diff --git a/chrome/browser/bug_report_data.cc b/chrome/browser/bug_report_data.cc
deleted file mode 100644
index 9219e52..0000000
--- a/chrome/browser/bug_report_data.cc
+++ /dev/null
@@ -1,34 +0,0 @@
-// Copyright (c) 2010 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "chrome/browser/bug_report_data.h"
-
-#include "chrome/browser/browser.h"
-
-#if defined(OS_CHROMEOS)
-#include "chrome/browser/chromeos/notifications/system_notification.h"
-#endif
-
-
-
-#if defined(OS_CHROMEOS)
-// Called from the same thread as HandleGetDialogDefaults, i.e. the UI thread.
-void BugReportData::SyslogsComplete(chromeos::LogDictionaryType* logs,
- std::string* zip_content) {
- if (sent_report_) {
- // We already sent the report, just delete the data.
- if (logs)
- delete logs;
- if (zip_content)
- delete zip_content;
- } else {
- zip_content_ = zip_content;
- sys_info_ = logs; // Will get deleted when SendReport() is called.
- if (send_sys_info_) {
- // We already prepared the report, send it now.
- this->SendReport();
- }
- }
-}
-#endif