| 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 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_DEFAULT_USER_IMAGES_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_DEFAULT_USER_IMAGES_H_ |
| 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_DEFAULT_USER_IMAGES_H_ | 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_DEFAULT_USER_IMAGES_H_ |
| 7 | 7 |
| 8 #include <cstddef> // for size_t | 8 #include <cstddef> // for size_t |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| 11 #include "base/string16.h" | 11 #include "base/strings/string16.h" |
| 12 | 12 |
| 13 namespace gfx { | 13 namespace gfx { |
| 14 class ImageSkia; | 14 class ImageSkia; |
| 15 } | 15 } |
| 16 | 16 |
| 17 namespace chromeos { | 17 namespace chromeos { |
| 18 | 18 |
| 19 // Returns path to default user image with specified index. | 19 // Returns path to default user image with specified index. |
| 20 // The path is used in Local State to distinguish default images. | 20 // The path is used in Local State to distinguish default images. |
| 21 // This function is obsolete and is preserved only for compatibility with older | 21 // This function is obsolete and is preserved only for compatibility with older |
| (...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 77 | 77 |
| 78 // Number of possible histogram values for user images. | 78 // Number of possible histogram values for user images. |
| 79 extern const int kHistogramImagesCount; | 79 extern const int kHistogramImagesCount; |
| 80 | 80 |
| 81 // Returns the histogram value corresponding to the given default image index. | 81 // Returns the histogram value corresponding to the given default image index. |
| 82 int GetDefaultImageHistogramValue(int index); | 82 int GetDefaultImageHistogramValue(int index); |
| 83 | 83 |
| 84 } // namespace chromeos | 84 } // namespace chromeos |
| 85 | 85 |
| 86 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_DEFAULT_USER_IMAGES_H_ | 86 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_DEFAULT_USER_IMAGES_H_ |
| OLD | NEW |