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

Side by Side Diff: chrome/browser/ui/webui/options/easy_unlock_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_EASY_UNLOCK_HANDLER_H_ 5 #ifndef CHROME_BROWSER_UI_WEBUI_OPTIONS_EASY_UNLOCK_HANDLER_H_
6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS_EASY_UNLOCK_HANDLER_H_ 6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS_EASY_UNLOCK_HANDLER_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "chrome/browser/signin/easy_unlock_service_observer.h" 9 #include "chrome/browser/signin/easy_unlock_service_observer.h"
10 #include "chrome/browser/ui/webui/options/options_ui.h" 10 #include "chrome/browser/ui/webui/options/options_ui.h"
11 11
12 namespace options { 12 namespace options {
13 13
14 class EasyUnlockHandler : public OptionsPageUIHandler, 14 class EasyUnlockHandler : public OptionsPageUIHandler,
15 public EasyUnlockServiceObserver { 15 public EasyUnlockServiceObserver {
16 public: 16 public:
17 EasyUnlockHandler(); 17 EasyUnlockHandler();
18 virtual ~EasyUnlockHandler(); 18 ~EasyUnlockHandler() override;
19 19
20 // OptionsPageUIHandler 20 // OptionsPageUIHandler
21 virtual void InitializeHandler() override; 21 void InitializeHandler() override;
22 virtual void GetLocalizedValues(base::DictionaryValue* values) override; 22 void GetLocalizedValues(base::DictionaryValue* values) override;
23 23
24 // WebUIMessageHandler 24 // WebUIMessageHandler
25 virtual void RegisterMessages() override; 25 void RegisterMessages() override;
26 26
27 // EasyUnlockServiceObserver 27 // EasyUnlockServiceObserver
28 virtual void OnTurnOffOperationStatusChanged() override; 28 void OnTurnOffOperationStatusChanged() override;
29 29
30 private: 30 private:
31 void SendTurnOffOperationStatus(); 31 void SendTurnOffOperationStatus();
32 32
33 // JS callbacks. 33 // JS callbacks.
34 void HandleGetTurnOffFlowStatus(const base::ListValue* args); 34 void HandleGetTurnOffFlowStatus(const base::ListValue* args);
35 void HandleRequestTurnOff(const base::ListValue* args); 35 void HandleRequestTurnOff(const base::ListValue* args);
36 void HandlePageDismissed(const base::ListValue* args); 36 void HandlePageDismissed(const base::ListValue* args);
37 37
38 DISALLOW_COPY_AND_ASSIGN(EasyUnlockHandler); 38 DISALLOW_COPY_AND_ASSIGN(EasyUnlockHandler);
39 }; 39 };
40 40
41 } // namespace options 41 } // namespace options
42 42
43 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_EASY_UNLOCK_HANDLER_H_ 43 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_EASY_UNLOCK_HANDLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698