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 "base/location.h" |
| 9 #include "base/macros.h" |
| 10 #include "build/build_config.h" |
9 #include "chrome/browser/extensions/api/screenlock_private/screenlock_private_ap
i.h" | 11 #include "chrome/browser/extensions/api/screenlock_private/screenlock_private_ap
i.h" |
10 #include "chrome/browser/extensions/component_loader.h" | 12 #include "chrome/browser/extensions/component_loader.h" |
11 #include "chrome/browser/extensions/extension_service.h" | 13 #include "chrome/browser/extensions/extension_service.h" |
12 #include "chrome/browser/profiles/profile.h" | 14 #include "chrome/browser/profiles/profile.h" |
13 #include "chrome/browser/ui/extensions/application_launch.h" | 15 #include "chrome/browser/ui/extensions/application_launch.h" |
14 #include "chrome/common/extensions/api/easy_unlock_private.h" | 16 #include "chrome/common/extensions/api/easy_unlock_private.h" |
15 #include "chrome/common/extensions/extension_constants.h" | 17 #include "chrome/common/extensions/extension_constants.h" |
16 #include "components/proximity_auth/switches.h" | 18 #include "components/proximity_auth/switches.h" |
17 #include "extensions/browser/event_router.h" | 19 #include "extensions/browser/event_router.h" |
18 #include "extensions/browser/extension_system.h" | 20 #include "extensions/browser/extension_system.h" |
(...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
190 } | 192 } |
191 | 193 |
192 // static | 194 // static |
193 scoped_ptr<EasyUnlockAppManager> EasyUnlockAppManager::Create( | 195 scoped_ptr<EasyUnlockAppManager> EasyUnlockAppManager::Create( |
194 extensions::ExtensionSystem* extension_system, | 196 extensions::ExtensionSystem* extension_system, |
195 int manifest_id, | 197 int manifest_id, |
196 const base::FilePath& app_path) { | 198 const base::FilePath& app_path) { |
197 return scoped_ptr<EasyUnlockAppManager>( | 199 return scoped_ptr<EasyUnlockAppManager>( |
198 new EasyUnlockAppManagerImpl(extension_system, manifest_id, app_path)); | 200 new EasyUnlockAppManagerImpl(extension_system, manifest_id, app_path)); |
199 } | 201 } |
OLD | NEW |