OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 <memory> | 5 #include <memory> |
6 #include <utility> | 6 #include <utility> |
7 | 7 |
8 #include "base/files/file_path.h" | 8 #include "base/files/file_path.h" |
9 #include "base/run_loop.h" | 9 #include "base/run_loop.h" |
10 #include "base/thread_task_runner_handle.h" | 10 #include "base/threading/thread_task_runner_handle.h" |
11 #include "base/time/time.h" | 11 #include "base/time/time.h" |
12 #include "build/build_config.h" | 12 #include "build/build_config.h" |
13 #include "chrome/browser/browser_process.h" | 13 #include "chrome/browser/browser_process.h" |
14 #include "chrome/browser/chrome_notification_types.h" | 14 #include "chrome/browser/chrome_notification_types.h" |
15 #include "chrome/browser/policy/cloud/user_cloud_policy_manager_factory.h" | 15 #include "chrome/browser/policy/cloud/user_cloud_policy_manager_factory.h" |
16 #include "chrome/browser/policy/cloud/user_policy_signin_service_factory.h" | 16 #include "chrome/browser/policy/cloud/user_policy_signin_service_factory.h" |
17 #include "chrome/browser/prefs/browser_prefs.h" | 17 #include "chrome/browser/prefs/browser_prefs.h" |
18 #include "chrome/browser/profiles/profile.h" | 18 #include "chrome/browser/profiles/profile.h" |
19 #include "chrome/browser/signin/account_fetcher_service_factory.h" | 19 #include "chrome/browser/signin/account_fetcher_service_factory.h" |
20 #include "chrome/browser/signin/chrome_signin_client_factory.h" | 20 #include "chrome/browser/signin/chrome_signin_client_factory.h" |
(...skipping 799 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
820 base::RunLoop().RunUntilIdle(); | 820 base::RunLoop().RunUntilIdle(); |
821 EXPECT_FALSE(manager_->IsClientRegistered()); | 821 EXPECT_FALSE(manager_->IsClientRegistered()); |
822 #if !defined(OS_ANDROID) | 822 #if !defined(OS_ANDROID) |
823 EXPECT_FALSE(signin_manager_->IsSignoutProhibited()); | 823 EXPECT_FALSE(signin_manager_->IsSignoutProhibited()); |
824 #endif | 824 #endif |
825 } | 825 } |
826 | 826 |
827 } // namespace | 827 } // namespace |
828 | 828 |
829 } // namespace policy | 829 } // namespace policy |
OLD | NEW |