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

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: Address nit. 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 // Stores if the user has already seen the managed user settings dialog. Is
62 // set to true when the page is opened, and the page had been opened before.
63 bool has_seen_settings_dialog_;
64
61 // For tracking how long the user spends on this page. 65 // For tracking how long the user spends on this page.
62 base::TimeTicks start_time_; 66 base::TimeTicks start_time_;
63 67
64 PrefChangeRegistrar pref_change_registrar_; 68 PrefChangeRegistrar pref_change_registrar_;
65 69
66 DISALLOW_COPY_AND_ASSIGN(ManagedUserSettingsHandler); 70 DISALLOW_COPY_AND_ASSIGN(ManagedUserSettingsHandler);
67 }; 71 };
68 72
69 } // namespace options 73 } // namespace options
70 74
71 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_MANAGED_USER_SETTINGS_HANDLER_H_ 75 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_MANAGED_USER_SETTINGS_HANDLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698