OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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/ui/webui/settings/people_handler.h" | 5 #include "chrome/browser/ui/webui/settings/people_handler.h" |
6 | 6 |
7 #include <string> | 7 #include <string> |
8 | 8 |
9 #include "base/bind.h" | 9 #include "base/bind.h" |
10 #include "base/bind_helpers.h" | 10 #include "base/bind_helpers.h" |
(...skipping 17 matching lines...) Expand all Loading... |
28 #include "chrome/browser/sync/sync_ui_util.h" | 28 #include "chrome/browser/sync/sync_ui_util.h" |
29 #include "chrome/browser/ui/browser_finder.h" | 29 #include "chrome/browser/ui/browser_finder.h" |
30 #include "chrome/browser/ui/browser_window.h" | 30 #include "chrome/browser/ui/browser_window.h" |
31 #include "chrome/browser/ui/singleton_tabs.h" | 31 #include "chrome/browser/ui/singleton_tabs.h" |
32 #include "chrome/browser/ui/user_manager.h" | 32 #include "chrome/browser/ui/user_manager.h" |
33 #include "chrome/browser/ui/webui/profile_helper.h" | 33 #include "chrome/browser/ui/webui/profile_helper.h" |
34 #include "chrome/browser/ui/webui/signin/login_ui_service.h" | 34 #include "chrome/browser/ui/webui/signin/login_ui_service.h" |
35 #include "chrome/browser/ui/webui/signin/login_ui_service_factory.h" | 35 #include "chrome/browser/ui/webui/signin/login_ui_service_factory.h" |
36 #include "chrome/common/chrome_switches.h" | 36 #include "chrome/common/chrome_switches.h" |
37 #include "chrome/grit/generated_resources.h" | 37 #include "chrome/grit/generated_resources.h" |
38 #include "chrome/grit/settings_strings.h" | |
39 #include "components/autofill/core/common/autofill_constants.h" | 38 #include "components/autofill/core/common/autofill_constants.h" |
40 #include "components/autofill/core/common/autofill_pref_names.h" | 39 #include "components/autofill/core/common/autofill_pref_names.h" |
41 #include "components/browser_sync/browser/profile_sync_service.h" | 40 #include "components/browser_sync/browser/profile_sync_service.h" |
42 #include "components/prefs/pref_service.h" | 41 #include "components/prefs/pref_service.h" |
43 #include "components/signin/core/browser/signin_error_controller.h" | 42 #include "components/signin/core/browser/signin_error_controller.h" |
44 #include "components/signin/core/browser/signin_header_helper.h" | 43 #include "components/signin/core/browser/signin_header_helper.h" |
45 #include "components/signin/core/browser/signin_metrics.h" | 44 #include "components/signin/core/browser/signin_metrics.h" |
46 #include "components/signin/core/common/profile_management_switches.h" | 45 #include "components/signin/core/common/profile_management_switches.h" |
47 #include "components/signin/core/common/signin_pref_names.h" | 46 #include "components/signin/core/common/signin_pref_names.h" |
48 #include "components/sync_driver/sync_prefs.h" | 47 #include "components/sync_driver/sync_prefs.h" |
(...skipping 845 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
894 base::FilePath profile_file_path = profile_->GetPath(); | 893 base::FilePath profile_file_path = profile_->GetPath(); |
895 ProfileMetrics::LogProfileSyncSignIn(profile_file_path); | 894 ProfileMetrics::LogProfileSyncSignIn(profile_file_path); |
896 | 895 |
897 // We're done configuring, so notify ProfileSyncService that it is OK to | 896 // We're done configuring, so notify ProfileSyncService that it is OK to |
898 // start syncing. | 897 // start syncing. |
899 sync_blocker_.reset(); | 898 sync_blocker_.reset(); |
900 service->SetFirstSetupComplete(); | 899 service->SetFirstSetupComplete(); |
901 } | 900 } |
902 | 901 |
903 } // namespace settings | 902 } // namespace settings |
OLD | NEW |