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

Unified Diff: chrome/browser/ui/webui/settings/chromeos/easy_unlock_settings_handler.h

Issue 1776393003: MD Settings: avoid double pref observation on Startup Pages (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: doc comment Created 4 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/ui/webui/settings/md_settings_ui.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/settings/chromeos/easy_unlock_settings_handler.h
diff --git a/chrome/browser/ui/webui/settings/chromeos/easy_unlock_settings_handler.h b/chrome/browser/ui/webui/settings/chromeos/easy_unlock_settings_handler.h
index b0c3f5672c3ff2fbf35b8c9a3807435823b19d1a..4741f97c14ea0b2b768eecd7107e765b458825b7 100644
--- a/chrome/browser/ui/webui/settings/chromeos/easy_unlock_settings_handler.h
+++ b/chrome/browser/ui/webui/settings/chromeos/easy_unlock_settings_handler.h
@@ -7,7 +7,7 @@
#include "base/macros.h"
#include "chrome/browser/signin/easy_unlock_service_observer.h"
-#include "content/public/browser/web_ui_message_handler.h"
+#include "chrome/browser/ui/webui/settings/md_settings_ui.h"
namespace content {
class WebUIDataSource;
@@ -18,7 +18,7 @@ class Profile;
namespace chromeos {
namespace settings {
-class EasyUnlockSettingsHandler : public content::WebUIMessageHandler,
+class EasyUnlockSettingsHandler : public ::settings::SettingsPageUIHandler,
public EasyUnlockServiceObserver {
public:
// Returns nullptr if EasyUnlock is not allowed for this device.
@@ -28,10 +28,10 @@ class EasyUnlockSettingsHandler : public content::WebUIMessageHandler,
~EasyUnlockSettingsHandler() override;
- // WebUIMessageHandler
+ // SettingsPageUIHandler:
void RegisterMessages() override;
- // EasyUnlockServiceObserver
+ // EasyUnlockServiceObserver:
void OnTurnOffOperationStatusChanged() override;
protected:
« no previous file with comments | « no previous file | chrome/browser/ui/webui/settings/md_settings_ui.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698