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

Unified Diff: chrome/browser/ui/webui/crashes_ui.cc

Issue 6771021: Implement CrashUploadListWin to enable chrome://crashes on Windows. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Add class-level comment. Created 9 years, 9 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/ui/webui/crashes_ui.cc
diff --git a/chrome/browser/ui/webui/crashes_ui.cc b/chrome/browser/ui/webui/crashes_ui.cc
index f3126ea6aea7aaba035dccfda164fcf19d1c81cb..749de77a6c7e697b6e1b91edc380a8483efe1ed2 100644
--- a/chrome/browser/ui/webui/crashes_ui.cc
+++ b/chrome/browser/ui/webui/crashes_ui.cc
@@ -127,7 +127,7 @@ class CrashesDOMHandler : public WebUIMessageHandler,
CrashesDOMHandler::CrashesDOMHandler()
: list_available_(false), js_request_pending_(false) {
- upload_list_ = new CrashUploadList(this);
+ upload_list_ = CrashUploadList::Create(this);
}
CrashesDOMHandler::~CrashesDOMHandler() {
@@ -185,7 +185,7 @@ bool CrashesDOMHandler::CrashReportingEnabled() const {
PrefService* prefs = g_browser_process->local_state();
return prefs->GetBoolean(prefs::kMetricsReportingEnabled);
#else
- return false;
+ return true;
stuartmorgan 2011/03/30 16:28:10 This needs to not be part of the CL.
Alexei Svitkine (slow) 2011/03/30 18:54:37 Forgot to revert that! Done now..
#endif
}

Powered by Google App Engine
This is Rietveld 408576698