Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1140)

Side by Side Diff: chrome/browser/feedback/feedback_data.cc

Issue 10947046: Eliminate kAshNotifyDisabled and SystemNotification (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix nit Created 8 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/browser/chromeos/sms_observer.cc ('k') | chrome/browser/feedback/feedback_util.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/sms_observer.cc ('k') | chrome/browser/feedback/feedback_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698