| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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/chrome_notification_types.h" | 5 #include "chrome/browser/chrome_notification_types.h" |
| 6 #include "chrome/browser/chromeos/login/auth/user_context.h" |
| 6 #include "chrome/browser/chromeos/login/lock/screen_locker.h" | 7 #include "chrome/browser/chromeos/login/lock/screen_locker.h" |
| 7 #include "chrome/browser/chromeos/login/users/user.h" | 8 #include "chrome/browser/chromeos/login/users/user.h" |
| 8 #include "chrome/browser/extensions/extension_apitest.h" | 9 #include "chrome/browser/extensions/extension_apitest.h" |
| 9 #include "chrome/browser/signin/signin_manager_factory.h" | 10 #include "chrome/browser/signin/signin_manager_factory.h" |
| 10 #include "components/signin/core/browser/signin_manager.h" | 11 #include "components/signin/core/browser/signin_manager.h" |
| 11 #include "content/public/browser/notification_service.h" | 12 #include "content/public/browser/notification_service.h" |
| 12 #include "extensions/browser/api/test/test_api.h" | 13 #include "extensions/browser/api/test/test_api.h" |
| 13 | 14 |
| 14 namespace extensions { | 15 namespace extensions { |
| 15 | 16 |
| (...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 68 | 69 |
| 69 IN_PROC_BROWSER_TEST_F(ScreenlockPrivateApiTest, LockUnlock) { | 70 IN_PROC_BROWSER_TEST_F(ScreenlockPrivateApiTest, LockUnlock) { |
| 70 ASSERT_TRUE(RunExtensionTest("screenlock_private/lock_unlock")) << message_; | 71 ASSERT_TRUE(RunExtensionTest("screenlock_private/lock_unlock")) << message_; |
| 71 } | 72 } |
| 72 | 73 |
| 73 IN_PROC_BROWSER_TEST_F(ScreenlockPrivateApiTest, AuthType) { | 74 IN_PROC_BROWSER_TEST_F(ScreenlockPrivateApiTest, AuthType) { |
| 74 ASSERT_TRUE(RunExtensionTest("screenlock_private/auth_type")) << message_; | 75 ASSERT_TRUE(RunExtensionTest("screenlock_private/auth_type")) << message_; |
| 75 } | 76 } |
| 76 | 77 |
| 77 } // namespace extensions | 78 } // namespace extensions |
| OLD | NEW |