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

Unified Diff: chrome/browser/chrome_browser_main.cc

Issue 2107493002: Offer user to send feedback from profile error dialog (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: pkasting's & droger's Created 4 years, 4 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/chrome_browser_main.cc
diff --git a/chrome/browser/chrome_browser_main.cc b/chrome/browser/chrome_browser_main.cc
index d1a7a6e3866a7442a68adb0d2c8ef6b4d0b92f2d..a25f68af465a51feda5dc66c2f9c6c094db0bcf7 100644
--- a/chrome/browser/chrome_browser_main.cc
+++ b/chrome/browser/chrome_browser_main.cc
@@ -448,7 +448,10 @@ Profile* CreatePrimaryProfile(const content::MainFunctionParams& parameters,
PROFILE_ERROR_CREATE_FAILURE_SPECIFIED :
PROFILE_ERROR_CREATE_FAILURE_ALL;
- ShowProfileErrorDialog(error_type, IDS_COULDNT_STARTUP_PROFILE_ERROR);
+ // TODO(lwchkg): What diagnostics do you want to include in the feedback
+ // report when an error occurs?
+ ShowProfileErrorDialog(error_type, IDS_COULDNT_STARTUP_PROFILE_ERROR,
+ "Error creating primary profile.");
return nullptr;
}
#endif // defined(OS_CHROMEOS) || defined(OS_ANDROID)
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | chrome/browser/history/android/android_provider_backend_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698