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

Unified Diff: chrome/browser/ui/webui/options/easy_unlock_handler.cc

Issue 577683002: Introduce EasyUnlockService class for signin profile (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 6 years, 3 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 | « chrome/browser/signin/easy_unlock_service_signin_chromeos.cc ('k') | chrome/chrome_browser.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/options/easy_unlock_handler.cc
diff --git a/chrome/browser/ui/webui/options/easy_unlock_handler.cc b/chrome/browser/ui/webui/options/easy_unlock_handler.cc
index 836aaf39b8badc251f9558f4c52286a6c1abb063..ccde01bf5315f57652b7318a854c8c489a14d11c 100644
--- a/chrome/browser/ui/webui/options/easy_unlock_handler.cc
+++ b/chrome/browser/ui/webui/options/easy_unlock_handler.cc
@@ -4,6 +4,8 @@
#include "chrome/browser/ui/webui/options/easy_unlock_handler.h"
+#include <string>
+
#include "base/bind.h"
#include "base/values.h"
#include "chrome/browser/profiles/profile.h"
@@ -67,7 +69,7 @@ void EasyUnlockHandler::OnTurnOffOperationStatusChanged() {
void EasyUnlockHandler::SendTurnOffOperationStatus() {
EasyUnlockService::TurnOffFlowStatus status =
EasyUnlockService::Get(Profile::FromWebUI(web_ui()))
- ->turn_off_flow_status();
+ ->GetTurnOffFlowStatus();
// Translate status into JS UI state string. Note the translated string
// should match UIState defined in easy_unlock_turn_off_overlay.js.
« no previous file with comments | « chrome/browser/signin/easy_unlock_service_signin_chromeos.cc ('k') | chrome/chrome_browser.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698