From c566118b1c4740cbb52511065a315d1f35fbeb39 Mon Sep 17 00:00:00 2001 From: "rkc@chromium.org" Date: Tue, 25 Jan 2011 01:18:17 +0000 Subject: Disable sending of page title in Chrome reports. Page title can leak privacy information hence we don't really want it. BUG=66716 TEST=Sent a report to confirm page title is no longer being sent. Review URL: http://codereview.chromium.org/6366007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@72441 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/browser/bug_report_data.h | 24 ++++++++++-------------- 1 file changed, 10 insertions(+), 14 deletions(-) (limited to 'chrome/browser/bug_report_data.h') diff --git a/chrome/browser/bug_report_data.h b/chrome/browser/bug_report_data.h index 2c3a6dd..028e928 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& 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& 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_; -- cgit v1.1