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

Unified Diff: chrome/browser/bug_report_data.h

Issue 7635017: Fix saved screenshots for feedback. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Mac fix 4 Created 9 years, 4 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 | « chrome/browser/app_controller_mac.mm ('k') | 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 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.
« no previous file with comments | « chrome/browser/app_controller_mac.mm ('k') | chrome/browser/bug_report_data.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698