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

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: 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
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;

Powered by Google App Engine
This is Rietveld 408576698