summaryrefslogtreecommitdiff
path: root/chrome/browser/signin/signin_ui_util.h
diff options
context:
space:
mode:
authorTorne (Richard Coles) <torne@google.com>2014-08-19 13:00:08 +0100
committerTorne (Richard Coles) <torne@google.com>2014-08-19 13:00:08 +0100
commit6e8cce623b6e4fe0c9e4af605d675dd9d0338c38 (patch)
tree8d824ad26fac42e008142b86aa9631b2be7e4705 /chrome/browser/signin/signin_ui_util.h
parent4f7316adb45db5ec3c9c1181ba9510c004566df8 (diff)
downloadchromium_org-6e8cce623b6e4fe0c9e4af605d675dd9d0338c38.tar.gz
Merge from Chromium at DEPS revision 290040
This commit was generated by merge_to_master.py. Change-Id: I694ec52d1e0b553f163c2faf4373d63270ab1aac
Diffstat (limited to 'chrome/browser/signin/signin_ui_util.h')
-rw-r--r--chrome/browser/signin/signin_ui_util.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/chrome/browser/signin/signin_ui_util.h b/chrome/browser/signin/signin_ui_util.h
index 12731b84a2..4697ff7db5 100644
--- a/chrome/browser/signin/signin_ui_util.h
+++ b/chrome/browser/signin/signin_ui_util.h
@@ -17,6 +17,9 @@ class SigninManagerBase;
// services and construct messages suitable for showing in UI.
namespace signin_ui_util {
+// The maximum number of times to show the welcome tutorial for an upgrade user.
+const int kUpgradeWelcomeTutorialShowMax = 1;
+
// If a signed in service is reporting an error, returns the GlobalError
// object associated with that service, or NULL if no errors are reported.
GlobalError* GetSignedInServiceError(Profile* profile);
@@ -33,6 +36,8 @@ void GetStatusLabelsForAuthError(Profile* profile,
base::string16* status_label,
base::string16* link_label);
+void InitializePrefsForProfile(Profile* profile);
+
} // namespace signin_ui_util
#endif // CHROME_BROWSER_SIGNIN_SIGNIN_UI_UTIL_H_