Lines Matching full:filepath
43 bool ValidateFilePath(const base::FilePath& path) {
56 const base::FilePath::CharType kTempDirectoryName[] = FILE_PATH_LITERAL("Temp");
58 base::FilePath InstallExtension(const base::FilePath& unpacked_source_dir,
61 const base::FilePath& extensions_dir) {
62 base::FilePath extension_dir = extensions_dir.AppendASCII(id);
63 base::FilePath version_dir;
68 return base::FilePath();
72 base::FilePath install_temp_dir = GetInstallTempDir(extensions_dir);
77 return base::FilePath();
79 base::FilePath crx_temp_source =
84 return base::FilePath();
91 base::FilePath candidate = extension_dir.AppendASCII(
102 return base::FilePath();
108 return base::FilePath();
114 void UninstallExtension(const base::FilePath& extensions_dir,
122 scoped_refptr<Extension> LoadExtension(const base::FilePath& extension_path,
129 scoped_refptr<Extension> LoadExtension(const base::FilePath& extension_path,
156 base::DictionaryValue* LoadManifest(const base::FilePath& extension_path,
162 const base::FilePath& extension_path,
163 const base::FilePath::CharType* manifest_filename,
165 base::FilePath manifest_path = extension_path.Append(manifest_filename);
210 std::vector<base::FilePath> private_keys =
232 std::vector<base::FilePath> FindPrivateKeyFiles(
233 const base::FilePath& extension_dir) {
234 std::vector<base::FilePath> result;
238 for (base::FilePath current = traversal.Next(); !current.empty();
259 bool CheckForIllegalFilenames(const base::FilePath& extension_path,
262 static const base::FilePath::CharType* reserved_names[] = {
265 std::set<base::FilePath::StringType>,
276 base::FilePath file;
278 base::FilePath::StringType filename = file.BaseName().value();
295 base::FilePath GetInstallTempDir(const base::FilePath& extensions_dir) {
305 base::FilePath temp_path = extensions_dir.Append(kTempDirectoryName);
309 return base::FilePath();
313 return base::FilePath();
322 return base::FilePath();
327 void DeleteFile(const base::FilePath& path, bool recursive) {
331 base::FilePath ExtensionURLToRelativeFilePath(const GURL& url) {
334 return base::FilePath();
343 base::FilePath path = base::FilePath::FromUTF8Unsafe(file_path);
349 return base::FilePath();
354 base::FilePath ExtensionResourceURLToFilePath(const GURL& url,
355 const base::FilePath& root) {
359 return base::FilePath();
361 base::FilePath relative_path = ExtensionURLToRelativeFilePath(url);
363 return base::FilePath();
365 base::FilePath path = root.AppendASCII(host).Append(relative_path);
367 return base::FilePath();
370 return base::FilePath();
381 const base::FilePath path =
393 const base::FilePath& extension_path,
398 base::FilePath locale_path = extension_path.Append(kLocaleFolder);
424 const base::FilePath& extension_path,
447 base::FilePath GetVerifiedContentsPath(const base::FilePath& extension_path) {
451 base::FilePath GetComputedHashesPath(const base::FilePath