| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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/signin/easy_unlock_app_manager.h" | 5 #include "chrome/browser/signin/easy_unlock_app_manager.h" |
| 6 | 6 |
| 7 #include "base/command_line.h" | 7 #include "base/command_line.h" |
| 8 #include "base/location.h" |
| 8 #include "chrome/browser/extensions/component_loader.h" | 9 #include "chrome/browser/extensions/component_loader.h" |
| 9 #include "chrome/browser/extensions/extension_service.h" | 10 #include "chrome/browser/extensions/extension_service.h" |
| 10 #include "chrome/browser/ui/extensions/application_launch.h" | 11 #include "chrome/browser/ui/extensions/application_launch.h" |
| 11 #include "chrome/common/extensions/api/easy_unlock_private.h" | 12 #include "chrome/common/extensions/api/easy_unlock_private.h" |
| 12 #include "chrome/common/extensions/api/screenlock_private.h" | 13 #include "chrome/common/extensions/api/screenlock_private.h" |
| 13 #include "chrome/common/extensions/extension_constants.h" | 14 #include "chrome/common/extensions/extension_constants.h" |
| 14 #include "components/proximity_auth/switches.h" | 15 #include "components/proximity_auth/switches.h" |
| 15 #include "extensions/browser/event_router.h" | 16 #include "extensions/browser/event_router.h" |
| 16 #include "extensions/browser/extension_system.h" | 17 #include "extensions/browser/extension_system.h" |
| 17 #include "extensions/common/one_shot_event.h" | 18 #include "extensions/common/one_shot_event.h" |
| (...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 192 } | 193 } |
| 193 | 194 |
| 194 // static | 195 // static |
| 195 scoped_ptr<EasyUnlockAppManager> EasyUnlockAppManager::Create( | 196 scoped_ptr<EasyUnlockAppManager> EasyUnlockAppManager::Create( |
| 196 extensions::ExtensionSystem* extension_system, | 197 extensions::ExtensionSystem* extension_system, |
| 197 int manifest_id, | 198 int manifest_id, |
| 198 const base::FilePath& app_path) { | 199 const base::FilePath& app_path) { |
| 199 return scoped_ptr<EasyUnlockAppManager>( | 200 return scoped_ptr<EasyUnlockAppManager>( |
| 200 new EasyUnlockAppManagerImpl(extension_system, manifest_id, app_path)); | 201 new EasyUnlockAppManagerImpl(extension_system, manifest_id, app_path)); |
| 201 } | 202 } |
| OLD | NEW |