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

Unified Diff: chrome/browser/chrome_browser_main.cc

Issue 2438433006: chrome: change ProfileErrorType enum into an enum class (Closed)
Patch Set: update comment Created 4 years, 2 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
« no previous file with comments | « no previous file | chrome/browser/history/chrome_history_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chrome_browser_main.cc
diff --git a/chrome/browser/chrome_browser_main.cc b/chrome/browser/chrome_browser_main.cc
index 19814e22d372f3031b77d75d2d3d765fd9d3320d..f090198e282ee73a3009d8a4e408e8308d15a3bf 100644
--- a/chrome/browser/chrome_browser_main.cc
+++ b/chrome/browser/chrome_browser_main.cc
@@ -583,9 +583,9 @@ Profile* CreatePrimaryProfile(const content::MainFunctionParams& parameters,
profile = GetFallbackStartupProfile();
if (!profile) {
- ProfileErrorType error_type = profile_dir_specified ?
- PROFILE_ERROR_CREATE_FAILURE_SPECIFIED :
- PROFILE_ERROR_CREATE_FAILURE_ALL;
+ ProfileErrorType error_type =
+ profile_dir_specified ? ProfileErrorType::CREATE_FAILURE_SPECIFIED
+ : ProfileErrorType::CREATE_FAILURE_ALL;
// TODO(lwchkg): What diagnostics do you want to include in the feedback
// report when an error occurs?
« no previous file with comments | « no previous file | chrome/browser/history/chrome_history_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698