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

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

Issue 9963120: Introduces an additional extension loader that load extra extensions based on per-extension json fi… (Closed) Base URL: https://src.chromium.org/svn/trunk/src/
Patch Set: Created 8 years, 8 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
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 #pragma once 7 #pragma once
8 8
9 #include "build/build_config.h" 9 #include "build/build_config.h"
10 10
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 #endif 49 #endif
50 #if defined(OS_CHROMEOS) || defined(OS_MACOSX) 50 #if defined(OS_CHROMEOS) || defined(OS_MACOSX)
51 DIR_USER_EXTERNAL_EXTENSIONS, // Directory for per-user external extensions 51 DIR_USER_EXTERNAL_EXTENSIONS, // Directory for per-user external extensions
52 // on Chrome Mac. On Chrome OS, this path is 52 // on Chrome Mac. On Chrome OS, this path is
53 // used for OEM customization. 53 // used for OEM customization.
54 // Getting this path does not create it. 54 // Getting this path does not create it.
55 DIR_USER_POLICY, // Root-owned per-user private enterprise 55 DIR_USER_POLICY, // Root-owned per-user private enterprise
56 // directory. 56 // directory.
57 #endif 57 #endif
58 58
59 #if defined(OS_LINUX)
60 DIR_SINGLE_EXTERNAL_EXTENSIONS, // Directory for 'per-extension' definition
61 // files that describe extensions are to be
62 // installed when chrome is run.
63 #endif
59 DIR_EXTERNAL_EXTENSIONS, // Directory where installer places .crx files. 64 DIR_EXTERNAL_EXTENSIONS, // Directory where installer places .crx files.
60 65
61 DIR_DEFAULT_APPS, // Directory where installer places .crx files 66 DIR_DEFAULT_APPS, // Directory where installer places .crx files
62 // to be installed when chrome is first run. 67 // to be installed when chrome is first run.
63 DIR_PEPPER_FLASH_PLUGIN, // Directory to the Pepper Flash plugin, 68 DIR_PEPPER_FLASH_PLUGIN, // Directory to the Pepper Flash plugin,
64 // containing the plugin and the manifest. 69 // containing the plugin and the manifest.
65 FILE_RESOURCE_MODULE, // Full path and filename of the module that 70 FILE_RESOURCE_MODULE, // Full path and filename of the module that
66 // contains embedded resources (version, 71 // contains embedded resources (version,
67 // strings, images, etc.). 72 // strings, images, etc.).
68 FILE_LOCAL_STATE, // Path and filename to the file in which 73 FILE_LOCAL_STATE, // Path and filename to the file in which
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 106
102 PATH_END 107 PATH_END
103 }; 108 };
104 109
105 // Call once to register the provider for the path keys defined above. 110 // Call once to register the provider for the path keys defined above.
106 void RegisterPathProvider(); 111 void RegisterPathProvider();
107 112
108 } // namespace chrome 113 } // namespace chrome
109 114
110 #endif // CHROME_COMMON_CHROME_PATHS_H__ 115 #endif // CHROME_COMMON_CHROME_PATHS_H__
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698