summaryrefslogtreecommitdiffstats
path: root/chrome/browser/bug_report_util.h
diff options
context:
space:
mode:
authormirandac@chromium.org <mirandac@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-11-13 15:51:10 +0000
committermirandac@chromium.org <mirandac@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-11-13 15:51:10 +0000
commitb5f65ce63d3b1b8085ce5295687b6808e76323f8 (patch)
tree6ba29a3165f1e0355225255c6696d6b50ac03524 /chrome/browser/bug_report_util.h
parent7aa5af0ef5a3148f7e223dcab61f827a976a1851 (diff)
downloadchromium_src-b5f65ce63d3b1b8085ce5295687b6808e76323f8.zip
chromium_src-b5f65ce63d3b1b8085ce5295687b6808e76323f8.tar.gz
chromium_src-b5f65ce63d3b1b8085ce5295687b6808e76323f8.tar.bz2
Fixes for Report Bug Dialog:
* Honor "send screenshot" checkbox * Save bug description and send screenshot state if user chooses "phishing report" function (that disables both); restore if the user goes back to a non-phishing bug. * Make bug report give consistent and correct values for bug type. BUG= 27283, 27282, 27281 TEST= Fill in data in bug description, toggle send screenshot "on". Move between "phishing" and non-phishing reports before sending. Note that description goes away and reappears appropriately. Review URL: http://codereview.chromium.org/385047 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31906 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/bug_report_util.h')
-rw-r--r--chrome/browser/bug_report_util.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/chrome/browser/bug_report_util.h b/chrome/browser/bug_report_util.h
index 2c13cff..aef1760 100644
--- a/chrome/browser/bug_report_util.h
+++ b/chrome/browser/bug_report_util.h
@@ -20,6 +20,17 @@ class TabContents;
class BugReportUtil {
public:
+ enum BugType {
+ PAGE_WONT_LOAD = 0,
+ PAGE_LOOKS_ODD,
+ PHISHING_PAGE,
+ CANT_SIGN_IN,
+ CHROME_MISBEHAVES,
+ SOMETHING_MISSING,
+ BROWSER_CRASH,
+ OTHER_PROBLEM
+ };
+
// SetOSVersion copies the maj.minor.build + servicePack_string
// into a string. We currently have:
// win_util::GetWinVersion returns WinVersion, which is just