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

Side by Side Diff: chrome/browser/ui/webui/options/managed_user_settings_handler.h

Issue 13778004: Start in elevated mode when creating a new managed user profile. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 8 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_UI_WEBUI_OPTIONS_MANAGED_USER_SETTINGS_HANDLER_H_ 5 #ifndef CHROME_BROWSER_UI_WEBUI_OPTIONS_MANAGED_USER_SETTINGS_HANDLER_H_
6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS_MANAGED_USER_SETTINGS_HANDLER_H_ 6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS_MANAGED_USER_SETTINGS_HANDLER_H_
7 7
8 #include "base/prefs/pref_change_registrar.h" 8 #include "base/prefs/pref_change_registrar.h"
9 #include "base/time.h" 9 #include "base/time.h"
10 #include "base/values.h" 10 #include "base/values.h"
(...skipping 17 matching lines...) Expand all
28 private: 28 private:
29 // Save user metrics. Called from WebUI. 29 // Save user metrics. Called from WebUI.
30 void SaveMetrics(const base::ListValue* args); 30 void SaveMetrics(const base::ListValue* args);
31 31
32 // Records metric that the settings page was opened. Called from WebUI. 32 // Records metric that the settings page was opened. Called from WebUI.
33 void HandlePageOpened(const base::ListValue* args); 33 void HandlePageOpened(const base::ListValue* args);
34 34
35 // Called when the local passphrase changes. 35 // Called when the local passphrase changes.
36 void OnLocalPassphraseChanged(); 36 void OnLocalPassphraseChanged();
37 37
38 // Checks whether the settings dialog has been shown before.
39 bool HasSeenSetupDialog();
40
38 // For tracking how long the user spends on this page. 41 // For tracking how long the user spends on this page.
39 base::TimeTicks start_time_; 42 base::TimeTicks start_time_;
40 43
41 PrefChangeRegistrar pref_change_registrar_; 44 PrefChangeRegistrar pref_change_registrar_;
42 45
43 DISALLOW_COPY_AND_ASSIGN(ManagedUserSettingsHandler); 46 DISALLOW_COPY_AND_ASSIGN(ManagedUserSettingsHandler);
44 }; 47 };
45 48
46 } // namespace options 49 } // namespace options
47 50
48 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_MANAGED_USER_SETTINGS_HANDLER_H_ 51 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_MANAGED_USER_SETTINGS_HANDLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698