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

Side by Side Diff: chrome/common/chrome_paths.h

Issue 174253002: Initialize chrome::DIR_USER_DATA early on for service processes, etc. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Use dynamic_annotations_win64 for common_constants_win64. Created 6 years, 9 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 | « chrome/chrome_tests.gypi ('k') | chrome/common/chrome_paths.cc » ('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 CHROME_COMMON_CHROME_PATHS_H__ 5 #ifndef CHROME_COMMON_CHROME_PATHS_H__
6 #define CHROME_COMMON_CHROME_PATHS_H__ 6 #define CHROME_COMMON_CHROME_PATHS_H__
7 7
8 #include "build/build_config.h" 8 #include "build/build_config.h"
9 9
10 namespace base {
11 class FilePath;
12 }
13
10 // This file declares path keys for the chrome module. These can be used with 14 // This file declares path keys for the chrome module. These can be used with
11 // the PathService to access various special directories and files. 15 // the PathService to access various special directories and files.
12 16
13 namespace chrome { 17 namespace chrome {
14 18
15 enum { 19 enum {
16 PATH_START = 1000, 20 PATH_START = 1000,
17 21
18 DIR_APP = PATH_START, // Directory where dlls and data reside. 22 DIR_APP = PATH_START, // Directory where dlls and data reside.
19 DIR_LOGS, // Directory where logs should be written. 23 DIR_LOGS, // Directory where logs should be written.
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
116 DIR_GEN_TEST_DATA, // Directory where generated test data resides. 120 DIR_GEN_TEST_DATA, // Directory where generated test data resides.
117 DIR_TEST_DATA, // Directory where unit test data resides. 121 DIR_TEST_DATA, // Directory where unit test data resides.
118 DIR_TEST_TOOLS, // Directory where unit test tools reside. 122 DIR_TEST_TOOLS, // Directory where unit test tools reside.
119 123
120 PATH_END 124 PATH_END
121 }; 125 };
122 126
123 // Call once to register the provider for the path keys defined above. 127 // Call once to register the provider for the path keys defined above.
124 void RegisterPathProvider(); 128 void RegisterPathProvider();
125 129
130 // Get or set the invalid user data dir that was originally specified.
131 void SetInvalidSpecifiedUserDataDir(const base::FilePath& user_data_dir);
132 const base::FilePath& GetInvalidSpecifiedUserDataDir();
133
126 } // namespace chrome 134 } // namespace chrome
127 135
128 #endif // CHROME_COMMON_CHROME_PATHS_H__ 136 #endif // CHROME_COMMON_CHROME_PATHS_H__
OLDNEW
« no previous file with comments | « chrome/chrome_tests.gypi ('k') | chrome/common/chrome_paths.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698