| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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/feedback/feedback_data.h" | 5 #include "chrome/browser/feedback/feedback_data.h" |
| 6 | 6 |
| 7 #include "chrome/browser/feedback/feedback_util.h" | 7 #include "chrome/browser/feedback/feedback_util.h" |
| 8 #include "content/public/browser/browser_thread.h" | 8 #include "content/public/browser/browser_thread.h" |
| 9 | 9 |
| 10 #if defined(OS_CHROMEOS) | |
| 11 #include "chrome/browser/chromeos/notifications/system_notification.h" | |
| 12 #endif | |
| 13 | |
| 14 using content::BrowserThread; | 10 using content::BrowserThread; |
| 15 | 11 |
| 16 FeedbackData::FeedbackData() | 12 FeedbackData::FeedbackData() |
| 17 : profile_(NULL) | 13 : profile_(NULL) |
| 18 #if defined(OS_CHROMEOS) | 14 #if defined(OS_CHROMEOS) |
| 19 , sys_info_(NULL) | 15 , sys_info_(NULL) |
| 20 , zip_content_(NULL) | 16 , zip_content_(NULL) |
| 21 , sent_report_(false) | 17 , sent_report_(false) |
| 22 , send_sys_info_(false) | 18 , send_sys_info_(false) |
| 23 #endif | 19 #endif |
| (...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 112 } else { | 108 } else { |
| 113 zip_content_ = zip_content; | 109 zip_content_ = zip_content; |
| 114 sys_info_ = logs; // Will get deleted when SendReport() is called. | 110 sys_info_ = logs; // Will get deleted when SendReport() is called. |
| 115 if (send_sys_info_) { | 111 if (send_sys_info_) { |
| 116 // We already prepared the report, send it now. | 112 // We already prepared the report, send it now. |
| 117 this->SendReport(); | 113 this->SendReport(); |
| 118 } | 114 } |
| 119 } | 115 } |
| 120 } | 116 } |
| 121 #endif | 117 #endif |
| OLD | NEW |