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

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

Issue 10260010: Modifies the external extension preferences loader to load not only external_extensions.json but al… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 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) 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 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 DIR_MANAGED_PREFS, // Directory that stores the managed prefs plist 48 DIR_MANAGED_PREFS, // Directory that stores the managed prefs plist
49 // files for the current user. 49 // files for the current user.
50 #endif 50 #endif
51 #if defined(OS_CHROMEOS) || defined(OS_MACOSX) 51 #if defined(OS_CHROMEOS) || defined(OS_MACOSX)
52 DIR_USER_EXTERNAL_EXTENSIONS, // Directory for per-user external extensions 52 DIR_USER_EXTERNAL_EXTENSIONS, // Directory for per-user external extensions
53 // on Chrome Mac. On Chrome OS, this path is 53 // on Chrome Mac. On Chrome OS, this path is
54 // used for OEM customization. 54 // used for OEM customization.
55 // Getting this path does not create it. 55 // Getting this path does not create it.
56 #endif 56 #endif
57 57
58 #if defined(OS_LINUX) && !defined(OS_CHROMEOS)
59 DIR_STANDALONE_EXTERNAL_EXTENSIONS, // Directory for 'per-extension'
60 // definition manifest files that
61 // describe extensions which are to be
62 // installed when chrome is run.
63 #endif
58 DIR_EXTERNAL_EXTENSIONS, // Directory where installer places .crx files. 64 DIR_EXTERNAL_EXTENSIONS, // Directory where installer places .crx files.
59 65
60 DIR_DEFAULT_APPS, // Directory where installer places .crx files 66 DIR_DEFAULT_APPS, // Directory where installer places .crx files
61 // to be installed when chrome is first run. 67 // to be installed when chrome is first run.
62 DIR_PEPPER_FLASH_PLUGIN, // Directory to the Pepper Flash plugin, 68 DIR_PEPPER_FLASH_PLUGIN, // Directory to the Pepper Flash plugin,
63 // containing the plugin and the manifest. 69 // containing the plugin and the manifest.
64 FILE_RESOURCE_MODULE, // Full path and filename of the module that 70 FILE_RESOURCE_MODULE, // Full path and filename of the module that
65 // contains embedded resources (version, 71 // contains embedded resources (version,
66 // strings, images, etc.). 72 // strings, images, etc.).
67 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
100 106
101 PATH_END 107 PATH_END
102 }; 108 };
103 109
104 // 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.
105 void RegisterPathProvider(); 111 void RegisterPathProvider();
106 112
107 } // namespace chrome 113 } // namespace chrome
108 114
109 #endif // CHROME_COMMON_CHROME_PATHS_H__ 115 #endif // CHROME_COMMON_CHROME_PATHS_H__
OLDNEW
« no previous file with comments | « chrome/browser/extensions/external_pref_extension_loader.cc ('k') | chrome/common/chrome_paths.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698