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

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

Issue 12208068: Add a set passphrase dialog for managed user accounts. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix compile error on linux_clang. Created 7 years, 10 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
(Empty)
1 // Copyright (c) 2013 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/memory/weak_ptr.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();
23
24 // OptionsPageUIHandler implementation.
25 virtual void InitializeHandler() OVERRIDE;
26 virtual void RegisterMessages() OVERRIDE;
27 virtual void GetLocalizedValues(
28 base::DictionaryValue* localized_strings) OVERRIDE;
29
30 private:
31 // This function is used to set the passphrase of the manager of the managed
32 // account. The passphrase is expected as the parameter and is passed in from
33 // the UI.
34 void SetLocalPassphrase(const base::ListValue* args);
35
36 base::WeakPtrFactory<ManagedUserPassphraseHandler> weak_ptr_factory_;
37
38 DISALLOW_COPY_AND_ASSIGN(ManagedUserPassphraseHandler);
39 };
40
41 } // namespace options
42
43 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_MANAGED_USER_PASSPHRASE_HANDLER_H_
OLDNEW
« no previous file with comments | « chrome/browser/resources/options/options_bundle.js ('k') | chrome/browser/ui/webui/options/managed_user_passphrase_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698