Chromium Code Reviews| Index: chrome/browser/ui/webui/options/managed_user_passphrase_handler.h |
| diff --git a/chrome/browser/ui/webui/options/managed_user_passphrase_handler.h b/chrome/browser/ui/webui/options/managed_user_passphrase_handler.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..1e43f9e02a7bcaf9d0e47af6751575982663ced2 |
| --- /dev/null |
| +++ b/chrome/browser/ui/webui/options/managed_user_passphrase_handler.h |
| @@ -0,0 +1,41 @@ |
| +// Copyright (c) 2013 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#ifndef CHROME_BROWSER_UI_WEBUI_OPTIONS_MANAGED_USER_PASSPHRASE_HANDLER_H_ |
| +#define CHROME_BROWSER_UI_WEBUI_OPTIONS_MANAGED_USER_PASSPHRASE_HANDLER_H_ |
| + |
| +#include <string> |
| + |
| +#include "base/memory/weak_ptr.h" |
| +#include "chrome/browser/ui/webui/options/options_ui.h" |
| + |
| +namespace base { |
| +class ListValue; |
| +} |
| + |
| +namespace options { |
| + |
| +class ManagedUserPassphraseHandler : public OptionsPageUIHandler { |
| + public: |
| + ManagedUserPassphraseHandler(); |
| + virtual ~ManagedUserPassphraseHandler(); |
| + |
| + // OptionsPageUIHandler implementation. |
| + virtual void InitializeHandler() OVERRIDE; |
| + virtual void RegisterMessages() OVERRIDE; |
| + virtual void GetLocalizedValues( |
| + base::DictionaryValue* localized_strings) OVERRIDE; |
| + |
| + private: |
| + void SetLocalPassphrase(const base::ListValue* args); |
|
James Hawkins
2013/02/11 18:04:19
nit: Document method.
Adrian Kuegel
2013/02/11 18:34:46
Done.
|
| + |
| + std::string callback_function_name_; |
|
James Hawkins
2013/02/11 18:04:19
nit: Document member variable.
Adrian Kuegel
2013/02/11 18:34:46
This variable is actually unused in this changelis
|
| + base::WeakPtrFactory<ManagedUserPassphraseHandler> weak_ptr_factory_; |
| + |
| + DISALLOW_COPY_AND_ASSIGN(ManagedUserPassphraseHandler); |
| +}; |
| + |
| +} // namespace options |
| + |
| +#endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_MANAGED_USER_PASSPHRASE_HANDLER_H_ |