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 <map> | 9 #include <map> |
10 #include <set> | 10 #include <set> |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
59 #include "chrome/common/chrome_constants.h" | 59 #include "chrome/common/chrome_constants.h" |
60 #include "chrome/common/chrome_paths_internal.h" | 60 #include "chrome/common/chrome_paths_internal.h" |
61 #include "chrome/common/chrome_switches.h" | 61 #include "chrome/common/chrome_switches.h" |
62 #include "chrome/common/logging_chrome.h" | 62 #include "chrome/common/logging_chrome.h" |
63 #include "chrome/common/pref_names.h" | 63 #include "chrome/common/pref_names.h" |
64 #include "chrome/common/url_constants.h" | 64 #include "chrome/common/url_constants.h" |
65 #include "chrome/grit/generated_resources.h" | 65 #include "chrome/grit/generated_resources.h" |
66 #include "components/bookmarks/browser/bookmark_model.h" | 66 #include "components/bookmarks/browser/bookmark_model.h" |
67 #include "components/bookmarks/browser/startup_task_runner_service.h" | 67 #include "components/bookmarks/browser/startup_task_runner_service.h" |
68 #include "components/bookmarks/common/bookmark_pref_names.h" | 68 #include "components/bookmarks/common/bookmark_pref_names.h" |
69 #include "components/browser_sync/browser/profile_sync_service.h" | 69 #include "components/browser_sync/profile_sync_service.h" |
70 #include "components/content_settings/core/browser/host_content_settings_map.h" | 70 #include "components/content_settings/core/browser/host_content_settings_map.h" |
71 #include "components/invalidation/impl/profile_invalidation_provider.h" | 71 #include "components/invalidation/impl/profile_invalidation_provider.h" |
72 #include "components/invalidation/public/invalidation_service.h" | 72 #include "components/invalidation/public/invalidation_service.h" |
73 #include "components/password_manager/core/browser/password_store.h" | 73 #include "components/password_manager/core/browser/password_store.h" |
74 #include "components/password_manager/sync/browser/password_manager_setting_migr
ator_service.h" | 74 #include "components/password_manager/sync/browser/password_manager_setting_migr
ator_service.h" |
75 #include "components/prefs/pref_service.h" | 75 #include "components/prefs/pref_service.h" |
76 #include "components/prefs/scoped_user_pref_update.h" | 76 #include "components/prefs/scoped_user_pref_update.h" |
77 #include "components/search_engines/default_search_manager.h" | 77 #include "components/search_engines/default_search_manager.h" |
78 #include "components/signin/core/browser/account_fetcher_service.h" | 78 #include "components/signin/core/browser/account_fetcher_service.h" |
79 #include "components/signin/core/browser/account_tracker_service.h" | 79 #include "components/signin/core/browser/account_tracker_service.h" |
(...skipping 1569 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1649 | 1649 |
1650 FinishDeletingProfile(profile_to_delete_path, new_active_profile_path); | 1650 FinishDeletingProfile(profile_to_delete_path, new_active_profile_path); |
1651 if (!original_callback.is_null()) | 1651 if (!original_callback.is_null()) |
1652 original_callback.Run(loaded_profile, status); | 1652 original_callback.Run(loaded_profile, status); |
1653 } | 1653 } |
1654 #endif // !defined(OS_ANDROID) | 1654 #endif // !defined(OS_ANDROID) |
1655 | 1655 |
1656 ProfileManagerWithoutInit::ProfileManagerWithoutInit( | 1656 ProfileManagerWithoutInit::ProfileManagerWithoutInit( |
1657 const base::FilePath& user_data_dir) : ProfileManager(user_data_dir) { | 1657 const base::FilePath& user_data_dir) : ProfileManager(user_data_dir) { |
1658 } | 1658 } |
OLD | NEW |