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

Unified Diff: chrome/browser/ui/sync/profile_signin_confirmation_helper.h

Issue 14846020: Add Views implementation of ProfileSigninConfirmationDialog. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: no forward declared enums Created 7 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/ui/sync/profile_signin_confirmation_helper.h
diff --git a/chrome/browser/ui/sync/profile_signin_confirmation_helper.h b/chrome/browser/ui/sync/profile_signin_confirmation_helper.h
index 36ad62a3f488da99485cc8605d351f6aaef25c08..aaf7d317ea5eef2b688321821aa1bd3c0c1a39fe 100644
--- a/chrome/browser/ui/sync/profile_signin_confirmation_helper.h
+++ b/chrome/browser/ui/sync/profile_signin_confirmation_helper.h
@@ -15,11 +15,18 @@ namespace ui {
// profile was created.
bool HasBeenShutdown(Profile* profile);
+// Indicates whether the user should be prompted to create a new
+// profile before signin.
+enum DisplayCreateProfilePrompt {
+ PROMPT_TO_CREATE_PROFILE,
+ DO_NOT_PROMPT_TO_CREATE_PROFILE
+};
+
// Determines whether the user should be prompted to create a new
// profile before signin.
void CheckShouldPromptForNewProfile(
Profile* profile,
- const base::Callback<void(bool)>& cb);
+ const base::Callback<void(DisplayCreateProfilePrompt)>& cb);
Peter Kasting 2013/05/15 00:11:03 Nit: Personally I slightly prefer the old bool, si
Andrew T Wilson (Slow) 2013/05/16 08:00:30 Peter has a reasonable point - if you also prefer
dconnelly 2013/05/17 13:01:55 Done.
} // namespace ui

Powered by Google App Engine
This is Rietveld 408576698