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/policy/cloud/user_policy_signin_service_base.h" | 5 #include "chrome/browser/policy/cloud/user_policy_signin_service_base.h" |
6 | 6 |
7 #include <utility> | 7 #include <utility> |
8 | 8 |
9 #include "base/bind.h" | 9 #include "base/bind.h" |
10 #include "base/location.h" | 10 #include "base/location.h" |
11 #include "base/single_thread_task_runner.h" | 11 #include "base/single_thread_task_runner.h" |
12 #include "base/thread_task_runner_handle.h" | 12 #include "base/threading/thread_task_runner_handle.h" |
13 #include "build/build_config.h" | 13 #include "build/build_config.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/profiles/profile.h" | 16 #include "chrome/browser/profiles/profile.h" |
17 #include "chrome/browser/signin/signin_manager_factory.h" | 17 #include "chrome/browser/signin/signin_manager_factory.h" |
18 #include "chrome/common/chrome_content_client.h" | 18 #include "chrome/common/chrome_content_client.h" |
19 #include "components/policy/core/browser/browser_policy_connector.h" | 19 #include "components/policy/core/browser/browser_policy_connector.h" |
20 #include "components/policy/core/common/cloud/device_management_service.h" | 20 #include "components/policy/core/common/cloud/device_management_service.h" |
21 #include "components/policy/core/common/cloud/system_policy_request_context.h" | 21 #include "components/policy/core/common/cloud/system_policy_request_context.h" |
22 #include "components/policy/core/common/cloud/user_cloud_policy_manager.h" | 22 #include "components/policy/core/common/cloud/user_cloud_policy_manager.h" |
(...skipping 231 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
254 manager->DisconnectAndRemovePolicy(); | 254 manager->DisconnectAndRemovePolicy(); |
255 } | 255 } |
256 | 256 |
257 scoped_refptr<net::URLRequestContextGetter> | 257 scoped_refptr<net::URLRequestContextGetter> |
258 UserPolicySigninServiceBase::CreateSystemRequestContext() { | 258 UserPolicySigninServiceBase::CreateSystemRequestContext() { |
259 return new SystemPolicyRequestContext( | 259 return new SystemPolicyRequestContext( |
260 system_request_context(), GetUserAgent()); | 260 system_request_context(), GetUserAgent()); |
261 } | 261 } |
262 | 262 |
263 } // namespace policy | 263 } // namespace policy |
OLD | NEW |