Home | History | Annotate | Download | only in extensions

Lines Matching full:filepath

39 static bool IsScriptValid(const FilePath& path, const FilePath& relative_path,
44 FilePath InstallExtension(const FilePath& unpacked_source_dir,
47 const FilePath& all_extensions_dir) {
48 FilePath extension_dir = all_extensions_dir.AppendASCII(id);
49 FilePath version_dir;
54 return FilePath();
61 FilePath candidate = extension_dir.AppendASCII(
72 return FilePath();
76 return FilePath();
81 void UninstallExtension(const FilePath& extensions_dir,
89 scoped_refptr<Extension> LoadExtension(const FilePath& extension_path,
93 FilePath manifest_path =
147 const FilePath path = extension->GetResource(iter->second).GetFilePath();
164 FilePath image_path = extension->path().AppendASCII(val);
186 const FilePath& path = ExtensionResource::GetFilePath(
195 const FilePath& path = ExtensionResource::GetFilePath(
252 FilePath page_path = ExtensionURLToRelativeFilePath(
254 const FilePath path = extension->GetResource(page_path).GetFilePath();
267 const FilePath options_path = ExtensionURLToRelativeFilePath(
269 const FilePath path = extension->GetResource(options_path).GetFilePath();
282 FilePath page_path = ExtensionURLToRelativeFilePath(
284 const FilePath path = extension->GetResource(page_path).GetFilePath();
308 const FilePath& install_directory,
309 const std::map<std::string, FilePath>& extension_paths) {
318 FilePath extension_path;
323 FilePath basename = extension_path.BaseName();
340 std::map<std::string, FilePath>::const_iterator iter =
358 for (FilePath version_dir = versions_enumerator.Next();
371 const FilePath& extension_path,
376 FilePath locale_path = extension_path.Append(Extension::kLocaleFolder);
404 const FilePath path = extension.path().Append(Extension::kLocaleFolder);
428 const FilePath default_locale_path = path.AppendASCII(default_locale);
431 FilePath locale_path;
437 FilePath messages_path =
460 static bool IsScriptValid(const FilePath& path,
461 const FilePath& relative_path,
483 bool CheckForIllegalFilenames(const FilePath& extension_path,
486 static const FilePath::CharType* reserved_names[] = {
490 static std::set<FilePath::StringType> reserved_underscore_names(
503 FilePath file;
505 FilePath::StringType filename = file.BaseName().value();
521 FilePath ExtensionURLToRelativeFilePath(const GURL& url) {
524 return FilePath();
533 FilePath path =
535 FilePath(file_path);
537 FilePath(UTF8ToWide(file_path));
539 FilePath();
547 return FilePath();
552 FilePath GetUserDataTempDir() {
577 FilePath temp_path;
579 FilePath parent_path;
615 return FilePath();
618 void DeleteFile(const FilePath& path, bool recursive) {