diff options
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_; |