OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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/options/chromeos/change_picture_options_handle
r.h" | 5 #include "chrome/browser/ui/webui/options/chromeos/change_picture_options_handle
r.h" |
6 | 6 |
7 #include "base/bind.h" | 7 #include "base/bind.h" |
8 #include "base/bind_helpers.h" | 8 #include "base/bind_helpers.h" |
9 #include "base/command_line.h" | 9 #include "base/command_line.h" |
10 #include "base/metrics/histogram.h" | 10 #include "base/metrics/histogram.h" |
11 #include "base/path_service.h" | 11 #include "base/path_service.h" |
12 #include "base/string_util.h" | 12 #include "base/string_util.h" |
13 #include "base/utf_string_conversions.h" | 13 #include "base/strings/utf_string_conversions.h" |
14 #include "base/values.h" | 14 #include "base/values.h" |
15 #include "chrome/browser/chromeos/camera_detector.h" | 15 #include "chrome/browser/chromeos/camera_detector.h" |
16 #include "chrome/browser/chromeos/login/default_user_images.h" | 16 #include "chrome/browser/chromeos/login/default_user_images.h" |
17 #include "chrome/browser/chromeos/login/user_image.h" | 17 #include "chrome/browser/chromeos/login/user_image.h" |
18 #include "chrome/browser/chromeos/login/user_image_manager.h" | 18 #include "chrome/browser/chromeos/login/user_image_manager.h" |
19 #include "chrome/browser/chromeos/login/user_manager.h" | 19 #include "chrome/browser/chromeos/login/user_manager.h" |
20 #include "chrome/browser/ui/browser_finder.h" | 20 #include "chrome/browser/ui/browser_finder.h" |
21 #include "chrome/browser/ui/browser_window.h" | 21 #include "chrome/browser/ui/browser_window.h" |
22 #include "chrome/browser/ui/chrome_select_file_policy.h" | 22 #include "chrome/browser/ui/chrome_select_file_policy.h" |
23 #include "chrome/common/chrome_notification_types.h" | 23 #include "chrome/common/chrome_notification_types.h" |
(...skipping 406 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
430 SetImageFromCamera(user_photo_); | 430 SetImageFromCamera(user_photo_); |
431 } | 431 } |
432 | 432 |
433 void ChangePictureOptionsHandler::OnDecodeImageFailed( | 433 void ChangePictureOptionsHandler::OnDecodeImageFailed( |
434 const ImageDecoder* decoder) { | 434 const ImageDecoder* decoder) { |
435 NOTREACHED() << "Failed to decode PNG image from WebUI"; | 435 NOTREACHED() << "Failed to decode PNG image from WebUI"; |
436 } | 436 } |
437 | 437 |
438 } // namespace options | 438 } // namespace options |
439 } // namespace chromeos | 439 } // namespace chromeos |
OLD | NEW |