OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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/profiles/profile_manager.h" | 5 #include "chrome/browser/profiles/profile_manager.h" |
6 | 6 |
7 #include <stdint.h> | 7 #include <stdint.h> |
8 | 8 |
9 #include <set> | 9 #include <set> |
10 #include <string> | 10 #include <string> |
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
73 #include "components/password_manager/sync/browser/password_manager_setting_migr
ator_service.h" | 73 #include "components/password_manager/sync/browser/password_manager_setting_migr
ator_service.h" |
74 #include "components/prefs/pref_service.h" | 74 #include "components/prefs/pref_service.h" |
75 #include "components/prefs/scoped_user_pref_update.h" | 75 #include "components/prefs/scoped_user_pref_update.h" |
76 #include "components/search_engines/default_search_manager.h" | 76 #include "components/search_engines/default_search_manager.h" |
77 #include "components/signin/core/browser/account_fetcher_service.h" | 77 #include "components/signin/core/browser/account_fetcher_service.h" |
78 #include "components/signin/core/browser/account_tracker_service.h" | 78 #include "components/signin/core/browser/account_tracker_service.h" |
79 #include "components/signin/core/browser/gaia_cookie_manager_service.h" | 79 #include "components/signin/core/browser/gaia_cookie_manager_service.h" |
80 #include "components/signin/core/browser/signin_manager.h" | 80 #include "components/signin/core/browser/signin_manager.h" |
81 #include "components/signin/core/common/profile_management_switches.h" | 81 #include "components/signin/core/common/profile_management_switches.h" |
82 #include "components/signin/core/common/signin_pref_names.h" | 82 #include "components/signin/core/common/signin_pref_names.h" |
| 83 #include "components/sync/base/stop_source.h" |
83 #include "content/public/browser/browser_thread.h" | 84 #include "content/public/browser/browser_thread.h" |
84 #include "content/public/browser/notification_service.h" | 85 #include "content/public/browser/notification_service.h" |
85 #include "content/public/browser/user_metrics.h" | 86 #include "content/public/browser/user_metrics.h" |
86 #include "content/public/common/content_switches.h" | 87 #include "content/public/common/content_switches.h" |
87 #include "net/http/http_transaction_factory.h" | 88 #include "net/http/http_transaction_factory.h" |
88 #include "net/url_request/url_request_context.h" | 89 #include "net/url_request/url_request_context.h" |
89 #include "net/url_request/url_request_context_getter.h" | 90 #include "net/url_request/url_request_context_getter.h" |
90 #include "net/url_request/url_request_job.h" | 91 #include "net/url_request/url_request_job.h" |
91 #include "sync/internal_api/public/base/stop_source.h" | |
92 #include "ui/base/l10n/l10n_util.h" | 92 #include "ui/base/l10n/l10n_util.h" |
93 | 93 |
94 #if defined(ENABLE_EXTENSIONS) | 94 #if defined(ENABLE_EXTENSIONS) |
95 #include "chrome/browser/extensions/extension_service.h" | 95 #include "chrome/browser/extensions/extension_service.h" |
96 #include "extensions/browser/extension_registry.h" | 96 #include "extensions/browser/extension_registry.h" |
97 #include "extensions/browser/extension_system.h" | 97 #include "extensions/browser/extension_system.h" |
98 #include "extensions/common/extension_set.h" | 98 #include "extensions/common/extension_set.h" |
99 #include "extensions/common/manifest.h" | 99 #include "extensions/common/manifest.h" |
100 #endif | 100 #endif |
101 | 101 |
(...skipping 1529 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1631 | 1631 |
1632 FinishDeletingProfile(profile_to_delete_path, new_active_profile_path); | 1632 FinishDeletingProfile(profile_to_delete_path, new_active_profile_path); |
1633 if (!original_callback.is_null()) | 1633 if (!original_callback.is_null()) |
1634 original_callback.Run(loaded_profile, status); | 1634 original_callback.Run(loaded_profile, status); |
1635 } | 1635 } |
1636 #endif // !defined(OS_ANDROID) | 1636 #endif // !defined(OS_ANDROID) |
1637 | 1637 |
1638 ProfileManagerWithoutInit::ProfileManagerWithoutInit( | 1638 ProfileManagerWithoutInit::ProfileManagerWithoutInit( |
1639 const base::FilePath& user_data_dir) : ProfileManager(user_data_dir) { | 1639 const base::FilePath& user_data_dir) : ProfileManager(user_data_dir) { |
1640 } | 1640 } |
OLD | NEW |