/external/chromium_org/webkit/browser/database/ |
vfs_backend.cc | 8 #include "base/files/file_path.h" 58 base::File VfsBackend::OpenFile(const base::FilePath& file_path, 60 DCHECK(!file_path.empty()); 65 !base::CreateDirectory(file_path.DirName())) { 93 return base::File(file_path, flags); 115 int VfsBackend::DeleteFile(const base::FilePath& file_path, bool sync_dir) { 116 if (!base::PathExists(file_path)) 118 if (!base::DeleteFile(file_path, false)) 124 base::File dir(file_path.DirName(), base::File::FLAG_READ); 137 uint32 VfsBackend::GetFileAttributes(const base::FilePath& file_path) { [all...] |
/external/chromium_org/chrome/browser/chromeos/drive/file_system/ |
touch_operation.cc | 8 #include "base/files/file_path.h" 23 // Updates the timestamps of the entry specified by |file_path|. 25 const base::FilePath& file_path, 30 FileError error = metadata->GetResourceEntryByPath(file_path, &entry); 59 void TouchOperation::TouchFile(const base::FilePath& file_path, 72 file_path, 78 file_path, 84 const base::FilePath& file_path, 92 observer_->OnDirectoryChangedByOperation(file_path.DirName());
|
/external/chromium_org/chrome/browser/chromeos/drive/fileapi/ |
file_system_backend_delegate.cc | 8 #include "base/files/file_path.h" 48 base::FilePath file_path = util::ExtractDrivePathFromFileSystemUrl(url); local 49 if (file_path.empty()) 56 file_path, offset, expected_modification_time)); 67 base::FilePath file_path = util::ExtractDrivePathFromFileSystemUrl(url); local 69 if (file_path.empty() || util::HasGDocFileExtension(file_path)) 75 context->default_file_task_runner(),file_path, offset));
|
/external/chromium_org/tools/telemetry/ |
cloud_storage | 28 file_path = root 31 file_path = path 33 return file_path, hash_path 49 file_path, hash_path = _GetPaths(path) 51 if file_path in file_buckets: 59 file_buckets[file_path] = [] 62 file_buckets[file_path].append(bucket) 105 for file_path, buckets in sorted(files.iteritems()): 108 print '%-11s %s' % (','.join(buckets), file_path) 110 print '%-11s %s' % ('not found', file_path) [all...] |
/external/chromium_org/chrome/browser/chromeos/drive/ |
dummy_file_system.h | 23 virtual void OpenFile(const base::FilePath& file_path, 34 virtual void Remove(const base::FilePath& file_path, 42 virtual void CreateFile(const base::FilePath& file_path, 46 virtual void TouchFile(const base::FilePath& file_path, 50 virtual void TruncateFile(const base::FilePath& file_path, 53 virtual void Pin(const base::FilePath& file_path, 55 virtual void Unpin(const base::FilePath& file_path, 57 virtual void GetFile(const base::FilePath& file_path, 59 virtual void GetFileForSaving(const base::FilePath& file_path, 62 const base::FilePath& file_path, [all...] |
file_system_interface.h | 69 const base::FilePath& file_path, 98 // Used to open files from the file system. |file_path| is the path on the local 105 const base::FilePath& file_path, 124 const base::FilePath& file_path)> 128 typedef base::Callback<void(FileError error, const base::FilePath& file_path)> 182 // Retrieves a file at the virtual path |file_path| on the Drive file system 188 // |file_path|. 191 virtual void OpenFile(const base::FilePath& file_path, 242 // Removes |file_path| from the file system. If |is_recursive| is set and 243 // |file_path| represents a directory, we will also delete all of it [all...] |
/external/chromium_org/build/ |
gyp_helper.py | 14 def apply_gyp_environment_from_file(file_path): 16 if not os.path.exists(file_path): 18 with open(file_path, 'rU') as f: 23 e.filename = os.path.abspath(file_path) 44 var, os.path.abspath(file_path)
|
/external/chromium_org/cc/test/ |
pixel_test_utils.cc | 17 bool WritePNGFile(const SkBitmap& bitmap, const base::FilePath& file_path, 23 base::CreateDirectory(file_path.DirName())) { 26 return base::WriteFile(file_path, data, size) == size; 31 bool ReadPNGFile(const base::FilePath& file_path, SkBitmap* bitmap) { 34 return base::ReadFileToString(file_path, &png_data) &&
|
/external/chromium_org/tools/telemetry/telemetry/page/ |
page_set.py | 25 def __init__(self, file_path=None, archive_data_file='', 29 # The default value of file_path is location of the file that define this 31 if file_path is None: 32 file_path = inspect.getfile(self.__class__) 34 if file_path.endswith('.pyc') and os.path.exists(file_path[:-1]): 35 file_path = file_path[:-1] 37 self.file_path = file_path [all...] |
/external/chromium_org/base/ |
value_conversions.cc | 10 #include "base/files/file_path.h" 23 bool GetValueAsFilePath(const Value& value, FilePath* file_path) { 27 if (file_path) 28 *file_path = FilePath::FromUTF8Unsafe(str);
|
value_conversions.h | 22 BASE_EXPORT bool GetValueAsFilePath(const Value& value, FilePath* file_path);
|
/external/chromium_org/chrome/browser/chromeos/login/users/avatar/ |
user_image.h | 65 const std::string& file_path() const { return file_path_; } function in class:chromeos::UserImage 66 void set_file_path(const std::string& file_path) { file_path_ = file_path; }
|