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

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

Issue 10179002: Create an external source for extensions on linux that meets the needs of package managers. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase 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 | 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 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)
Finnur 2012/04/24 13:03:24 ... and not OS_CHROMEOS ?
Alexandre Abreu 2012/04/24 19:30:30 Done.
58 DIR_SINGLE_EXTERNAL_EXTENSIONS, // Directory for 'per-extension' definition
59 // files that describe extensions are to be
60 // installed when chrome is run.
Finnur 2012/04/24 13:03:24 I don't understand what this means (in the absence
Alexandre Abreu 2012/04/24 19:30:30 Replaced by something that "sounded" better & bett
61 #endif
Finnur 2012/04/24 13:03:24 Missing: // defined(OS_LINUX) && !defined(OS_CHRO
Alexandre Abreu 2012/04/24 19:30:30 Since it is not something specified for other #def
57 DIR_EXTERNAL_EXTENSIONS, // Directory where installer places .crx files. 62 DIR_EXTERNAL_EXTENSIONS, // Directory where installer places .crx files.
58 63
59 DIR_DEFAULT_APPS, // Directory where installer places .crx files 64 DIR_DEFAULT_APPS, // Directory where installer places .crx files
60 // to be installed when chrome is first run. 65 // to be installed when chrome is first run.
61 DIR_PEPPER_FLASH_PLUGIN, // Directory to the Pepper Flash plugin, 66 DIR_PEPPER_FLASH_PLUGIN, // Directory to the Pepper Flash plugin,
62 // containing the plugin and the manifest. 67 // containing the plugin and the manifest.
63 FILE_RESOURCE_MODULE, // Full path and filename of the module that 68 FILE_RESOURCE_MODULE, // Full path and filename of the module that
64 // contains embedded resources (version, 69 // contains embedded resources (version,
65 // strings, images, etc.). 70 // strings, images, etc.).
66 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
99 104
100 PATH_END 105 PATH_END
101 }; 106 };
102 107
103 // 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.
104 void RegisterPathProvider(); 109 void RegisterPathProvider();
105 110
106 } // namespace chrome 111 } // namespace chrome
107 112
108 #endif // CHROME_COMMON_CHROME_PATHS_H__ 113 #endif // CHROME_COMMON_CHROME_PATHS_H__
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698