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/desktop_background/desktop_background_controller.h" | 9 #include "ash/desktop_background/desktop_background_controller.h" |
10 #include "ash/shell.h" | 10 #include "ash/shell.h" |
(...skipping 27 matching lines...) Expand all Loading... |
38 #include "chrome/browser/prefs/pref_service.h" | 38 #include "chrome/browser/prefs/pref_service.h" |
39 #include "chrome/browser/prefs/scoped_user_pref_update.h" | 39 #include "chrome/browser/prefs/scoped_user_pref_update.h" |
40 #include "chrome/browser/profiles/profile_downloader.h" | 40 #include "chrome/browser/profiles/profile_downloader.h" |
41 #include "chrome/browser/profiles/profile_manager.h" | 41 #include "chrome/browser/profiles/profile_manager.h" |
42 #include "chrome/browser/sync/profile_sync_service.h" | 42 #include "chrome/browser/sync/profile_sync_service.h" |
43 #include "chrome/browser/sync/profile_sync_service_factory.h" | 43 #include "chrome/browser/sync/profile_sync_service_factory.h" |
44 #include "chrome/browser/ui/webui/web_ui_util.h" | 44 #include "chrome/browser/ui/webui/web_ui_util.h" |
45 #include "chrome/common/chrome_notification_types.h" | 45 #include "chrome/common/chrome_notification_types.h" |
46 #include "chrome/common/chrome_paths.h" | 46 #include "chrome/common/chrome_paths.h" |
47 #include "chrome/common/chrome_switches.h" | 47 #include "chrome/common/chrome_switches.h" |
48 #include "chrome/common/net/gaia/google_service_auth_error.h" | |
49 #include "chrome/common/pref_names.h" | 48 #include "chrome/common/pref_names.h" |
50 #include "chromeos/cryptohome/async_method_caller.h" | 49 #include "chromeos/cryptohome/async_method_caller.h" |
51 #include "content/public/browser/browser_thread.h" | 50 #include "content/public/browser/browser_thread.h" |
52 #include "content/public/browser/notification_service.h" | 51 #include "content/public/browser/notification_service.h" |
53 #include "content/public/common/url_constants.h" | 52 #include "content/public/common/url_constants.h" |
| 53 #include "google_apis/gaia/google_service_auth_error.h" |
54 #include "skia/ext/image_operations.h" | 54 #include "skia/ext/image_operations.h" |
55 #include "third_party/skia/include/core/SkBitmap.h" | 55 #include "third_party/skia/include/core/SkBitmap.h" |
56 #include "ui/gfx/codec/png_codec.h" | 56 #include "ui/gfx/codec/png_codec.h" |
57 #include "ui/gfx/image/image_skia.h" | 57 #include "ui/gfx/image/image_skia.h" |
58 | 58 |
59 using content::BrowserThread; | 59 using content::BrowserThread; |
60 | 60 |
61 typedef GoogleServiceAuthError AuthError; | 61 typedef GoogleServiceAuthError AuthError; |
62 | 62 |
63 namespace chromeos { | 63 namespace chromeos { |
(...skipping 1302 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1366 BrowserThread::PostTask( | 1366 BrowserThread::PostTask( |
1367 BrowserThread::FILE, | 1367 BrowserThread::FILE, |
1368 FROM_HERE, | 1368 FROM_HERE, |
1369 base::Bind(&UserManagerImpl::DeleteUserImage, | 1369 base::Bind(&UserManagerImpl::DeleteUserImage, |
1370 base::Unretained(this), | 1370 base::Unretained(this), |
1371 image_path)); | 1371 image_path)); |
1372 } | 1372 } |
1373 } | 1373 } |
1374 | 1374 |
1375 } // namespace chromeos | 1375 } // namespace chromeos |
OLD | NEW |