| OLD | NEW |
| 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 #include "chrome/browser/managed_mode/chromeos/manager_password_service.h" | 5 #include "chrome/browser/managed_mode/chromeos/manager_password_service.h" |
| 6 | 6 |
| 7 #include "base/bind.h" | 7 #include "base/bind.h" |
| 8 #include "base/metrics/histogram.h" | 8 #include "base/metrics/histogram.h" |
| 9 #include "base/values.h" | 9 #include "base/values.h" |
| 10 #include "chrome/browser/chromeos/login/auth/user_context.h" |
| 10 #include "chrome/browser/chromeos/login/managed/locally_managed_user_constants.h
" | 11 #include "chrome/browser/chromeos/login/managed/locally_managed_user_constants.h
" |
| 11 #include "chrome/browser/chromeos/login/managed/supervised_user_authentication.h
" | 12 #include "chrome/browser/chromeos/login/managed/supervised_user_authentication.h
" |
| 12 #include "chrome/browser/chromeos/login/users/supervised_user_manager.h" | 13 #include "chrome/browser/chromeos/login/users/supervised_user_manager.h" |
| 14 #include "chrome/browser/chromeos/login/users/user.h" |
| 13 #include "chrome/browser/chromeos/login/users/user_manager.h" | 15 #include "chrome/browser/chromeos/login/users/user_manager.h" |
| 14 #include "chrome/browser/managed_mode/managed_user_constants.h" | 16 #include "chrome/browser/managed_mode/managed_user_constants.h" |
| 15 #include "chrome/browser/managed_mode/managed_user_sync_service.h" | 17 #include "chrome/browser/managed_mode/managed_user_sync_service.h" |
| 16 | 18 |
| 17 namespace chromeos { | 19 namespace chromeos { |
| 18 | 20 |
| 19 ManagerPasswordService::ManagerPasswordService() : weak_ptr_factory_(this) {} | 21 ManagerPasswordService::ManagerPasswordService() : weak_ptr_factory_(this) {} |
| 20 | 22 |
| 21 ManagerPasswordService::~ManagerPasswordService() {} | 23 ManagerPasswordService::~ManagerPasswordService() {} |
| 22 | 24 |
| (...skipping 231 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 254 void ManagerPasswordService::OnOldManagerKeyDeleted( | 256 void ManagerPasswordService::OnOldManagerKeyDeleted( |
| 255 const UserContext& master_key_context) { | 257 const UserContext& master_key_context) { |
| 256 VLOG(1) << "Removed old master key for " << master_key_context.GetUserID(); | 258 VLOG(1) << "Removed old master key for " << master_key_context.GetUserID(); |
| 257 } | 259 } |
| 258 | 260 |
| 259 void ManagerPasswordService::Shutdown() { | 261 void ManagerPasswordService::Shutdown() { |
| 260 settings_service_subscription_.reset(); | 262 settings_service_subscription_.reset(); |
| 261 } | 263 } |
| 262 | 264 |
| 263 } // namespace chromeos | 265 } // namespace chromeos |
| OLD | NEW |