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

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

Issue 671653002: Standardize usage of virtual/override/final in chrome/browser/ui/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_SUPERVISED_USER_CREATE_CONFIRM_HANDLER_H _ 5 #ifndef CHROME_BROWSER_UI_WEBUI_OPTIONS_SUPERVISED_USER_CREATE_CONFIRM_HANDLER_H _
6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS_SUPERVISED_USER_CREATE_CONFIRM_HANDLER_H _ 6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS_SUPERVISED_USER_CREATE_CONFIRM_HANDLER_H _
7 7
8 #include "chrome/browser/ui/webui/options/options_ui.h" 8 #include "chrome/browser/ui/webui/options/options_ui.h"
9 9
10 namespace base { 10 namespace base {
11 class DictionaryValue; 11 class DictionaryValue;
12 } 12 }
13 13
14 namespace options { 14 namespace options {
15 15
16 // Handler for the confirmation dialog after successful creation of a supervised 16 // Handler for the confirmation dialog after successful creation of a supervised
17 // user. 17 // user.
18 class SupervisedUserCreateConfirmHandler : public OptionsPageUIHandler { 18 class SupervisedUserCreateConfirmHandler : public OptionsPageUIHandler {
19 public: 19 public:
20 SupervisedUserCreateConfirmHandler(); 20 SupervisedUserCreateConfirmHandler();
21 virtual ~SupervisedUserCreateConfirmHandler(); 21 ~SupervisedUserCreateConfirmHandler() override;
22 22
23 // OptionsPageUIHandler implementation. 23 // OptionsPageUIHandler implementation.
24 virtual void GetLocalizedValues( 24 void GetLocalizedValues(base::DictionaryValue* localized_strings) override;
25 base::DictionaryValue* localized_strings) override;
26 25
27 // WebUIMessageHandler implementation. 26 // WebUIMessageHandler implementation.
28 virtual void RegisterMessages() override; 27 void RegisterMessages() override;
29 28
30 private: 29 private:
31 // Callback for the "switchToProfile" message. 30 // Callback for the "switchToProfile" message.
32 // Opens a new window for the profile. 31 // Opens a new window for the profile.
33 // |args| is of the form [ {string} profileFilePath ] 32 // |args| is of the form [ {string} profileFilePath ]
34 void SwitchToProfile(const base::ListValue* args); 33 void SwitchToProfile(const base::ListValue* args);
35 34
36 DISALLOW_COPY_AND_ASSIGN(SupervisedUserCreateConfirmHandler); 35 DISALLOW_COPY_AND_ASSIGN(SupervisedUserCreateConfirmHandler);
37 }; 36 };
38 37
39 } // namespace options 38 } // namespace options
40 39
41 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_SUPERVISED_USER_CREATE_CONFIRM_HANDLE R_H_ 40 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_SUPERVISED_USER_CREATE_CONFIRM_HANDLE R_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698