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

Side by Side Diff: chrome/browser/ui/webui/options2/chromeos/accounts_options_handler.h

Issue 10857071: Options: Rename options2 namespace to options. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Review fix. Created 8 years, 4 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_OPTIONS2_CHROMEOS_ACCOUNTS_OPTIONS_HANDLER_H_ 5 #ifndef CHROME_BROWSER_UI_WEBUI_OPTIONS2_CHROMEOS_ACCOUNTS_OPTIONS_HANDLER_H_
6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS2_CHROMEOS_ACCOUNTS_OPTIONS_HANDLER_H_ 6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS2_CHROMEOS_ACCOUNTS_OPTIONS_HANDLER_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "chrome/browser/ui/webui/options2/options_ui.h" 9 #include "chrome/browser/ui/webui/options2/options_ui.h"
10 10
11 namespace chromeos { 11 namespace chromeos {
12 namespace options2 { 12 namespace options {
13 13
14 // ChromeOS accounts options page handler. 14 // ChromeOS accounts options page handler.
15 class AccountsOptionsHandler : public ::options2::OptionsPageUIHandler { 15 class AccountsOptionsHandler : public ::options::OptionsPageUIHandler {
16 public: 16 public:
17 AccountsOptionsHandler(); 17 AccountsOptionsHandler();
18 virtual ~AccountsOptionsHandler(); 18 virtual ~AccountsOptionsHandler();
19 19
20 // WebUIMessageHandler implementation. 20 // WebUIMessageHandler implementation.
21 virtual void RegisterMessages() OVERRIDE; 21 virtual void RegisterMessages() OVERRIDE;
22 22
23 // OptionsPageUIHandler implementation. 23 // OptionsPageUIHandler implementation.
24 virtual void GetLocalizedValues( 24 virtual void GetLocalizedValues(
25 base::DictionaryValue* localized_strings) OVERRIDE; 25 base::DictionaryValue* localized_strings) OVERRIDE;
26 26
27 private: 27 private:
28 // Javascript callbacks to whitelist/unwhitelist user. 28 // Javascript callbacks to whitelist/unwhitelist user.
29 void HandleWhitelistUser(const base::ListValue* args); 29 void HandleWhitelistUser(const base::ListValue* args);
30 void HandleUnwhitelistUser(const base::ListValue* args); 30 void HandleUnwhitelistUser(const base::ListValue* args);
31 31
32 // Javascript callback to auto add existing users to white list. 32 // Javascript callback to auto add existing users to white list.
33 void HandleWhitelistExistingUsers(const base::ListValue* args); 33 void HandleWhitelistExistingUsers(const base::ListValue* args);
34 34
35 DISALLOW_COPY_AND_ASSIGN(AccountsOptionsHandler); 35 DISALLOW_COPY_AND_ASSIGN(AccountsOptionsHandler);
36 }; 36 };
37 37
38 } // namespace options2 38 } // namespace options
39 } // namespace chromeos 39 } // namespace chromeos
40 40
41 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS2_CHROMEOS_ACCOUNTS_OPTIONS_HANDLER_H_ 41 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS2_CHROMEOS_ACCOUNTS_OPTIONS_HANDLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698