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

Unified Diff: chrome/browser/bug_report_util.h

Issue 2068004: Commiting http://codereview.chromium.org/2017007/show on behalf of rkc@chromi... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 years, 7 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
===================================================================
--- chrome/browser/bug_report_util.h (revision 47222)
+++ chrome/browser/bug_report_util.h (working copy)
@@ -15,6 +15,11 @@
#endif
#include "base/scoped_ptr.h"
+#include "chrome/browser/userfeedback/proto/common.pb.h"
+#include "chrome/browser/userfeedback/proto/extension.pb.h"
+#include "chrome/browser/userfeedback/proto/math.pb.h"
+#include "gfx/rect.h"
+
class Profile;
class TabContents;
@@ -44,26 +49,28 @@
// Generates bug report data.
static void SendReport(Profile* profile,
- std::string page_title_text,
+ const std::string& page_title_text,
int problem_type,
- std::string page_url_text,
- std::string description,
+ const std::string& page_url_text,
+ const std::string& description,
const char* png_data,
- int png_data_length);
+ int png_data_length,
+ int png_width,
+ int png_height);
// Redirects the user to Google's phishing reporting page.
static void ReportPhishing(TabContents* currentTab,
const std::string& phishing_url);
- static std::string GetMimeType();
-
class PostCleanup;
private:
- static void CreateMimeBoundary(std::string *out);
+ // Add a key value pair to the feedback object
+ static void AddFeedbackData(
+ userfeedback::ExternalExtensionSubmit* feedback_data,
+ const std::string& key, const std::string& value);
DISALLOW_IMPLICIT_CONSTRUCTORS(BugReportUtil);
};
#endif // CHROME_BROWSER_BUG_REPORT_UTIL_H_
-

Powered by Google App Engine
This is Rietveld 408576698