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

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

Issue 1261333004: Add support for Flash Player Component updates on Linux (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 4 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 7
8 #include "build/build_config.h" 8 #include "build/build_config.h"
9 9
10 namespace base { 10 namespace base {
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 #endif 65 #endif
66 DIR_EXTERNAL_EXTENSIONS, // Directory where installer places .crx files. 66 DIR_EXTERNAL_EXTENSIONS, // Directory where installer places .crx files.
67 67
68 DIR_DEFAULT_APPS, // Directory where installer places .crx files 68 DIR_DEFAULT_APPS, // Directory where installer places .crx files
69 // to be installed when chrome is first run. 69 // to be installed when chrome is first run.
70 DIR_PEPPER_FLASH_PLUGIN, // Directory to the bundled Pepper Flash plugin, 70 DIR_PEPPER_FLASH_PLUGIN, // Directory to the bundled Pepper Flash plugin,
71 // containing the plugin and the manifest. 71 // containing the plugin and the manifest.
72 DIR_COMPONENT_UPDATED_PEPPER_FLASH_PLUGIN, // Base directory of the Pepper 72 DIR_COMPONENT_UPDATED_PEPPER_FLASH_PLUGIN, // Base directory of the Pepper
73 // Flash plugins downloaded by the 73 // Flash plugins downloaded by the
74 // component updater. 74 // component updater.
75 DIR_PEPPER_FLASH_SYSTEM_PLUGIN, // Base directory of the system version of
76 // the Pepper Flash plugin, downloadable
77 // from Adobe website.
75 FILE_RESOURCE_MODULE, // Full path and filename of the module that 78 FILE_RESOURCE_MODULE, // Full path and filename of the module that
76 // contains embedded resources (version, 79 // contains embedded resources (version,
77 // strings, images, etc.). 80 // strings, images, etc.).
78 FILE_LOCAL_STATE, // Path and filename to the file in which 81 FILE_LOCAL_STATE, // Path and filename to the file in which
79 // machine/installation-specific state is saved. 82 // machine/installation-specific state is saved.
80 FILE_RECORDED_SCRIPT, // Full path to the script.log file that 83 FILE_RECORDED_SCRIPT, // Full path to the script.log file that
81 // contains recorded browser events for 84 // contains recorded browser events for
82 // playback. 85 // playback.
83 FILE_PEPPER_FLASH_PLUGIN, // Full path to the bundled Pepper Flash plugin 86 FILE_PEPPER_FLASH_PLUGIN, // Full path to the bundled Pepper Flash plugin
84 // file. 87 // file.
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 #endif 127 #endif
125 #if defined(OS_ANDROID) 128 #if defined(OS_ANDROID)
126 DIR_OFFLINE_PAGE_METADATA, // Directory where offline page metadata is 129 DIR_OFFLINE_PAGE_METADATA, // Directory where offline page metadata is
127 // stored. 130 // stored.
128 #endif 131 #endif
129 132
130 // Valid only in development environment; TODO(darin): move these 133 // Valid only in development environment; TODO(darin): move these
131 DIR_GEN_TEST_DATA, // Directory where generated test data resides. 134 DIR_GEN_TEST_DATA, // Directory where generated test data resides.
132 DIR_TEST_DATA, // Directory where unit test data resides. 135 DIR_TEST_DATA, // Directory where unit test data resides.
133 DIR_TEST_TOOLS, // Directory where unit test tools reside. 136 DIR_TEST_TOOLS, // Directory where unit test tools reside.
137 #if defined(OS_LINUX)
138 FILE_COMPONENT_FLASH_HINT, // A file in a known location that points to
139 // the component updated flash plugin.
140 #endif // defined(OS_LINUX)
134 141
135 PATH_END 142 PATH_END
136 }; 143 };
137 144
138 // Call once to register the provider for the path keys defined above. 145 // Call once to register the provider for the path keys defined above.
139 void RegisterPathProvider(); 146 void RegisterPathProvider();
140 147
141 // Get or set the invalid user data dir that was originally specified. 148 // Get or set the invalid user data dir that was originally specified.
142 void SetInvalidSpecifiedUserDataDir(const base::FilePath& user_data_dir); 149 void SetInvalidSpecifiedUserDataDir(const base::FilePath& user_data_dir);
143 const base::FilePath& GetInvalidSpecifiedUserDataDir(); 150 const base::FilePath& GetInvalidSpecifiedUserDataDir();
144 151
145 } // namespace chrome 152 } // namespace chrome
146 153
147 #endif // CHROME_COMMON_CHROME_PATHS_H__ 154 #endif // CHROME_COMMON_CHROME_PATHS_H__
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698