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

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

Issue 2709783002: Add DIR_ROAMING_USER_DATA to PathService. (Closed)
Patch Set: Address comment. Created 3 years, 10 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
« no previous file with comments | « no previous file | 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 { 10 namespace base {
11 class FilePath; 11 class FilePath;
12 } 12 }
13 13
14 // 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
15 // the PathService to access various special directories and files. 15 // the PathService to access various special directories and files.
16 16
17 namespace chrome { 17 namespace chrome {
18 18
19 enum { 19 enum {
20 PATH_START = 1000, 20 PATH_START = 1000,
21 21
22 DIR_APP = PATH_START, // Directory where dlls and data reside. 22 DIR_APP = PATH_START, // Directory where dlls and data reside.
23 DIR_LOGS, // Directory where logs should be written. 23 DIR_LOGS, // Directory where logs should be written.
24 DIR_USER_DATA, // Directory where user data can be written. 24 DIR_USER_DATA, // Directory where user data can be written.
25 DIR_CRASH_DUMPS, // Directory where crash dumps are written. 25 DIR_CRASH_DUMPS, // Directory where crash dumps are written.
26 #if defined(OS_WIN) 26 #if defined(OS_WIN)
27 DIR_WATCHER_DATA, // Directory where the Chrome watcher stores 27 DIR_WATCHER_DATA, // Directory where the Chrome watcher stores
28 // data. 28 // data.
29 DIR_ROAMING_USER_DATA, // Directory where user data is stored that
30 // needs to be roamed between computers.
29 #endif 31 #endif
30 DIR_RESOURCES, // Directory containing separate file resources 32 DIR_RESOURCES, // Directory containing separate file resources
31 // used by Chrome at runtime. 33 // used by Chrome at runtime.
32 DIR_INSPECTOR_DEBUG, // Directory where non-bundled and non-minified 34 DIR_INSPECTOR_DEBUG, // Directory where non-bundled and non-minified
33 // web inspector is located. 35 // web inspector is located.
34 DIR_APP_DICTIONARIES, // Directory where the global dictionaries are. 36 DIR_APP_DICTIONARIES, // Directory where the global dictionaries are.
35 DIR_USER_DOCUMENTS, // Directory for a user's "My Documents". 37 DIR_USER_DOCUMENTS, // Directory for a user's "My Documents".
36 DIR_USER_MUSIC, // Directory for a user's music. 38 DIR_USER_MUSIC, // Directory for a user's music.
37 DIR_USER_PICTURES, // Directory for a user's pictures. 39 DIR_USER_PICTURES, // Directory for a user's pictures.
38 DIR_USER_VIDEOS, // Directory for a user's videos. 40 DIR_USER_VIDEOS, // Directory for a user's videos.
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
140 // Call once to register the provider for the path keys defined above. 142 // Call once to register the provider for the path keys defined above.
141 void RegisterPathProvider(); 143 void RegisterPathProvider();
142 144
143 // Get or set the invalid user data dir that was originally specified. 145 // Get or set the invalid user data dir that was originally specified.
144 void SetInvalidSpecifiedUserDataDir(const base::FilePath& user_data_dir); 146 void SetInvalidSpecifiedUserDataDir(const base::FilePath& user_data_dir);
145 const base::FilePath& GetInvalidSpecifiedUserDataDir(); 147 const base::FilePath& GetInvalidSpecifiedUserDataDir();
146 148
147 } // namespace chrome 149 } // namespace chrome
148 150
149 #endif // CHROME_COMMON_CHROME_PATHS_H__ 151 #endif // CHROME_COMMON_CHROME_PATHS_H__
OLDNEW
« no previous file with comments | « no previous file | chrome/common/chrome_paths.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698