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

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: Add a startup elevation flag. 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 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 void RemoveManualException(const base::ListValue* args); 51 void RemoveManualException(const base::ListValue* args);
52 52
53 // Changes the value of an exception. Called after the user is done editing an 53 // Changes the value of an exception. Called after the user is done editing an
54 // exception. 54 // exception.
55 void SetManualException(const base::ListValue* args); 55 void SetManualException(const base::ListValue* args);
56 56
57 // Updates the current view by reading the entries from the managed mode 57 // Updates the current view by reading the entries from the managed mode
58 // service and updating the WebUI model. 58 // service and updating the WebUI model.
59 void UpdateViewFromModel(); 59 void UpdateViewFromModel();
60 60
61 // Checks whether the settings dialog has been shown before.
62 bool HasSeenSetupDialog();
63
61 // For tracking how long the user spends on this page. 64 // For tracking how long the user spends on this page.
62 base::TimeTicks start_time_; 65 base::TimeTicks start_time_;
63 66
64 PrefChangeRegistrar pref_change_registrar_; 67 PrefChangeRegistrar pref_change_registrar_;
65 68
66 DISALLOW_COPY_AND_ASSIGN(ManagedUserSettingsHandler); 69 DISALLOW_COPY_AND_ASSIGN(ManagedUserSettingsHandler);
67 }; 70 };
68 71
69 } // namespace options 72 } // namespace options
70 73
71 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_MANAGED_USER_SETTINGS_HANDLER_H_ 74 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_MANAGED_USER_SETTINGS_HANDLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698