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

Unified Diff: chrome/browser/bug_report_util.h

Issue 7562001: Add memory usage info to SyslogsProvider, and clean up bug report screenshot data. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Increase max entry size for stats included unzipped in feedback page. Created 9 years, 5 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/bug_report_data.cc ('k') | chrome/browser/bug_report_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..edc973930f00a72a417a853792b9d4d9d26eaf1c 100644
--- a/chrome/browser/bug_report_util.h
+++ b/chrome/browser/bug_report_util.h
@@ -63,26 +63,30 @@ 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 ClearScreenshotPng();
+ static void SetScreenshotSize(const gfx::Rect& rect);
+ static gfx::Rect& GetScreenshotSize();
class PostCleanup;
« no previous file with comments | « chrome/browser/bug_report_data.cc ('k') | chrome/browser/bug_report_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698