| Index: chrome/browser/bug_report_data.h
|
| diff --git a/chrome/browser/bug_report_data.h b/chrome/browser/bug_report_data.h
|
| index e329b81e791d25f39d04ae0001385c4fba003259..2b404b2a32ec8773842f04a8d3c02f2cc204977c 100644
|
| --- a/chrome/browser/bug_report_data.h
|
| +++ b/chrome/browser/bug_report_data.h
|
| @@ -9,6 +9,7 @@
|
| #include <vector>
|
|
|
| #include "base/utf_string_conversions.h"
|
| +#include "chrome/browser/ui/webui/screenshot_source.h"
|
|
|
| #if defined(OS_CHROMEOS)
|
| #include "chrome/browser/chromeos/system/syslogs_provider.h"
|
| @@ -28,7 +29,7 @@ class BugReportData {
|
| const int problem_type,
|
| const std::string& page_url,
|
| const std::string& description,
|
| - const std::vector<unsigned char>& image
|
| + ScreenshotDataPtr image
|
| #if defined(OS_CHROMEOS)
|
| , const std::string& user_email
|
| , const bool send_sys_info
|
| @@ -46,7 +47,7 @@ class BugReportData {
|
| 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_; }
|
| + ScreenshotDataPtr image() const { return image_; }
|
| #if defined(OS_CHROMEOS)
|
| const std::string& user_email() const { return user_email_; }
|
| chromeos::system::LogDictionaryType* sys_info() const { return sys_info_; }
|
| @@ -65,7 +66,7 @@ class BugReportData {
|
| int problem_type_;
|
| std::string page_url_;
|
| std::string description_;
|
| - std::vector<unsigned char> image_;
|
| + ScreenshotDataPtr image_;
|
|
|
| #if defined(OS_CHROMEOS)
|
| // Chromeos specific values for SendReport.
|
|
|