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

Side by Side Diff: base/nix/mime_util_xdg.h

Issue 10735044: Remove #pragma once. Just from base/ for now. (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
« no previous file with comments | « base/native_library.h ('k') | base/nix/xdg_util.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 BASE_NIX_MIME_UTIL_XDG_H_ 5 #ifndef BASE_NIX_MIME_UTIL_XDG_H_
6 #define BASE_NIX_MIME_UTIL_XDG_H_ 6 #define BASE_NIX_MIME_UTIL_XDG_H_
7 #pragma once
8 7
9 #include <string> 8 #include <string>
10 9
11 #include "base/base_export.h" 10 #include "base/base_export.h"
12 #include "build/build_config.h" 11 #include "build/build_config.h"
13 12
14 class FilePath; 13 class FilePath;
15 14
16 namespace base { 15 namespace base {
17 namespace nix { 16 namespace nix {
(...skipping 17 matching lines...) Expand all
35 // Gets the file name for an icon given the mime type and icon pixel size. 34 // Gets the file name for an icon given the mime type and icon pixel size.
36 // Where an icon is a square image of |size| x |size|. 35 // Where an icon is a square image of |size| x |size|.
37 // This will try to find the closest matching icon. If that's not available, 36 // This will try to find the closest matching icon. If that's not available,
38 // then a generic icon, and finally an empty FilePath if all else fails. 37 // then a generic icon, and finally an empty FilePath if all else fails.
39 BASE_EXPORT FilePath GetMimeIcon(const std::string& mime_type, size_t size); 38 BASE_EXPORT FilePath GetMimeIcon(const std::string& mime_type, size_t size);
40 39
41 } // namespace nix 40 } // namespace nix
42 } // namespace base 41 } // namespace base
43 42
44 #endif // BASE_NIX_MIME_UTIL_XDG_H_ 43 #endif // BASE_NIX_MIME_UTIL_XDG_H_
OLDNEW
« no previous file with comments | « base/native_library.h ('k') | base/nix/xdg_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698