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

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 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 DIR_MANAGED_PREFS, // Directory that stores the managed prefs plist 47 DIR_MANAGED_PREFS, // Directory that stores the managed prefs plist
48 // files for the current user. 48 // files for the current user.
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 #endif 55 #endif
56 56
57 #if defined(OS_LINUX) && !defined(OS_CHROMEOS)
58 DIR_STANDALONE_EXTERNAL_EXTENSIONS, // Directory for 'per-extension'
59 // definition manifest files that
60 // describe extensions which are to be
61 // installed when chrome is run.
Finnur 2012/04/25 13:33:45 OK, this is an improvement, but I think we can sti
Alexandre Abreu 2012/04/25 15:31:05 mmh, I am really not too sure about that one. Alth
Finnur 2012/04/25 16:11:27 OK, fine. How about this comment then? "The dire
62 #endif
57 DIR_EXTERNAL_EXTENSIONS, // Directory where installer places .crx files. 63 DIR_EXTERNAL_EXTENSIONS, // Directory where installer places .crx files.
58 64
59 DIR_DEFAULT_APPS, // Directory where installer places .crx files 65 DIR_DEFAULT_APPS, // Directory where installer places .crx files
60 // to be installed when chrome is first run. 66 // to be installed when chrome is first run.
61 DIR_PEPPER_FLASH_PLUGIN, // Directory to the Pepper Flash plugin, 67 DIR_PEPPER_FLASH_PLUGIN, // Directory to the Pepper Flash plugin,
62 // containing the plugin and the manifest. 68 // containing the plugin and the manifest.
63 FILE_RESOURCE_MODULE, // Full path and filename of the module that 69 FILE_RESOURCE_MODULE, // Full path and filename of the module that
64 // contains embedded resources (version, 70 // contains embedded resources (version,
65 // strings, images, etc.). 71 // strings, images, etc.).
66 FILE_LOCAL_STATE, // Path and filename to the file in which 72 FILE_LOCAL_STATE, // Path and filename to the file in which
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
99 105
100 PATH_END 106 PATH_END
101 }; 107 };
102 108
103 // Call once to register the provider for the path keys defined above. 109 // Call once to register the provider for the path keys defined above.
104 void RegisterPathProvider(); 110 void RegisterPathProvider();
105 111
106 } // namespace chrome 112 } // namespace chrome
107 113
108 #endif // CHROME_COMMON_CHROME_PATHS_H__ 114 #endif // CHROME_COMMON_CHROME_PATHS_H__
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698