diff options
author | rkc@chromium.org <rkc@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-01-25 01:18:17 +0000 |
---|---|---|
committer | rkc@chromium.org <rkc@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-01-25 01:18:17 +0000 |
commit | c566118b1c4740cbb52511065a315d1f35fbeb39 (patch) | |
tree | e02bbf7ab5b627ceefdff8a7b1299956f162f7db /chrome/browser/bug_report_data.h | |
parent | a3aa03fc7316b256129c0d3cb2609e0b20b6885f (diff) | |
download | chromium_src-c566118b1c4740cbb52511065a315d1f35fbeb39.zip chromium_src-c566118b1c4740cbb52511065a315d1f35fbeb39.tar.gz chromium_src-c566118b1c4740cbb52511065a315d1f35fbeb39.tar.bz2 |
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
Diffstat (limited to 'chrome/browser/bug_report_data.h')
-rw-r--r-- | chrome/browser/bug_report_data.h | 24 |
1 files changed, 10 insertions, 14 deletions
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<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_; |