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

Unified Diff: chrome/browser/bug_report_data.h

Issue 6366007: Disable sending of page title in Chrome reports. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Mac build fix. Created 9 years, 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/bug_report_data.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/bug_report_data.h
diff --git a/chrome/browser/bug_report_data.h b/chrome/browser/bug_report_data.h
index 2c3a6dd416b03db080857d6e1d5dece633455188..028e9283fad99a403393407c57abe398930969fe 100644
--- a/chrome/browser/bug_report_data.h
+++ b/chrome/browser/bug_report_data.h
@@ -31,7 +31,6 @@ class BugReportData {
void UpdateData(Profile* profile,
const std::string& target_tab_url,
- const string16& target_tab_title,
const int problem_type,
const std::string& page_url,
const std::string& description,
@@ -48,19 +47,18 @@ class BugReportData {
std::string* zip_content);
#endif
- const std::string& target_tab_url() { return target_tab_url_; }
- const string16& target_tab_title() { return target_tab_title_; }
+ const std::string& target_tab_url() const { return target_tab_url_; }
- int problem_type() { return problem_type_; }
- const std::string& page_url() { return page_url_; }
- const std::string& description() { return description_; }
- const std::vector<unsigned char>& image() { return image_; }
+ int problem_type() const { return problem_type_; }
+ const std::string& page_url() const { return page_url_; }
+ const std::string& description() const { return description_; }
+ const std::vector<unsigned char>& image() const { return image_; }
#if defined(OS_CHROMEOS)
- const std::string& user_email() { return user_email_; }
- const chromeos::LogDictionaryType* sys_info() { return sys_info_; }
- const bool send_sys_info() { return send_sys_info_; }
- const bool sent_report() { return sent_report_; }
- const std::string* zip_content() { return zip_content_; }
+ const std::string& user_email() const { return user_email_; }
+ chromeos::LogDictionaryType* sys_info() const { return sys_info_; }
+ bool send_sys_info() const { return send_sys_info_; }
+ bool sent_report() const { return sent_report_; }
+ std::string* zip_content() const { return zip_content_; }
#endif
@@ -69,8 +67,6 @@ class BugReportData {
// Target tab url.
std::string target_tab_url_;
- // Target tab page title.
- string16 target_tab_title_;
int problem_type_;
std::string page_url_;
« no previous file with comments | « no previous file | chrome/browser/bug_report_data.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698