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

Unified Diff: chrome/browser/signin/easy_unlock_service_signin_chromeos.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
Index: chrome/browser/signin/easy_unlock_service_signin_chromeos.cc
diff --git a/chrome/browser/signin/easy_unlock_service_signin_chromeos.cc b/chrome/browser/signin/easy_unlock_service_signin_chromeos.cc
new file mode 100644
index 0000000000000000000000000000000000000000..d0c036bf6580139c6242d159b86f987c7206e810
--- /dev/null
+++ b/chrome/browser/signin/easy_unlock_service_signin_chromeos.cc
@@ -0,0 +1,75 @@
+// Copyright 2014 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "chrome/browser/signin/easy_unlock_service_signin_chromeos.h"
+
+EasyUnlockServiceSignin::EasyUnlockServiceSignin(Profile* profile)
+ : EasyUnlockService(profile) {
+}
+
+EasyUnlockServiceSignin::~EasyUnlockServiceSignin() {
+}
+
+EasyUnlockService::Type EasyUnlockServiceSignin::GetType() const {
+ return EasyUnlockService::TYPE_SIGNIN;
+}
+
+std::string EasyUnlockServiceSignin::GetUserEmail() const {
+ // TODO(tbarzic): Implement this (http://crbug.com/401634).
+ return "";
+}
+
+void EasyUnlockServiceSignin::LaunchSetup() {
+ NOTREACHED();
+}
+
+const base::DictionaryValue* EasyUnlockServiceSignin::GetPermitAccess() const {
+ // TODO(tbarzic): Implement this (http://crbug.com/401634).
+ return NULL;
+}
+
+void EasyUnlockServiceSignin::SetPermitAccess(
+ const base::DictionaryValue& permit) {
+ NOTREACHED();
+}
+
+void EasyUnlockServiceSignin::ClearPermitAccess() {
+ NOTREACHED();
+}
+
+const base::ListValue* EasyUnlockServiceSignin::GetRemoteDevices() const {
+ // TODO(tbarzic): Implement this (http://crbug.com/401634).
+ return NULL;
+}
+
+void EasyUnlockServiceSignin::SetRemoteDevices(
+ const base::ListValue& devices) {
+ NOTREACHED();
+}
+
+void EasyUnlockServiceSignin::ClearRemoteDevices() {
+ NOTREACHED();
+}
+
+void EasyUnlockServiceSignin::RunTurnOffFlow() {
+ NOTREACHED();
+}
+
+void EasyUnlockServiceSignin::ResetTurnOffFlow() {
+ NOTREACHED();
+}
+
+EasyUnlockService::TurnOffFlowStatus
+ EasyUnlockServiceSignin::GetTurnOffFlowStatus() const {
+ return EasyUnlockService::IDLE;
+}
+
+void EasyUnlockServiceSignin::InitializeInternal() {
+}
+
+bool EasyUnlockServiceSignin::IsAllowedInternal() {
+ // TODO(tbarzic): Implement this (http://crbug.com/401634).
+ return false;
+}
+
« no previous file with comments | « chrome/browser/signin/easy_unlock_service_signin_chromeos.h ('k') | chrome/browser/ui/webui/options/easy_unlock_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698