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

Side by Side Diff: chromeos/chromeos_paths.h

Issue 258743005: Enable Enterprise enrollment on desktop builds. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: added arg to PathService::OverrideAndCreateIfNeeded, added test for FakeCryptohomeClient::InstallAt… Created 6 years, 7 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
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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 CHROMEOS_CHROMEOS_PATHS_H_ 5 #ifndef CHROMEOS_CHROMEOS_PATHS_H_
6 #define CHROMEOS_CHROMEOS_PATHS_H_ 6 #define CHROMEOS_CHROMEOS_PATHS_H_
7 7
8 #include "chromeos/chromeos_export.h" 8 #include "chromeos/chromeos_export.h"
9 9
10 namespace base {
11 class FilePath;
12 }
13
10 // This file declares path keys for the chromeos module. These can be used with 14 // This file declares path keys for the chromeos 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 chromeos { 17 namespace chromeos {
14 18
15 enum { 19 enum {
16 PATH_START = 7000, 20 PATH_START = 7000,
17 21
18 FILE_DEFAULT_APP_ORDER, // Full path to the json file that defines the 22 FILE_DEFAULT_APP_ORDER, // Full path to the json file that defines the
19 // default app order. 23 // default app order.
(...skipping 13 matching lines...) Expand all
33 // account. 37 // account.
34 DIR_DEVICE_LOCAL_ACCOUNT_EXTERNAL_DATA, // Directory where external data 38 DIR_DEVICE_LOCAL_ACCOUNT_EXTERNAL_DATA, // Directory where external data
35 // referenced by policies is cached 39 // referenced by policies is cached
36 // for device-local accounts. 40 // for device-local accounts.
37 PATH_END 41 PATH_END
38 }; 42 };
39 43
40 // Call once to register the provider for the path keys defined above. 44 // Call once to register the provider for the path keys defined above.
41 CHROMEOS_EXPORT void RegisterPathProvider(); 45 CHROMEOS_EXPORT void RegisterPathProvider();
42 46
47 // Overrides some of the paths listed above so that those files can be used
48 // when not running on ChromeOS. The stubs files will be relative to
49 // |stubs_dir|. It is not valid to call this when running on ChromeOS.
50 CHROMEOS_EXPORT void RegisterStubPathOverrides(const base::FilePath& stubs_dir);
51
43 } // namespace chromeos 52 } // namespace chromeos
44 53
45 #endif // CHROMEOS_CHROMEOS_PATHS_H_ 54 #endif // CHROMEOS_CHROMEOS_PATHS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698