Chromium Code Reviews| Index: chrome/browser/bug_report_util.h |
| diff --git a/chrome/browser/bug_report_util.h b/chrome/browser/bug_report_util.h |
| index 203be9836032cbccf9c38ac038d5463c7565e0cb..460d18f95a247eaa0161c49bb79db52a8a048c50 100644 |
| --- a/chrome/browser/bug_report_util.h |
| +++ b/chrome/browser/bug_report_util.h |
| @@ -63,26 +63,29 @@ class BugReportUtil { |
| // Generates bug report data. |
| - static void SendReport(Profile* profile, |
| - int problem_type, |
| - const std::string& page_url_text, |
| - const std::string& description, |
| - const char* png_data, |
| - int png_data_length, |
| - int png_width, |
| + static void SendReport( |
| + Profile* profile |
| + , int problem_type |
| + , const std::string& page_url_text |
| + , const std::string& description |
| + , const char* png_data |
| + , int png_data_length |
| + , int png_width |
| + , int png_height |
| #if defined(OS_CHROMEOS) |
| - int png_height, |
| - const std::string& user_email_text, |
| - const char* zipped_logs_data, |
| - int zipped_logs_length, |
| - const chromeos::system::LogDictionaryType* const sys_info); |
| -#else |
| - int png_height); |
| + , const std::string& user_email_text |
| + , const char* zipped_logs_data |
| + , int zipped_logs_length |
| + , const chromeos::system::LogDictionaryType* const sys_info |
| #endif |
| - |
| + ); |
| // Redirects the user to Google's phishing reporting page. |
| static void ReportPhishing(TabContents* currentTab, |
| const std::string& phishing_url); |
| + // Maintains a single vector of bytes to store the last screenshot taken. |
| + static std::vector<unsigned char>* GetScreenshotPng(); |
| + static void SetScreenshotSize(const gfx::Rect& rect); |
| + static gfx::Rect& GetScreenshotSize(); |
|
stevenjb
2011/08/03 01:55:20
Moved from bug_report_ui.cc and re-factored.
|
| class PostCleanup; |