Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(53)

Side by Side Diff: chrome/browser/signin/easy_unlock_service_regular.cc

Issue 1658793002: Update chrome for new prefs location. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 #include <utility> 8 #include <utility>
9 9
10 #include "base/base64url.h" 10 #include "base/base64url.h"
11 #include "base/bind.h" 11 #include "base/bind.h"
12 #include "base/command_line.h" 12 #include "base/command_line.h"
13 #include "base/logging.h" 13 #include "base/logging.h"
14 #include "base/prefs/pref_service.h"
15 #include "base/prefs/scoped_user_pref_update.h"
16 #include "base/sys_info.h" 14 #include "base/sys_info.h"
17 #include "base/time/default_clock.h" 15 #include "base/time/default_clock.h"
18 #include "base/values.h" 16 #include "base/values.h"
19 #include "build/build_config.h" 17 #include "build/build_config.h"
20 #include "chrome/browser/browser_process.h" 18 #include "chrome/browser/browser_process.h"
21 #include "chrome/browser/profiles/profile.h" 19 #include "chrome/browser/profiles/profile.h"
22 #include "chrome/browser/services/gcm/gcm_profile_service_factory.h" 20 #include "chrome/browser/services/gcm/gcm_profile_service_factory.h"
23 #include "chrome/browser/signin/chrome_proximity_auth_client.h" 21 #include "chrome/browser/signin/chrome_proximity_auth_client.h"
24 #include "chrome/browser/signin/profile_oauth2_token_service_factory.h" 22 #include "chrome/browser/signin/profile_oauth2_token_service_factory.h"
25 #include "chrome/browser/signin/signin_manager_factory.h" 23 #include "chrome/browser/signin/signin_manager_factory.h"
26 #include "chrome/common/extensions/api/easy_unlock_private.h" 24 #include "chrome/common/extensions/api/easy_unlock_private.h"
27 #include "chrome/common/extensions/extension_constants.h" 25 #include "chrome/common/extensions/extension_constants.h"
28 #include "chrome/common/pref_names.h" 26 #include "chrome/common/pref_names.h"
29 #include "chromeos/login/user_names.h" 27 #include "chromeos/login/user_names.h"
30 #include "components/gcm_driver/gcm_profile_service.h" 28 #include "components/gcm_driver/gcm_profile_service.h"
31 #include "components/pref_registry/pref_registry_syncable.h" 29 #include "components/pref_registry/pref_registry_syncable.h"
30 #include "components/prefs/pref_service.h"
31 #include "components/prefs/scoped_user_pref_update.h"
32 #include "components/proximity_auth/cryptauth/cryptauth_access_token_fetcher.h" 32 #include "components/proximity_auth/cryptauth/cryptauth_access_token_fetcher.h"
33 #include "components/proximity_auth/cryptauth/cryptauth_client_impl.h" 33 #include "components/proximity_auth/cryptauth/cryptauth_client_impl.h"
34 #include "components/proximity_auth/cryptauth/cryptauth_enrollment_manager.h" 34 #include "components/proximity_auth/cryptauth/cryptauth_enrollment_manager.h"
35 #include "components/proximity_auth/cryptauth/cryptauth_enrollment_utils.h" 35 #include "components/proximity_auth/cryptauth/cryptauth_enrollment_utils.h"
36 #include "components/proximity_auth/cryptauth/cryptauth_gcm_manager_impl.h" 36 #include "components/proximity_auth/cryptauth/cryptauth_gcm_manager_impl.h"
37 #include "components/proximity_auth/cryptauth/secure_message_delegate.h" 37 #include "components/proximity_auth/cryptauth/secure_message_delegate.h"
38 #include "components/proximity_auth/cryptauth_enroller_factory_impl.h" 38 #include "components/proximity_auth/cryptauth_enroller_factory_impl.h"
39 #include "components/proximity_auth/logging/logging.h" 39 #include "components/proximity_auth/logging/logging.h"
40 #include "components/proximity_auth/proximity_auth_pref_manager.h" 40 #include "components/proximity_auth/proximity_auth_pref_manager.h"
41 #include "components/proximity_auth/proximity_auth_system.h" 41 #include "components/proximity_auth/proximity_auth_system.h"
(...skipping 635 matching lines...) Expand 10 before | Expand all | Expand 10 after
677 PA_LOG(INFO) << "Refresh token not yet available, " 677 PA_LOG(INFO) << "Refresh token not yet available, "
678 << "waiting before starting CryptAuth managers"; 678 << "waiting before starting CryptAuth managers";
679 token_service->AddObserver(this); 679 token_service->AddObserver(this);
680 } 680 }
681 681
682 device_manager_->AddObserver(this); 682 device_manager_->AddObserver(this);
683 enrollment_manager_->Start(); 683 enrollment_manager_->Start();
684 device_manager_->Start(); 684 device_manager_->Start();
685 } 685 }
686 #endif 686 #endif
OLDNEW
« no previous file with comments | « chrome/browser/signin/easy_unlock_service_regular.h ('k') | chrome/browser/signin/investigator_dependency_provider.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698