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

Side by Side Diff: base/base_paths.h

Issue 7605019: Reduce number of unnamed-type-template-args violations. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 3 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 | « no previous file | build/common.gypi » ('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_BASE_PATHS_H_ 5 #ifndef BASE_BASE_PATHS_H_
6 #define BASE_BASE_PATHS_H_ 6 #define BASE_BASE_PATHS_H_
7 #pragma once 7 #pragma once
8 8
9 // This file declares path keys for the base module. These can be used with 9 // This file declares path keys for the base module. These can be used with
10 // the PathService to access various special directories and files. 10 // the PathService to access various special directories and files.
11 11
12 #include "build/build_config.h" 12 #include "build/build_config.h"
13 13
14 #if defined(OS_WIN) 14 #if defined(OS_WIN)
15 #include "base/base_paths_win.h" 15 #include "base/base_paths_win.h"
16 #elif defined(OS_MACOSX) 16 #elif defined(OS_MACOSX)
17 #include "base/base_paths_mac.h" 17 #include "base/base_paths_mac.h"
18 #endif 18 #endif
19 19
20 namespace base { 20 namespace base {
21 21
22 enum { 22 enum BasePathKey {
23 PATH_START = 0, 23 PATH_START = 0,
24 24
25 DIR_CURRENT, // current directory 25 DIR_CURRENT, // current directory
26 DIR_EXE, // directory containing FILE_EXE 26 DIR_EXE, // directory containing FILE_EXE
27 DIR_MODULE, // directory containing FILE_MODULE 27 DIR_MODULE, // directory containing FILE_MODULE
28 DIR_TEMP, // temporary directory 28 DIR_TEMP, // temporary directory
29 FILE_EXE, // Path and filename of the current executable. 29 FILE_EXE, // Path and filename of the current executable.
30 FILE_MODULE, // Path and filename of the module containing the code for the 30 FILE_MODULE, // Path and filename of the module containing the code for the
31 // PathService (which could differ from FILE_EXE if the 31 // PathService (which could differ from FILE_EXE if the
32 // PathService were compiled into a shared object, for example). 32 // PathService were compiled into a shared object, for example).
(...skipping 10 matching lines...) Expand all
43 #if defined(OS_ANDROID) 43 #if defined(OS_ANDROID)
44 DIR_ANDROID_APP_DATA, // Directory where to put android app's data. 44 DIR_ANDROID_APP_DATA, // Directory where to put android app's data.
45 #endif 45 #endif
46 46
47 PATH_END 47 PATH_END
48 }; 48 };
49 49
50 } // namespace base 50 } // namespace base
51 51
52 #endif // BASE_BASE_PATHS_H_ 52 #endif // BASE_BASE_PATHS_H_
OLDNEW
« no previous file with comments | « no previous file | build/common.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698