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

Unified Diff: chrome/browser/ui/webui/options/create_profile_handler.h

Issue 355233002: Fix build when ENABLE_MANAGED_USERS is not defined (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 6 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/webui/options/create_profile_handler.h
diff --git a/chrome/browser/ui/webui/options/create_profile_handler.h b/chrome/browser/ui/webui/options/create_profile_handler.h
index 34942e997702ec60f58c250a90fd97a102f8b4db..e3ec93ee6f523aab0296d756fd40cd8cd7e991a9 100644
--- a/chrome/browser/ui/webui/options/create_profile_handler.h
+++ b/chrome/browser/ui/webui/options/create_profile_handler.h
@@ -19,7 +19,9 @@ class DictionaryValue;
class ListValue;
}
+#if defined(ENABLE_MANAGED_USERS)
class SupervisedUserRegistrationUtility;
+#endif
namespace options {
@@ -150,8 +152,10 @@ class CreateProfileHandler: public OptionsPageUIHandler {
// Used to track how long profile creation takes.
base::TimeTicks profile_creation_start_time_;
+#if defined(ENABLE_MANAGED_USERS)
scoped_ptr<SupervisedUserRegistrationUtility>
supervised_user_registration_utility_;
+#endif
// Indicates the type of the in progress profile creation operation.
// The value is only relevant while we are creating/importing a profile.

Powered by Google App Engine
This is Rietveld 408576698