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

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 DIR_SINGLE_EXTERNAL_EXTENSIONS, // Directory for 'per-extension' definition
Sam Kerner (Chrome) 2012/04/13 19:35:13 Yea, these things are debatable, and we debate the
Alexandre Abreu 2012/04/13 21:52:38 Done.
60 // files that describe extensions are to be
61 // installed when chrome is run.
59 DIR_EXTERNAL_EXTENSIONS, // Directory where installer places .crx files. 62 DIR_EXTERNAL_EXTENSIONS, // Directory where installer places .crx files.
60 63
61 DIR_DEFAULT_APPS, // Directory where installer places .crx files 64 DIR_DEFAULT_APPS, // Directory where installer places .crx files
62 // to be installed when chrome is first run. 65 // to be installed when chrome is first run.
63 DIR_PEPPER_FLASH_PLUGIN, // Directory to the Pepper Flash plugin, 66 DIR_PEPPER_FLASH_PLUGIN, // Directory to the Pepper Flash plugin,
64 // containing the plugin and the manifest. 67 // containing the plugin and the manifest.
65 FILE_RESOURCE_MODULE, // Full path and filename of the module that 68 FILE_RESOURCE_MODULE, // Full path and filename of the module that
66 // contains embedded resources (version, 69 // contains embedded resources (version,
67 // strings, images, etc.). 70 // strings, images, etc.).
68 FILE_LOCAL_STATE, // Path and filename to the file in which 71 FILE_LOCAL_STATE, // Path and filename to the file in which
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 104
102 PATH_END 105 PATH_END
103 }; 106 };
104 107
105 // Call once to register the provider for the path keys defined above. 108 // Call once to register the provider for the path keys defined above.
106 void RegisterPathProvider(); 109 void RegisterPathProvider();
107 110
108 } // namespace chrome 111 } // namespace chrome
109 112
110 #endif // CHROME_COMMON_CHROME_PATHS_H__ 113 #endif // CHROME_COMMON_CHROME_PATHS_H__
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698