Home | History | Annotate | Download | only in base

Lines Matching full:filepath

24 static const base::FilePath::CharType kFileURLPrefix[] =
27 GURL FilePathToFileURL(const base::FilePath& path) {
31 base::FilePath::StringType url_string(kFileURLPrefix);
33 base::FilePath current_dir;
36 url_string.push_back(base::FilePath::kSeparators[0]);
67 bool FileURLToFilePath(const GURL& url, base::FilePath* file_path) {
68 *file_path = base::FilePath();
69 base::FilePath::StringType& file_path_str =
70 const_cast<base::FilePath::StringType&>(file_path->value());
143 base::FilePath* file_path) {
149 base::FilePath::StringType leaf_name = file_path->BaseName().value();
152 leaf_name = base::FilePath::StringType(FILE_PATH_LITERAL("_")) + leaf_name;
154 if (file_path->value() == base::FilePath::kCurrentDirectory) {
155 *file_path = base::FilePath(leaf_name);