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

Side by Side Diff: base/nix/xdg_util.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/nix/mime_util_xdg.h ('k') | base/nullable_string16.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) 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 BASE_NIX_XDG_UTIL_H_ 5 #ifndef BASE_NIX_XDG_UTIL_H_
6 #define BASE_NIX_XDG_UTIL_H_ 6 #define BASE_NIX_XDG_UTIL_H_
7 #pragma once
8 7
9 // XDG refers to http://en.wikipedia.org/wiki/Freedesktop.org . 8 // XDG refers to http://en.wikipedia.org/wiki/Freedesktop.org .
10 // This file contains utilities found across free desktop environments. 9 // This file contains utilities found across free desktop environments.
11 // 10 //
12 // TODO(brettw) this file should be in app/x11, but is currently used by 11 // TODO(brettw) this file should be in app/x11, but is currently used by
13 // net. We should have a net API to allow the embedder to specify the behavior 12 // net. We should have a net API to allow the embedder to specify the behavior
14 // that it uses XDG for, and then move this file. 13 // that it uses XDG for, and then move this file.
15 14
16 #include "base/base_export.h" 15 #include "base/base_export.h"
17 16
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 // Return a string representation of the given desktop environment. 65 // Return a string representation of the given desktop environment.
67 // May return NULL in the case of DESKTOP_ENVIRONMENT_OTHER. 66 // May return NULL in the case of DESKTOP_ENVIRONMENT_OTHER.
68 BASE_EXPORT const char* GetDesktopEnvironmentName(DesktopEnvironment env); 67 BASE_EXPORT const char* GetDesktopEnvironmentName(DesktopEnvironment env);
69 // Convenience wrapper that calls GetDesktopEnvironment() first. 68 // Convenience wrapper that calls GetDesktopEnvironment() first.
70 BASE_EXPORT const char* GetDesktopEnvironmentName(Environment* env); 69 BASE_EXPORT const char* GetDesktopEnvironmentName(Environment* env);
71 70
72 } // namespace nix 71 } // namespace nix
73 } // namespace base 72 } // namespace base
74 73
75 #endif // BASE_NIX_XDG_UTIL_H_ 74 #endif // BASE_NIX_XDG_UTIL_H_
OLDNEW
« no previous file with comments | « base/nix/mime_util_xdg.h ('k') | base/nullable_string16.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698