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