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

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

Issue 10693139: Remove #pragma once from chrome/browser/{tab_contents,password_manager,profiles,search_engines,noti… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_INFO_UTIL_H_ 5 #ifndef CHROME_BROWSER_PROFILES_PROFILE_INFO_UTIL_H_
6 #define CHROME_BROWSER_PROFILES_PROFILE_INFO_UTIL_H_ 6 #define CHROME_BROWSER_PROFILES_PROFILE_INFO_UTIL_H_
7 #pragma once
8 7
9 #include "ui/gfx/image/image.h" 8 #include "ui/gfx/image/image.h"
10 9
11 namespace profiles { 10 namespace profiles {
12 11
13 extern const int kAvatarIconWidth; 12 extern const int kAvatarIconWidth;
14 extern const int kAvatarIconHeight; 13 extern const int kAvatarIconHeight;
15 14
16 // Returns a version of |image| suitable for use in menus. 15 // Returns a version of |image| suitable for use in menus.
17 gfx::Image GetAvatarIconForMenu(const gfx::Image& image, 16 gfx::Image GetAvatarIconForMenu(const gfx::Image& image,
18 bool is_gaia_picture); 17 bool is_gaia_picture);
19 18
20 // Returns a version of |image| suitable for use in WebUI. 19 // Returns a version of |image| suitable for use in WebUI.
21 gfx::Image GetAvatarIconForWebUI(const gfx::Image& image, 20 gfx::Image GetAvatarIconForWebUI(const gfx::Image& image,
22 bool is_gaia_picture); 21 bool is_gaia_picture);
23 22
24 // Returns a version of |image| suitable for use in title bars. The returned 23 // Returns a version of |image| suitable for use in title bars. The returned
25 // image is scaled to fit |dst_width| and |dst_height|. 24 // image is scaled to fit |dst_width| and |dst_height|.
26 gfx::Image GetAvatarIconForTitleBar(const gfx::Image& image, 25 gfx::Image GetAvatarIconForTitleBar(const gfx::Image& image,
27 bool is_gaia_picture, 26 bool is_gaia_picture,
28 int dst_width, 27 int dst_width,
29 int dst_height); 28 int dst_height);
30 29
31 } 30 }
32 31
33 #endif // CHROME_BROWSER_PROFILES_PROFILE_INFO_UTIL_H_ 32 #endif // CHROME_BROWSER_PROFILES_PROFILE_INFO_UTIL_H_
OLDNEW
« no previous file with comments | « chrome/browser/profiles/profile_info_cache_unittest.h ('k') | chrome/browser/profiles/profile_io_data.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698