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

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

Issue 2452983002: ChromeOS: This CL moves chromeos/login/user_names* to user_mananger. (Closed)
Patch Set: Removed unused #includes Created 4 years, 1 month 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 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/profiles/profile.h" 21 #include "chrome/browser/profiles/profile.h"
22 #include "chrome/browser/services/gcm/gcm_profile_service_factory.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 "chromeos/login/user_names.h"
30 #include "components/gcm_driver/gcm_profile_service.h" 29 #include "components/gcm_driver/gcm_profile_service.h"
31 #include "components/pref_registry/pref_registry_syncable.h" 30 #include "components/pref_registry/pref_registry_syncable.h"
32 #include "components/prefs/pref_service.h" 31 #include "components/prefs/pref_service.h"
33 #include "components/prefs/scoped_user_pref_update.h" 32 #include "components/prefs/scoped_user_pref_update.h"
34 #include "components/proximity_auth/cryptauth/cryptauth_access_token_fetcher.h" 33 #include "components/proximity_auth/cryptauth/cryptauth_access_token_fetcher.h"
35 #include "components/proximity_auth/cryptauth/cryptauth_client_impl.h" 34 #include "components/proximity_auth/cryptauth/cryptauth_client_impl.h"
36 #include "components/proximity_auth/cryptauth/cryptauth_enrollment_manager.h" 35 #include "components/proximity_auth/cryptauth/cryptauth_enrollment_manager.h"
37 #include "components/proximity_auth/cryptauth/cryptauth_enrollment_utils.h" 36 #include "components/proximity_auth/cryptauth/cryptauth_enrollment_utils.h"
38 #include "components/proximity_auth/cryptauth/cryptauth_gcm_manager_impl.h" 37 #include "components/proximity_auth/cryptauth/cryptauth_gcm_manager_impl.h"
39 #include "components/proximity_auth/cryptauth/secure_message_delegate.h" 38 #include "components/proximity_auth/cryptauth/secure_message_delegate.h"
(...skipping 641 matching lines...) Expand 10 before | Expand all | Expand 10 after
681 PA_LOG(INFO) << "Refresh token not yet available, " 680 PA_LOG(INFO) << "Refresh token not yet available, "
682 << "waiting before starting CryptAuth managers"; 681 << "waiting before starting CryptAuth managers";
683 token_service->AddObserver(this); 682 token_service->AddObserver(this);
684 } 683 }
685 684
686 device_manager_->AddObserver(this); 685 device_manager_->AddObserver(this);
687 enrollment_manager_->Start(); 686 enrollment_manager_->Start();
688 device_manager_->Start(); 687 device_manager_->Start();
689 } 688 }
690 #endif 689 #endif
OLDNEW
« no previous file with comments | « chrome/browser/profiles/profile_manager_unittest.cc ('k') | chrome/browser/ui/app_list/app_list_controller_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698