OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 #include "chrome/browser/bug_report_data.h" | 5 #include "chrome/browser/bug_report_data.h" |
6 | 6 |
7 #include "chrome/browser/ui/browser.h" | |
8 | |
9 #if defined(OS_CHROMEOS) | 7 #if defined(OS_CHROMEOS) |
10 #include "chrome/browser/chromeos/notifications/system_notification.h" | 8 #include "chrome/browser/chromeos/notifications/system_notification.h" |
11 #endif | 9 #endif |
12 | 10 |
13 BugReportData::BugReportData() | 11 BugReportData::BugReportData() |
14 : profile_(NULL), | 12 : profile_(NULL), |
15 problem_type_(0) | 13 problem_type_(0) |
16 #if defined(OS_CHROMEOS) | 14 #if defined(OS_CHROMEOS) |
17 , sent_report_(false), send_sys_info_(false) | 15 , sent_report_(false), send_sys_info_(false) |
18 #endif | 16 #endif |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
62 } else { | 60 } else { |
63 zip_content_ = zip_content; | 61 zip_content_ = zip_content; |
64 sys_info_ = logs; // Will get deleted when SendReport() is called. | 62 sys_info_ = logs; // Will get deleted when SendReport() is called. |
65 if (send_sys_info_) { | 63 if (send_sys_info_) { |
66 // We already prepared the report, send it now. | 64 // We already prepared the report, send it now. |
67 this->SendReport(); | 65 this->SendReport(); |
68 } | 66 } |
69 } | 67 } |
70 } | 68 } |
71 #endif | 69 #endif |
OLD | NEW |