Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(129)

Side by Side Diff: chrome/browser/profiles/profile_avatar_icon_util.h

Issue 1548133002: Switch to standard integer types in chrome/browser/, part 3 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_PROFILES_PROFILE_AVATAR_ICON_UTIL_H_ 5 #ifndef CHROME_BROWSER_PROFILES_PROFILE_AVATAR_ICON_UTIL_H_
6 #define CHROME_BROWSER_PROFILES_PROFILE_AVATAR_ICON_UTIL_H_ 6 #define CHROME_BROWSER_PROFILES_PROFILE_AVATAR_ICON_UTIL_H_
7 7
8 #include <stddef.h>
9
8 #include <string> 10 #include <string>
9 11
10 #include "third_party/skia/include/core/SkColor.h" 12 #include "third_party/skia/include/core/SkColor.h"
11 13
12 namespace base { 14 namespace base {
13 class FilePath; 15 class FilePath;
14 } 16 }
15 17
16 namespace gfx { 18 namespace gfx {
17 class Image; 19 class Image;
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 // Checks if |index| is a valid avatar icon index 89 // Checks if |index| is a valid avatar icon index
88 bool IsDefaultAvatarIconIndex(size_t index); 90 bool IsDefaultAvatarIconIndex(size_t index);
89 91
90 // Checks if the given URL points to one of the default avatar icons. If it 92 // Checks if the given URL points to one of the default avatar icons. If it
91 // is, returns true and its index through |icon_index|. If not, returns false. 93 // is, returns true and its index through |icon_index|. If not, returns false.
92 bool IsDefaultAvatarIconUrl(const std::string& icon_url, size_t *icon_index); 94 bool IsDefaultAvatarIconUrl(const std::string& icon_url, size_t *icon_index);
93 95
94 } // namespace profiles 96 } // namespace profiles
95 97
96 #endif // CHROME_BROWSER_PROFILES_PROFILE_AVATAR_ICON_UTIL_H_ 98 #endif // CHROME_BROWSER_PROFILES_PROFILE_AVATAR_ICON_UTIL_H_
OLDNEW
« no previous file with comments | « chrome/browser/profiles/profile_avatar_downloader.h ('k') | chrome/browser/profiles/profile_avatar_icon_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698