OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_service_regular.h" | 5 #include "chrome/browser/signin/easy_unlock_service_regular.h" |
6 | 6 |
7 #include <stdint.h> | 7 #include <stdint.h> |
8 | 8 |
9 #include <utility> | 9 #include <utility> |
10 | 10 |
11 #include "base/base64url.h" | 11 #include "base/base64url.h" |
12 #include "base/bind.h" | 12 #include "base/bind.h" |
13 #include "base/command_line.h" | 13 #include "base/command_line.h" |
14 #include "base/logging.h" | 14 #include "base/logging.h" |
15 #include "base/memory/ptr_util.h" | 15 #include "base/memory/ptr_util.h" |
16 #include "base/sys_info.h" | 16 #include "base/sys_info.h" |
17 #include "base/time/default_clock.h" | 17 #include "base/time/default_clock.h" |
18 #include "base/values.h" | 18 #include "base/values.h" |
19 #include "build/build_config.h" | 19 #include "build/build_config.h" |
20 #include "chrome/browser/browser_process.h" | 20 #include "chrome/browser/browser_process.h" |
| 21 #include "chrome/browser/gcm/gcm_profile_service_factory.h" |
21 #include "chrome/browser/profiles/profile.h" | 22 #include "chrome/browser/profiles/profile.h" |
22 #include "chrome/browser/services/gcm/gcm_profile_service_factory.h" | |
23 #include "chrome/browser/signin/chrome_proximity_auth_client.h" | 23 #include "chrome/browser/signin/chrome_proximity_auth_client.h" |
24 #include "chrome/browser/signin/profile_oauth2_token_service_factory.h" | 24 #include "chrome/browser/signin/profile_oauth2_token_service_factory.h" |
25 #include "chrome/browser/signin/signin_manager_factory.h" | 25 #include "chrome/browser/signin/signin_manager_factory.h" |
26 #include "chrome/common/extensions/api/easy_unlock_private.h" | 26 #include "chrome/common/extensions/api/easy_unlock_private.h" |
27 #include "chrome/common/extensions/extension_constants.h" | 27 #include "chrome/common/extensions/extension_constants.h" |
28 #include "chrome/common/pref_names.h" | 28 #include "chrome/common/pref_names.h" |
29 #include "components/cryptauth/cryptauth_access_token_fetcher.h" | 29 #include "components/cryptauth/cryptauth_access_token_fetcher.h" |
30 #include "components/cryptauth/cryptauth_client_impl.h" | 30 #include "components/cryptauth/cryptauth_client_impl.h" |
31 #include "components/cryptauth/cryptauth_enrollment_manager.h" | 31 #include "components/cryptauth/cryptauth_enrollment_manager.h" |
32 #include "components/cryptauth/cryptauth_enrollment_utils.h" | 32 #include "components/cryptauth/cryptauth_enrollment_utils.h" |
(...skipping 647 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
680 PA_LOG(INFO) << "Refresh token not yet available, " | 680 PA_LOG(INFO) << "Refresh token not yet available, " |
681 << "waiting before starting CryptAuth managers"; | 681 << "waiting before starting CryptAuth managers"; |
682 token_service->AddObserver(this); | 682 token_service->AddObserver(this); |
683 } | 683 } |
684 | 684 |
685 device_manager_->AddObserver(this); | 685 device_manager_->AddObserver(this); |
686 enrollment_manager_->Start(); | 686 enrollment_manager_->Start(); |
687 device_manager_->Start(); | 687 device_manager_->Start(); |
688 } | 688 } |
689 #endif | 689 #endif |
OLD | NEW |