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/chromeos/login/user_manager_impl.h" | 5 #include "chrome/browser/chromeos/login/user_manager_impl.h" |
6 | 6 |
7 #include <vector> | 7 #include <vector> |
8 | 8 |
9 #include "ash/shell.h" | 9 #include "ash/shell.h" |
10 #include "ash/desktop_background/desktop_background_controller.h" | 10 #include "ash/desktop_background/desktop_background_controller.h" |
(...skipping 13 matching lines...) Expand all Loading... |
24 #include "base/string_util.h" | 24 #include "base/string_util.h" |
25 #include "base/stringprintf.h" | 25 #include "base/stringprintf.h" |
26 #include "base/time.h" | 26 #include "base/time.h" |
27 #include "base/utf_string_conversions.h" | 27 #include "base/utf_string_conversions.h" |
28 #include "base/values.h" | 28 #include "base/values.h" |
29 #include "chrome/browser/browser_process.h" | 29 #include "chrome/browser/browser_process.h" |
30 #include "chrome/browser/chromeos/cros/cert_library.h" | 30 #include "chrome/browser/chromeos/cros/cert_library.h" |
31 #include "chrome/browser/chromeos/cros/cros_library.h" | 31 #include "chrome/browser/chromeos/cros/cros_library.h" |
32 #include "chrome/browser/chromeos/cros_settings.h" | 32 #include "chrome/browser/chromeos/cros_settings.h" |
33 #include "chrome/browser/chromeos/cryptohome/async_method_caller.h" | 33 #include "chrome/browser/chromeos/cryptohome/async_method_caller.h" |
34 #include "chrome/browser/chromeos/dbus/cryptohome_client.h" | |
35 #include "chrome/browser/chromeos/dbus/dbus_thread_manager.h" | |
36 #include "chrome/browser/chromeos/input_method/input_method_manager.h" | 34 #include "chrome/browser/chromeos/input_method/input_method_manager.h" |
37 #include "chrome/browser/chromeos/login/default_user_images.h" | 35 #include "chrome/browser/chromeos/login/default_user_images.h" |
38 #include "chrome/browser/chromeos/login/helper.h" | 36 #include "chrome/browser/chromeos/login/helper.h" |
39 #include "chrome/browser/chromeos/login/login_display.h" | 37 #include "chrome/browser/chromeos/login/login_display.h" |
40 #include "chrome/browser/chromeos/login/ownership_service.h" | 38 #include "chrome/browser/chromeos/login/ownership_service.h" |
41 #include "chrome/browser/chromeos/login/remove_user_delegate.h" | 39 #include "chrome/browser/chromeos/login/remove_user_delegate.h" |
42 #include "chrome/browser/policy/browser_policy_connector.h" | 40 #include "chrome/browser/policy/browser_policy_connector.h" |
43 #include "chrome/browser/prefs/pref_service.h" | 41 #include "chrome/browser/prefs/pref_service.h" |
44 #include "chrome/browser/prefs/scoped_user_pref_update.h" | 42 #include "chrome/browser/prefs/scoped_user_pref_update.h" |
45 #include "chrome/browser/profiles/profile_downloader.h" | 43 #include "chrome/browser/profiles/profile_downloader.h" |
46 #include "chrome/browser/profiles/profile_manager.h" | 44 #include "chrome/browser/profiles/profile_manager.h" |
47 #include "chrome/browser/sync/profile_sync_service.h" | 45 #include "chrome/browser/sync/profile_sync_service.h" |
48 #include "chrome/browser/sync/profile_sync_service_factory.h" | 46 #include "chrome/browser/sync/profile_sync_service_factory.h" |
49 #include "chrome/browser/ui/webui/web_ui_util.h" | 47 #include "chrome/browser/ui/webui/web_ui_util.h" |
50 #include "chrome/common/chrome_notification_types.h" | 48 #include "chrome/common/chrome_notification_types.h" |
51 #include "chrome/common/chrome_paths.h" | 49 #include "chrome/common/chrome_paths.h" |
52 #include "chrome/common/chrome_switches.h" | 50 #include "chrome/common/chrome_switches.h" |
53 #include "chrome/common/net/gaia/google_service_auth_error.h" | 51 #include "chrome/common/net/gaia/google_service_auth_error.h" |
| 52 #include "chromeos/dbus/cryptohome_client.h" |
| 53 #include "chromeos/dbus/dbus_thread_manager.h" |
54 #include "content/public/browser/browser_thread.h" | 54 #include "content/public/browser/browser_thread.h" |
55 #include "content/public/browser/notification_service.h" | 55 #include "content/public/browser/notification_service.h" |
56 #include "content/public/common/url_constants.h" | 56 #include "content/public/common/url_constants.h" |
57 #include "crypto/nss_util.h" | 57 #include "crypto/nss_util.h" |
58 #include "third_party/skia/include/core/SkBitmap.h" | 58 #include "third_party/skia/include/core/SkBitmap.h" |
59 #include "ui/gfx/codec/png_codec.h" | 59 #include "ui/gfx/codec/png_codec.h" |
60 | 60 |
61 using content::BrowserThread; | 61 using content::BrowserThread; |
62 | 62 |
63 typedef GoogleServiceAuthError AuthError; | 63 typedef GoogleServiceAuthError AuthError; |
(...skipping 1193 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1257 BrowserThread::PostTask( | 1257 BrowserThread::PostTask( |
1258 BrowserThread::FILE, | 1258 BrowserThread::FILE, |
1259 FROM_HERE, | 1259 FROM_HERE, |
1260 base::Bind(&UserManagerImpl::DeleteUserImage, | 1260 base::Bind(&UserManagerImpl::DeleteUserImage, |
1261 base::Unretained(this), | 1261 base::Unretained(this), |
1262 image_path)); | 1262 image_path)); |
1263 } | 1263 } |
1264 } | 1264 } |
1265 | 1265 |
1266 } // namespace chromeos | 1266 } // namespace chromeos |
OLD | NEW |