OLD | NEW |
---|---|
(Empty) | |
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 | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef CHROME_BROWSER_UI_WEBUI_OPTIONS_MANAGED_USER_PASSPHRASE_HANDLER_H_ | |
6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS_MANAGED_USER_PASSPHRASE_HANDLER_H_ | |
7 | |
8 #include <string> | |
9 | |
10 #include "base/prefs/public/pref_change_registrar.h" | |
11 #include "chrome/browser/ui/webui/options/options_ui.h" | |
12 | |
13 namespace base { | |
14 class ListValue; | |
15 } | |
16 | |
17 namespace options { | |
18 | |
19 class ManagedUserPassphraseHandler : public OptionsPageUIHandler { | |
20 public: | |
21 ManagedUserPassphraseHandler(); | |
22 virtual ~ManagedUserPassphraseHandler(); | |
Bernhard Bauer
2013/01/07 14:20:22
Newline pls.
| |
23 virtual void InitializeHandler() OVERRIDE; | |
Bernhard Bauer
2013/01/07 14:20:22
Please add a comment stating which class you overr
| |
24 virtual void RegisterMessages() OVERRIDE; | |
25 | |
26 // OptionsPageUIHandler implementation. | |
27 virtual void GetLocalizedValues( | |
28 base::DictionaryValue* localized_strings) OVERRIDE; | |
29 | |
30 private: | |
31 void DisplayPassphraseDialog(const base::ListValue* args); | |
32 void OnPreferenceChanged(); | |
33 void SetLocalPassphrase(const base::ListValue* args); | |
34 void CorrectPassphraseEntered(); | |
Bernhard Bauer
2013/01/07 14:20:22
Moar newlinez!!!11!oneone
| |
35 std::string callback_function_name_; | |
36 PrefChangeRegistrar registrar_; | |
37 DISALLOW_COPY_AND_ASSIGN(ManagedUserPassphraseHandler); | |
38 }; | |
39 | |
40 } // namespace options | |
41 | |
42 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_MANAGED_USER_PASSPHRASE_HANDLER_H_ | |
OLD | NEW |