Chromium Code Reviews| Index: chrome/browser/managed_mode/managed_mode.h |
| diff --git a/chrome/browser/managed_mode/managed_mode.h b/chrome/browser/managed_mode/managed_mode.h |
| index b7250158b3d39a4d738f414a4110ebb6a091ea21..985648eb38a83c4339813d0e917b0a4c418616be 100644 |
| --- a/chrome/browser/managed_mode/managed_mode.h |
| +++ b/chrome/browser/managed_mode/managed_mode.h |
| @@ -50,6 +50,10 @@ class ManagedMode : public chrome::BrowserListObserver, |
| // after g_browser_process and the LocalState have been created. |
| static void Init(Profile* profile); |
| static bool IsInManagedMode(); |
| + static bool IsCustodianAuthenticated(); |
| + |
| + // Sets the boolean value if a custodian is currently authenticated or not |
|
Pam (message me for reviews)
2013/01/14 15:37:50
nit: Period at the end of the comment please.
Adrian Kuegel
2013/01/19 01:21:32
Done.
|
| + static void SetCustodianAuthenticated(bool isAuthenticated); |
| // Calls |callback| with the argument true iff managed mode was entered |
| // sucessfully. |
| @@ -117,6 +121,7 @@ class ManagedMode : public chrome::BrowserListObserver, |
| // The managed profile. This is NULL iff we are not in managed mode. |
| Profile* managed_profile_; |
| + bool is_custodian_authenticated_; |
| private: |
| class URLFilterContext; |