File 58 android_webview/java/src/org/chromium/android_webview/AwContents.java import java.io.File; File 2048 android_webview/java/src/org/chromium/android_webview/AwContents.java if (!new File(testName).exists()) return testName; File 2052 android_webview/java/src/org/chromium/android_webview/AwContents.java if (!new File(testName).exists()) return testName; File 17 android_webview/javatests/src/org/chromium/android_webview/test/ArchiveTest.java import java.io.File; File 42 android_webview/javatests/src/org/chromium/android_webview/test/ArchiveTest.java File file = new File(path); File 76 android_webview/javatests/src/org/chromium/android_webview/test/ArchiveTest.java File file = new File(expectedPath); File 83 android_webview/javatests/src/org/chromium/android_webview/test/ArchiveTest.java assertFalse(new File(path).exists()); File 91 android_webview/javatests/src/org/chromium/android_webview/test/ArchiveTest.java final String path = new File(getActivity().getFilesDir(), "test.mht").getAbsolutePath(); File 124 android_webview/javatests/src/org/chromium/android_webview/test/ArchiveTest.java final String path = new File("/foo/bar/baz.mht").getAbsolutePath(); File 136 android_webview/javatests/src/org/chromium/android_webview/test/ArchiveTest.java final String path = new File("/foo/bar/").getAbsolutePath(); File 37 android_webview/javatests/src/org/chromium/android_webview/test/AwSettingsTest.java import java.io.File; File 2739 android_webview/javatests/src/org/chromium/android_webview/test/AwSettingsTest.java File file = new File(filePath); File 20 android_webview/javatests/src/org/chromium/android_webview/test/LoadDataWithBaseUrlTest.java import java.io.File; File 302 android_webview/javatests/src/org/chromium/android_webview/test/LoadDataWithBaseUrlTest.java File cacheDir = getActivity().getCacheDir(); File 303 android_webview/javatests/src/org/chromium/android_webview/test/LoadDataWithBaseUrlTest.java File tempImage = File.createTempFile("test_image", ".png", cacheDir); File 27 base/android/content_uri_utils.cc File OpenContentUriForRead(const FilePath& content_uri) { File 34 base/android/content_uri_utils.cc return File(); File 35 base/android/content_uri_utils.cc return File(fd); File 21 base/android/content_uri_utils.h BASE_EXPORT File OpenContentUriForRead(const FilePath& content_uri); File 10 base/android/java/src/org/chromium/base/CommandLine.java import java.io.File; File 214 base/android/java/src/org/chromium/base/CommandLine.java File f = new File(fileName); File 15 base/android/java/src/org/chromium/base/PerfTraceEvent.java import java.io.File; File 42 base/android/java/src/org/chromium/base/PerfTraceEvent.java private static File sOutputFile = null; File 336 base/android/java/src/org/chromium/base/PerfTraceEvent.java public static synchronized void setOutputFile(File file) { File 13 base/android/java/src/org/chromium/base/library_loader/LibraryLoaderHelper.java import java.io.File; File 92 base/android/java/src/org/chromium/base/library_loader/LibraryLoaderHelper.java File libFile = getWorkaroundLibFile(context, library); File 111 base/android/java/src/org/chromium/base/library_loader/LibraryLoaderHelper.java public static File getWorkaroundLibDir(Context context) { File 115 base/android/java/src/org/chromium/base/library_loader/LibraryLoaderHelper.java private static File getWorkaroundLibFile(Context context, String library) { File 117 base/android/java/src/org/chromium/base/library_loader/LibraryLoaderHelper.java return new File(getWorkaroundLibDir(context), libName); File 135 base/android/java/src/org/chromium/base/library_loader/LibraryLoaderHelper.java File libDir = getWorkaroundLibDir(context); File 140 base/android/java/src/org/chromium/base/library_loader/LibraryLoaderHelper.java ZipFile file = new ZipFile(new File(appInfo.sourceDir), ZipFile.OPEN_READ); File 153 base/android/java/src/org/chromium/base/library_loader/LibraryLoaderHelper.java File outputFile = getWorkaroundLibFile(context, libName); File 226 base/android/java/src/org/chromium/base/library_loader/LibraryLoaderHelper.java File libDir = getWorkaroundLibDir(context); File 230 base/android/java/src/org/chromium/base/library_loader/LibraryLoaderHelper.java private static void deleteDirectorySync(File dir) { File 232 base/android/java/src/org/chromium/base/library_loader/LibraryLoaderHelper.java File[] files = dir.listFiles(); File 234 base/android/java/src/org/chromium/base/library_loader/LibraryLoaderHelper.java for (File file : files) { File 15 base/android/java/src/org/chromium/base/library_loader/Linker.java import java.io.File; File 652 base/android/java/src/org/chromium/base/library_loader/Linker.java input = new FileInputStream(new File("/dev/urandom")); File 13 base/android/javatests/src/org/chromium/base/LibraryLoaderHelperTest.java import java.io.File; File 33 base/android/javatests/src/org/chromium/base/LibraryLoaderHelperTest.java File libDir = LibraryLoaderHelper.getWorkaroundLibDir(context); File 26 base/file_descriptor_posix.h FileDescriptor(File file) : fd(file.TakePlatformFile()), auto_close(true) {} File 190 base/file_util.cc File::Info info; File 200 base/file_util.cc int flags = File::FLAG_OPEN | File::FLAG_WRITE_ATTRIBUTES; File 205 base/file_util.cc flags |= File::FLAG_BACKUP_SEMANTICS; File 208 base/file_util.cc File file(path, flags); File 96 base/file_util.h File::Error* error); File 259 base/file_util.h File::Error* error); File 295 base/file_util.h BASE_EXPORT bool GetFileInfo(const FilePath& file_path, File::Info* info); File 240 base/file_util_posix.cc File::Error* error) { File 245 base/file_util_posix.cc *error = File::OSErrorToFileError(errno); File 560 base/file_util_posix.cc File::Error* error) { File 587 base/file_util_posix.cc *error = File::OSErrorToFileError(saved_errno); File 625 base/file_util_posix.cc bool GetFileInfo(const FilePath& file_path, File::Info* results) { File 629 base/file_util_posix.cc File file = OpenContentUriForRead(file_path); File 2037 base/file_util_unittest.cc File::Info file_info; File 2454 base/file_util_unittest.cc File file = OpenContentUriForRead(path); File 2469 base/file_util_unittest.cc File file = OpenContentUriForRead(path); File 57 base/file_util_win.cc File::Info file_info; File 109 base/file_util_win.cc File::Error* error) { File 124 base/file_util_win.cc *error = File::OSErrorToFileError(GetLastError()); File 368 base/file_util_win.cc File::Error* error) { File 383 base/file_util_win.cc *error = File::FILE_ERROR_NOT_A_DIRECTORY; File 396 base/file_util_win.cc *error = File::FILE_ERROR_NOT_FOUND; File 403 base/file_util_win.cc DCHECK(*error != File::FILE_OK); File 418 base/file_util_win.cc *error = File::OSErrorToFileError(error_code); File 545 base/file_util_win.cc bool GetFileInfo(const FilePath& file_path, File::Info* results) { File 12 base/files/file.cc File::Info::Info() File 18 base/files/file.cc File::Info::~Info() { File 21 base/files/file.cc File::File() File 29 base/files/file.cc File::File(const FilePath& name, uint32 flags) File 38 base/files/file.cc File::File(PlatformFile platform_file) File 48 base/files/file.cc File::File(Error error_details) File 55 base/files/file.cc File::File(RValue other) File 62 base/files/file.cc File::~File() { File 65 base/files/file.cc File& File::operator=(RValue other) { File 77 base/files/file.cc void File::Initialize(const FilePath& name, uint32 flags) { File 53 base/files/file.h class BASE_EXPORT File { File 54 base/files/file.h MOVE_ONLY_TYPE_FOR_CPP_03(File, RValue) File 156 base/files/file.h File(); File 160 base/files/file.h File(const FilePath& name, uint32 flags); File 163 base/files/file.h explicit File(PlatformFile platform_file); File 166 base/files/file.h explicit File(Error error_details); File 169 base/files/file.h File(RValue other); File 171 base/files/file.h ~File(); File 174 base/files/file.h File& operator=(RValue other); File 152 base/files/file_path_watcher_win.cc File::Info file_info; File 233 base/files/file_path_watcher_win.cc File::Info file_info; File 28 base/files/file_posix.cc COMPILE_ASSERT(File::FROM_BEGIN == SEEK_SET && File 29 base/files/file_posix.cc File::FROM_CURRENT == SEEK_CUR && File 30 base/files/file_posix.cc File::FROM_END == SEEK_END, whence_matches_system); File 78 base/files/file_posix.cc static File::Error CallFctnlFlock(PlatformFile file, bool do_lock) { File 85 base/files/file_posix.cc return File::OSErrorToFileError(errno); File 86 base/files/file_posix.cc return File::FILE_OK; File 112 base/files/file_posix.cc static File::Error CallFctnlFlock(PlatformFile file, bool do_lock) { File 114 base/files/file_posix.cc return File::FILE_ERROR_INVALID_OPERATION; File 120 base/files/file_posix.cc void File::Info::FromStat(const stat_wrapper_t& stat_info) { File 174 base/files/file_posix.cc void File::InitializeUnsafe(const FilePath& name, uint32 flags) { File 243 base/files/file_posix.cc error_details_ = File::OSErrorToFileError(errno); File 259 base/files/file_posix.cc bool File::IsValid() const { File 263 base/files/file_posix.cc PlatformFile File::GetPlatformFile() const { File 267 base/files/file_posix.cc PlatformFile File::TakePlatformFile() { File 271 base/files/file_posix.cc void File::Close() { File 279 base/files/file_posix.cc int64 File::Seek(Whence whence, int64 offset) { File 289 base/files/file_posix.cc int File::Read(int64 offset, char* data, int size) { File 309 base/files/file_posix.cc int File::ReadAtCurrentPos(char* data, int size) { File 328 base/files/file_posix.cc int File::ReadNoBestEffort(int64 offset, char* data, int size) { File 335 base/files/file_posix.cc int File::ReadAtCurrentPosNoBestEffort(char* data, int size) { File 344 base/files/file_posix.cc int File::Write(int64 offset, const char* data, int size) { File 368 base/files/file_posix.cc int File::WriteAtCurrentPos(const char* data, int size) { File 388 base/files/file_posix.cc int File::WriteAtCurrentPosNoBestEffort(const char* data, int size) { File 397 base/files/file_posix.cc int64 File::GetLength() { File 407 base/files/file_posix.cc bool File::SetLength(int64 length) { File 413 base/files/file_posix.cc bool File::Flush() { File 419 base/files/file_posix.cc bool File::SetTimes(Time last_access_time, Time last_modified_time) { File 430 base/files/file_posix.cc bool File::GetInfo(Info* info) { File 441 base/files/file_posix.cc File::Error File::Lock() { File 445 base/files/file_posix.cc File::Error File::Unlock() { File 450 base/files/file_posix.cc File::Error File::OSErrorToFileError(int saved_errno) { File 482 base/files/file_posix.cc void File::SetPlatformFile(PlatformFile file) { File 20 base/files/file_proxy.cc FileHelper(FileProxy* proxy, File file) File 23 base/files/file_proxy.cc error_(File::FILE_ERROR_FAILED) { File 32 base/files/file_proxy.cc File file_; File 34 base/files/file_proxy.cc File::Error error_; File 44 base/files/file_proxy.cc GenericFileHelper(FileProxy* proxy, File file) File 50 base/files/file_proxy.cc error_ = File::FILE_OK; File 55 base/files/file_proxy.cc error_ = rv ? File::FILE_OK : File::FILE_ERROR_FAILED; File 60 base/files/file_proxy.cc error_ = File::FILE_OK; File 65 base/files/file_proxy.cc error_ = File::FILE_OK; File 80 base/files/file_proxy.cc CreateOrOpenHelper(FileProxy* proxy, File file) File 86 base/files/file_proxy.cc error_ = file_.IsValid() ? File::FILE_OK : file_.error_details(); File 101 base/files/file_proxy.cc CreateTemporaryHelper(FileProxy* proxy, File file) File 111 base/files/file_proxy.cc error_ = File::FILE_ERROR_FAILED; File 115 base/files/file_proxy.cc uint32 file_flags = File::FLAG_WRITE | File 116 base/files/file_proxy.cc File::FLAG_TEMPORARY | File 117 base/files/file_proxy.cc File::FLAG_CREATE_ALWAYS | File 122 base/files/file_proxy.cc error_ = File::FILE_OK; File 143 base/files/file_proxy.cc GetInfoHelper(FileProxy* proxy, File file) File 149 base/files/file_proxy.cc error_ = File::FILE_OK; File 159 base/files/file_proxy.cc File::Info file_info_; File 165 base/files/file_proxy.cc ReadHelper(FileProxy* proxy, File file, int bytes_to_read) File 174 base/files/file_proxy.cc error_ = (bytes_read_ < 0) ? File::FILE_ERROR_FAILED : File::FILE_OK; File 193 base/files/file_proxy.cc File file, File 204 base/files/file_proxy.cc error_ = (bytes_written_ < 0) ? File::FILE_ERROR_FAILED : File::FILE_OK; File 235 base/files/file_proxy.cc CreateOrOpenHelper* helper = new CreateOrOpenHelper(this, File()); File 246 base/files/file_proxy.cc CreateTemporaryHelper* helper = new CreateTemporaryHelper(this, File()); File 258 base/files/file_proxy.cc File FileProxy::TakeFile() { File 340 base/files/file_proxy.cc void FileProxy::SetFile(File file) { File 50 base/files/file_proxy.h typedef Callback<void(File::Error)> StatusCallback; File 52 base/files/file_proxy.h typedef Callback<void(File::Error, File 54 base/files/file_proxy.h typedef Callback<void(File::Error, File 55 base/files/file_proxy.h const File::Info&)> GetFileInfoCallback; File 56 base/files/file_proxy.h typedef Callback<void(File::Error, File 59 base/files/file_proxy.h typedef Callback<void(File::Error, File 94 base/files/file_proxy.h File TakeFile(); File 133 base/files/file_proxy.h void SetFile(File file); File 136 base/files/file_proxy.h File file_; File 25 base/files/file_proxy_unittest.cc error_(File::FILE_OK), File 34 base/files/file_proxy_unittest.cc void DidFinish(File::Error error) { File 39 base/files/file_proxy_unittest.cc void DidCreateOrOpen(File::Error error) { File 44 base/files/file_proxy_unittest.cc void DidCreateTemporary(File::Error error, File 51 base/files/file_proxy_unittest.cc void DidGetFileInfo(File::Error error, File 52 base/files/file_proxy_unittest.cc const File::Info& file_info) { File 58 base/files/file_proxy_unittest.cc void DidRead(File::Error error, File 67 base/files/file_proxy_unittest.cc void DidWrite(File::Error error, File 93 base/files/file_proxy_unittest.cc File::Error error_; File 95 base/files/file_proxy_unittest.cc File::Info file_info_; File 105 base/files/file_proxy_unittest.cc File::FLAG_CREATE | File::FLAG_READ, File 109 base/files/file_proxy_unittest.cc EXPECT_EQ(File::FILE_OK, error_); File 124 base/files/file_proxy_unittest.cc File::FLAG_OPEN | File::FLAG_READ, File 128 base/files/file_proxy_unittest.cc EXPECT_EQ(File::FILE_OK, error_); File 137 base/files/file_proxy_unittest.cc File::FLAG_OPEN | File::FLAG_READ, File 140 base/files/file_proxy_unittest.cc EXPECT_EQ(File::FILE_ERROR_NOT_FOUND, error_); File 149 base/files/file_proxy_unittest.cc CreateProxy(File::FLAG_CREATE | File::FLAG_WRITE, &proxy); File 158 base/files/file_proxy_unittest.cc EXPECT_EQ(File::FILE_OK, error_); File 174 base/files/file_proxy_unittest.cc EXPECT_EQ(File::FILE_OK, error_); File 181 base/files/file_proxy_unittest.cc EXPECT_EQ(File::FILE_OK, error_); File 197 base/files/file_proxy_unittest.cc File::Info expected_info; File 202 base/files/file_proxy_unittest.cc CreateProxy(File::FLAG_OPEN | File::FLAG_READ, &proxy); File 208 base/files/file_proxy_unittest.cc EXPECT_EQ(File::FILE_OK, error_); File 225 base/files/file_proxy_unittest.cc CreateProxy(File::FLAG_OPEN | File::FLAG_READ, &proxy); File 231 base/files/file_proxy_unittest.cc EXPECT_EQ(File::FILE_OK, error_); File 240 base/files/file_proxy_unittest.cc CreateProxy(File::FLAG_CREATE | File::FLAG_WRITE, &proxy); File 247 base/files/file_proxy_unittest.cc EXPECT_EQ(File::FILE_OK, error_); File 254 base/files/file_proxy_unittest.cc EXPECT_EQ(File::FILE_OK, error_); File 267 base/files/file_proxy_unittest.cc File::FLAG_CREATE | File::FLAG_WRITE | File::FLAG_WRITE_ATTRIBUTES, File 276 base/files/file_proxy_unittest.cc EXPECT_EQ(File::FILE_OK, error_); File 278 base/files/file_proxy_unittest.cc File::Info info; File 293 base/files/file_proxy_unittest.cc File::Info info; File 299 base/files/file_proxy_unittest.cc CreateProxy(File::FLAG_OPEN | File::FLAG_WRITE, &proxy); File 319 base/files/file_proxy_unittest.cc File::Info info; File 325 base/files/file_proxy_unittest.cc CreateProxy(File::FLAG_OPEN | File::FLAG_WRITE, &proxy); File 11 base/files/file_unittest.cc using base::File; File 21 base/files/file_unittest.cc File file; File 23 base/files/file_unittest.cc EXPECT_EQ(base::File::FILE_ERROR_FAILED, file.error_details()); File 25 base/files/file_unittest.cc File file2(base::File::FILE_ERROR_TOO_MANY_OPENED); File 27 base/files/file_unittest.cc EXPECT_EQ(base::File::FILE_ERROR_TOO_MANY_OPENED, file2.error_details()); File 32 base/files/file_unittest.cc File file(file_path, base::File::FLAG_OPEN | base::File::FLAG_READ); File 34 base/files/file_unittest.cc EXPECT_EQ(base::File::FILE_ERROR_NOT_FOUND, file.error_details()); File 39 base/files/file_unittest.cc File file(file_path, base::File::FLAG_OPEN_ALWAYS | base::File::FLAG_READ); File 42 base/files/file_unittest.cc EXPECT_EQ(base::File::FILE_OK, file.error_details()); File 47 base/files/file_unittest.cc File file(file_path, base::File::FLAG_OPEN | base::File::FLAG_READ); File 50 base/files/file_unittest.cc EXPECT_EQ(base::File::FILE_OK, file.error_details()); File 59 base/files/file_unittest.cc File file; File 60 base/files/file_unittest.cc file.Initialize(file_path, base::File::FLAG_OPEN | base::File::FLAG_READ); File 63 base/files/file_unittest.cc EXPECT_EQ(base::File::FILE_OK, file.error_details()); File 72 base/files/file_unittest.cc File file(file_path, base::File::FLAG_CREATE | base::File::FLAG_READ); File 75 base/files/file_unittest.cc EXPECT_EQ(base::File::FILE_ERROR_EXISTS, file.error_details()); File 80 base/files/file_unittest.cc File file(file_path, File 81 base/files/file_unittest.cc base::File::FLAG_CREATE_ALWAYS | base::File::FLAG_READ); File 84 base/files/file_unittest.cc EXPECT_EQ(base::File::FILE_OK, file.error_details()); File 90 base/files/file_unittest.cc File file(file_path, File 91 base/files/file_unittest.cc base::File::FLAG_OPEN_ALWAYS | base::File::FLAG_READ | File 92 base/files/file_unittest.cc base::File::FLAG_DELETE_ON_CLOSE); File 95 base/files/file_unittest.cc EXPECT_EQ(base::File::FILE_OK, file.error_details()); File 107 base/files/file_unittest.cc File file(file_path, base::File::FLAG_OPEN_ALWAYS | base::File::FLAG_ASYNC); File 113 base/files/file_unittest.cc File file(file_path, base::File::FLAG_OPEN_ALWAYS); File 125 base/files/file_unittest.cc File file(file_path, File 126 base/files/file_unittest.cc base::File::FLAG_OPEN_ALWAYS | base::File::FLAG_READ | File 127 base/files/file_unittest.cc base::File::FLAG_SHARE_DELETE); File 130 base/files/file_unittest.cc EXPECT_EQ(base::File::FILE_OK, file.error_details()); File 133 base/files/file_unittest.cc File same_file(file_path, File 134 base/files/file_unittest.cc base::File::FLAG_OPEN | base::File::FLAG_DELETE_ON_CLOSE | File 135 base/files/file_unittest.cc base::File::FLAG_READ); File 138 base/files/file_unittest.cc EXPECT_EQ(base::File::FILE_OK, same_file.error_details()); File 150 base/files/file_unittest.cc File file(file_path, File 151 base/files/file_unittest.cc base::File::FLAG_CREATE | base::File::FLAG_READ | File 152 base/files/file_unittest.cc base::File::FLAG_WRITE); File 222 base/files/file_unittest.cc File file(file_path, base::File::FLAG_CREATE | base::File::FLAG_APPEND); File 237 base/files/file_unittest.cc File file2(file_path, File 238 base/files/file_unittest.cc base::File::FLAG_OPEN | base::File::FLAG_READ | File 239 base/files/file_unittest.cc base::File::FLAG_APPEND); File 270 base/files/file_unittest.cc File file(file_path, File 271 base/files/file_unittest.cc base::File::FLAG_CREATE | base::File::FLAG_READ | File 272 base/files/file_unittest.cc base::File::FLAG_WRITE); File 321 base/files/file_unittest.cc File file(temp_dir.path().AppendASCII("touch_get_info_file"), File 322 base/files/file_unittest.cc base::File::FLAG_CREATE | base::File::FLAG_WRITE | File 323 base/files/file_unittest.cc base::File::FLAG_WRITE_ATTRIBUTES); File 327 base/files/file_unittest.cc base::File::Info info; File 385 base/files/file_unittest.cc File file(file_path, File 386 base/files/file_unittest.cc base::File::FLAG_CREATE | base::File::FLAG_READ | File 387 base/files/file_unittest.cc base::File::FLAG_WRITE); File 394 base/files/file_unittest.cc EXPECT_EQ(0, file.Seek(base::File::FROM_BEGIN, 0)); File 409 base/files/file_unittest.cc File file(file_path, File 410 base/files/file_unittest.cc base::File::FLAG_CREATE | base::File::FLAG_READ | File 411 base/files/file_unittest.cc base::File::FLAG_WRITE); File 435 base/files/file_unittest.cc base::File dir( File 445 base/files/file_unittest.cc base::File::Info info; File 23 base/files/file_util_proxy.cc callback.Run(value ? File::FILE_OK : File::FILE_ERROR_FAILED); File 35 base/files/file_util_proxy.cc error_(File::FILE_OK) {} File 59 base/files/file_util_proxy.cc File::Error error_; File 68 base/files/file_util_proxy.cc error_(File::FILE_OK) {} File 83 base/files/file_util_proxy.cc error_ = File::FILE_ERROR_FAILED; File 93 base/files/file_util_proxy.cc error_ = File::FILE_OK; File 98 base/files/file_util_proxy.cc if (error_ != File::FILE_OK) { File 113 base/files/file_util_proxy.cc File::Error error_; File 120 base/files/file_util_proxy.cc : error_(File::FILE_OK) {} File 124 base/files/file_util_proxy.cc error_ = File::FILE_ERROR_NOT_FOUND; File 128 base/files/file_util_proxy.cc if (!GetFileInfo(file_path, reinterpret_cast<File::Info*>(&file_info_))) File 129 base/files/file_util_proxy.cc error_ = File::FILE_ERROR_FAILED; File 135 base/files/file_util_proxy.cc error_ = File::FILE_ERROR_FAILED; File 146 base/files/file_util_proxy.cc File::Error error_; File 147 base/files/file_util_proxy.cc File::Info file_info_; File 164 base/files/file_util_proxy.cc File::Error error = File 165 base/files/file_util_proxy.cc (bytes_read_ < 0) ? File::FILE_ERROR_FAILED : File::FILE_OK; File 193 base/files/file_util_proxy.cc File::Error error = File 194 base/files/file_util_proxy.cc (bytes_written_ < 0) ? File::FILE_ERROR_FAILED : File::FILE_OK; File 206 base/files/file_util_proxy.cc File::Error CreateOrOpenAdapter( File 213 base/files/file_util_proxy.cc return File::FILE_ERROR_NOT_FOUND; File 215 base/files/file_util_proxy.cc File::Error error = File::FILE_OK; File 222 base/files/file_util_proxy.cc File::Error CloseAdapter(PlatformFile file_handle) { File 224 base/files/file_util_proxy.cc return File::FILE_ERROR_FAILED; File 226 base/files/file_util_proxy.cc return File::FILE_OK; File 229 base/files/file_util_proxy.cc File::Error DeleteAdapter(const FilePath& file_path, bool recursive) { File 231 base/files/file_util_proxy.cc return File::FILE_ERROR_NOT_FOUND; File 235 base/files/file_util_proxy.cc return File::FILE_ERROR_NOT_EMPTY; File 237 base/files/file_util_proxy.cc return File::FILE_ERROR_FAILED; File 239 base/files/file_util_proxy.cc return File::FILE_OK; File 30 base/files/file_util_proxy.h typedef Callback<void(File::Error)> StatusCallback; File 32 base/files/file_util_proxy.h typedef Callback<void(File::Error, File 35 base/files/file_util_proxy.h typedef Callback<void(File::Error, File 38 base/files/file_util_proxy.h typedef Callback<void(File::Error, File 39 base/files/file_util_proxy.h const File::Info&)> GetFileInfoCallback; File 40 base/files/file_util_proxy.h typedef Callback<void(File::Error, File 43 base/files/file_util_proxy.h typedef Callback<void(File::Error, File 46 base/files/file_util_proxy.h typedef Callback<File::Error(PlatformFile*, bool*)> CreateOrOpenTask; File 47 base/files/file_util_proxy.h typedef Callback<File::Error(PlatformFile)> CloseTask; File 48 base/files/file_util_proxy.h typedef Callback<File::Error(void)> FileTask; File 25 base/files/file_util_proxy_unittest.cc error_(File::FILE_OK), File 41 base/files/file_util_proxy_unittest.cc void DidFinish(File::Error error) { File 46 base/files/file_util_proxy_unittest.cc void DidCreateOrOpen(File::Error error, File 55 base/files/file_util_proxy_unittest.cc void DidCreateTemporary(File::Error error, File 64 base/files/file_util_proxy_unittest.cc void DidGetFileInfo(File::Error error, File 65 base/files/file_util_proxy_unittest.cc const File::Info& file_info) { File 71 base/files/file_util_proxy_unittest.cc void DidRead(File::Error error, File 80 base/files/file_util_proxy_unittest.cc void DidWrite(File::Error error, File 109 base/files/file_util_proxy_unittest.cc File::Error error_; File 113 base/files/file_util_proxy_unittest.cc File::Info file_info_; File 127 base/files/file_util_proxy_unittest.cc EXPECT_EQ(File::FILE_OK, error_); File 146 base/files/file_util_proxy_unittest.cc EXPECT_EQ(File::FILE_OK, error_); File 158 base/files/file_util_proxy_unittest.cc EXPECT_EQ(File::FILE_ERROR_NOT_FOUND, error_); File 180 base/files/file_util_proxy_unittest.cc EXPECT_EQ(File::FILE_OK, error_); File 191 base/files/file_util_proxy_unittest.cc EXPECT_EQ(File::FILE_OK, error_); File 227 base/files/file_util_proxy_unittest.cc File::Info expected_info; File 238 base/files/file_util_proxy_unittest.cc EXPECT_EQ(File::FILE_OK, error_); File 250 base/files/file_util_proxy_unittest.cc File::Info expected_info; File 261 base/files/file_util_proxy_unittest.cc EXPECT_EQ(File::FILE_OK, error_); File 287 base/files/file_util_proxy_unittest.cc EXPECT_EQ(File::FILE_OK, error_); File 308 base/files/file_util_proxy_unittest.cc EXPECT_EQ(File::FILE_OK, error_); File 318 base/files/file_util_proxy_unittest.cc EXPECT_EQ(File::FILE_OK, error_); File 341 base/files/file_util_proxy_unittest.cc EXPECT_EQ(File::FILE_OK, error_); File 343 base/files/file_util_proxy_unittest.cc File::Info info; File 358 base/files/file_util_proxy_unittest.cc File::Info info; File 385 base/files/file_util_proxy_unittest.cc File::Info info; File 16 base/files/file_win.cc void File::InitializeUnsafe(const FilePath& name, uint32 flags) { File 99 base/files/file_win.cc bool File::IsValid() const { File 103 base/files/file_win.cc PlatformFile File::GetPlatformFile() const { File 107 base/files/file_win.cc PlatformFile File::TakePlatformFile() { File 111 base/files/file_win.cc void File::Close() { File 118 base/files/file_win.cc int64 File::Seek(Whence whence, int64 offset) { File 132 base/files/file_win.cc int File::Read(int64 offset, char* data, int size) { File 155 base/files/file_win.cc int File::ReadAtCurrentPos(char* data, int size) { File 171 base/files/file_win.cc int File::ReadNoBestEffort(int64 offset, char* data, int size) { File 175 base/files/file_win.cc int File::ReadAtCurrentPosNoBestEffort(char* data, int size) { File 179 base/files/file_win.cc int File::Write(int64 offset, const char* data, int size) { File 198 base/files/file_win.cc int File::WriteAtCurrentPos(const char* data, int size) { File 212 base/files/file_win.cc int File::WriteAtCurrentPosNoBestEffort(const char* data, int size) { File 216 base/files/file_win.cc int64 File::GetLength() { File 226 base/files/file_win.cc bool File::SetLength(int64 length) { File 254 base/files/file_win.cc bool File::Flush() { File 260 base/files/file_win.cc bool File::SetTimes(Time last_access_time, Time last_modified_time) { File 270 base/files/file_win.cc bool File::GetInfo(Info* info) { File 291 base/files/file_win.cc File::Error base::File::Lock() { File 299 base/files/file_win.cc File::Error File::Unlock() { File 308 base/files/file_win.cc File::Error File::OSErrorToFileError(DWORD last_error) { File 344 base/files/file_win.cc void File::SetPlatformFile(PlatformFile file) { File 67 base/files/important_file_writer.cc File tmp_file(tmp_file_path, File::FLAG_OPEN | File::FLAG_WRITE); File 20 base/files/memory_mapped_file.cc file_.Initialize(file_name, File::FLAG_OPEN | File::FLAG_READ); File 35 base/files/memory_mapped_file.cc bool MemoryMappedFile::Initialize(File file) { File 36 base/files/memory_mapped_file.h bool Initialize(File file); File 58 base/files/memory_mapped_file.h File file_; File 101 base/files/scoped_temp_dir_unittest.cc base::File file(dir.path().Append(FILE_PATH_LITERAL("temp")), File 102 base/files/scoped_temp_dir_unittest.cc base::File::FLAG_CREATE_ALWAYS | base::File::FLAG_WRITE); File 104 base/files/scoped_temp_dir_unittest.cc EXPECT_EQ(base::File::FILE_OK, file.error_details()); File 391 base/nix/mime_util_xdg.cc File::Info file_info; File 75 base/sys_info_chromeos.cc File::Info fileinfo; File 7 base/test/android/javatests/src/org/chromium/base/test/util/TestFileUtil.java import java.io.File; File 24 base/test/android/javatests/src/org/chromium/base/test/util/TestFileUtil.java File file = new File(name); File 46 base/test/android/javatests/src/org/chromium/base/test/util/TestFileUtil.java File file = new File(name); File 61 base/test/android/javatests/src/org/chromium/base/test/util/TestFileUtil.java File f = new File(fileName); File 18 chrome/android/java/src/org/chromium/chrome/browser/IntentHelper.java import java.io.File; File 67 chrome/android/java/src/org/chromium/chrome/browser/IntentHelper.java File fileIn = new File(fileToAttach); File 11 chrome/android/java/src/org/chromium/chrome/browser/WebappAuthenticator.java import java.io.File; File 92 chrome/android/java/src/org/chromium/chrome/browser/WebappAuthenticator.java File file = context.getFileStreamPath(basename); File 125 chrome/android/java/src/org/chromium/chrome/browser/WebappAuthenticator.java File file = context.getFileStreamPath(basename); File 23 chrome/android/javatests/src/org/chromium/chrome/browser/printing/PrintingControllerTest.java import java.io.File; File 90 chrome/android/javatests/src/org/chromium/chrome/browser/printing/PrintingControllerTest.java final File cacheDir = getInstrumentation().getTargetContext().getCacheDir(); File 91 chrome/android/javatests/src/org/chromium/chrome/browser/printing/PrintingControllerTest.java final File tempFile = File.createTempFile(TEMP_FILE_NAME, TEMP_FILE_EXTENSION, cacheDir); File 715 chrome/app/chrome_main_delegate.cc ResourceBundle::InitSharedInstanceWithPakFile(base::File(locale_pak_fd), File 727 chrome/app/chrome_main_delegate.cc base::File(pak_fd), ui::SCALE_FACTOR_100P); File 171 chrome/browser/bookmarks/bookmark_html_writer.cc int flags = base::File::FLAG_CREATE_ALWAYS | base::File::FLAG_WRITE; File 172 chrome/browser/bookmarks/bookmark_html_writer.cc file_.reset(new base::File(path_, flags)); File 374 chrome/browser/bookmarks/bookmark_html_writer.cc scoped_ptr<base::File> file_; File 89 chrome/browser/browsing_data/browsing_data_database_helper.cc base::File::Info file_info; File 99 chrome/browser/browsing_data/browsing_data_file_system_helper_unittest.cc base::File::Error error) { File 114 chrome/browser/browsing_data/browsing_data_file_system_helper_unittest.cc return open_file_system_result_ == base::File::FILE_OK; File 179 chrome/browser/browsing_data/browsing_data_file_system_helper_unittest.cc EXPECT_EQ(base::File::FILE_OK, open_file_system_result_); File 193 chrome/browser/browsing_data/browsing_data_file_system_helper_unittest.cc base::File::Error open_file_system_result_; File 2627 chrome/browser/chrome_content_browser_client.cc int flags = base::File::FLAG_OPEN | base::File::FLAG_READ; File 2630 chrome/browser/chrome_content_browser_client.cc base::File file(chrome_resources_pak, flags); File 189 chrome/browser/chromeos/accessibility/accessibility_manager.cc const extensions::UserScript::File &file = script.js_scripts()[j]; File 75 chrome/browser/chromeos/drive/file_errors.cc base::File::Error FileErrorToBaseFileError(FileError error) { File 78 chrome/browser/chromeos/drive/file_errors.cc return base::File::FILE_OK; File 81 chrome/browser/chromeos/drive/file_errors.cc return base::File::FILE_ERROR_FAILED; File 84 chrome/browser/chromeos/drive/file_errors.cc return base::File::FILE_ERROR_IN_USE; File 87 chrome/browser/chromeos/drive/file_errors.cc return base::File::FILE_ERROR_EXISTS; File 90 chrome/browser/chromeos/drive/file_errors.cc return base::File::FILE_ERROR_NOT_FOUND; File 93 chrome/browser/chromeos/drive/file_errors.cc return base::File::FILE_ERROR_ACCESS_DENIED; File 96 chrome/browser/chromeos/drive/file_errors.cc return base::File::FILE_ERROR_TOO_MANY_OPENED; File 99 chrome/browser/chromeos/drive/file_errors.cc return base::File::FILE_ERROR_NO_MEMORY; File 102 chrome/browser/chromeos/drive/file_errors.cc return base::File::FILE_ERROR_NO_SPACE; File 105 chrome/browser/chromeos/drive/file_errors.cc return base::File::FILE_ERROR_NOT_A_DIRECTORY; File 108 chrome/browser/chromeos/drive/file_errors.cc return base::File::FILE_ERROR_INVALID_OPERATION; File 111 chrome/browser/chromeos/drive/file_errors.cc return base::File::FILE_ERROR_SECURITY; File 114 chrome/browser/chromeos/drive/file_errors.cc return base::File::FILE_ERROR_ABORT; File 117 chrome/browser/chromeos/drive/file_errors.cc return base::File::FILE_ERROR_NOT_A_FILE; File 120 chrome/browser/chromeos/drive/file_errors.cc return base::File::FILE_ERROR_NOT_EMPTY; File 123 chrome/browser/chromeos/drive/file_errors.cc return base::File::FILE_ERROR_INVALID_URL; File 126 chrome/browser/chromeos/drive/file_errors.cc return base::File::FILE_ERROR_FAILED; File 129 chrome/browser/chromeos/drive/file_errors.cc return base::File::FILE_ERROR_FAILED; File 132 chrome/browser/chromeos/drive/file_errors.cc return base::File::FILE_ERROR_FAILED; File 136 chrome/browser/chromeos/drive/file_errors.cc return base::File::FILE_ERROR_FAILED; File 43 chrome/browser/chromeos/drive/file_errors.h base::File::Error FileErrorToBaseFileError(FileError error); File 81 chrome/browser/chromeos/drive/file_system.cc base::File::Info file_info; File 102 chrome/browser/chromeos/drive/file_system/download_operation.cc base::File::Info file_info; File 113 chrome/browser/chromeos/drive/file_system/download_operation.cc reinterpret_cast<base::File::Info*>(&file_info))) File 164 chrome/browser/chromeos/drive/file_system/download_operation.cc base::File::Info file_info; File 44 chrome/browser/chromeos/drive/file_system/truncate_operation.cc base::File file(local_cache_path, File 45 chrome/browser/chromeos/drive/file_system/truncate_operation.cc base::File::FLAG_OPEN | base::File::FLAG_WRITE); File 51 chrome/browser/chromeos/drive/fileapi/async_file_util.cc base::File::Error error, File 69 chrome/browser/chromeos/drive/fileapi/async_file_util.cc base::File::Error error) { File 81 chrome/browser/chromeos/drive/fileapi/async_file_util.cc base::File::Error error) { File 85 chrome/browser/chromeos/drive/fileapi/async_file_util.cc bool created = (error == base::File::FILE_OK); File 88 chrome/browser/chromeos/drive/fileapi/async_file_util.cc if (error == base::File::FILE_ERROR_EXISTS) File 89 chrome/browser/chromeos/drive/fileapi/async_file_util.cc error = base::File::FILE_OK; File 97 chrome/browser/chromeos/drive/fileapi/async_file_util.cc base::File::Error error, File 98 chrome/browser/chromeos/drive/fileapi/async_file_util.cc const base::File::Info& file_info, File 132 chrome/browser/chromeos/drive/fileapi/async_file_util.cc callback.Run(base::File::FILE_ERROR_NOT_FOUND, File 147 chrome/browser/chromeos/drive/fileapi/async_file_util.cc callback, base::File::FILE_ERROR_FAILED)); File 158 chrome/browser/chromeos/drive/fileapi/async_file_util.cc callback.Run(base::File::FILE_ERROR_NOT_FOUND, false); File 168 chrome/browser/chromeos/drive/fileapi/async_file_util.cc base::Bind(callback, base::File::FILE_ERROR_FAILED, false)); File 181 chrome/browser/chromeos/drive/fileapi/async_file_util.cc callback.Run(base::File::FILE_ERROR_NOT_FOUND); File 190 chrome/browser/chromeos/drive/fileapi/async_file_util.cc base::Bind(callback, base::File::FILE_ERROR_FAILED)); File 201 chrome/browser/chromeos/drive/fileapi/async_file_util.cc callback.Run(base::File::FILE_ERROR_NOT_FOUND, base::File::Info()); File 209 chrome/browser/chromeos/drive/fileapi/async_file_util.cc base::Bind(callback, base::File::FILE_ERROR_FAILED, File 210 chrome/browser/chromeos/drive/fileapi/async_file_util.cc base::File::Info())); File 221 chrome/browser/chromeos/drive/fileapi/async_file_util.cc callback.Run(base::File::FILE_ERROR_NOT_FOUND, EntryList(), false); File 229 chrome/browser/chromeos/drive/fileapi/async_file_util.cc base::Bind(callback, base::File::FILE_ERROR_FAILED, File 243 chrome/browser/chromeos/drive/fileapi/async_file_util.cc callback.Run(base::File::FILE_ERROR_NOT_FOUND); File 252 chrome/browser/chromeos/drive/fileapi/async_file_util.cc base::Bind(callback, base::File::FILE_ERROR_FAILED)); File 264 chrome/browser/chromeos/drive/fileapi/async_file_util.cc callback.Run(base::File::FILE_ERROR_NOT_FOUND); File 272 chrome/browser/chromeos/drive/fileapi/async_file_util.cc base::Bind(callback, base::File::FILE_ERROR_FAILED)); File 287 chrome/browser/chromeos/drive/fileapi/async_file_util.cc callback.Run(base::File::FILE_ERROR_NOT_FOUND); File 304 chrome/browser/chromeos/drive/fileapi/async_file_util.cc base::Bind(callback, base::File::FILE_ERROR_FAILED)); File 318 chrome/browser/chromeos/drive/fileapi/async_file_util.cc callback.Run(base::File::FILE_ERROR_NOT_FOUND); File 330 chrome/browser/chromeos/drive/fileapi/async_file_util.cc base::Bind(callback, base::File::FILE_ERROR_FAILED)); File 342 chrome/browser/chromeos/drive/fileapi/async_file_util.cc callback.Run(base::File::FILE_ERROR_NOT_FOUND); File 351 chrome/browser/chromeos/drive/fileapi/async_file_util.cc base::Bind(callback, base::File::FILE_ERROR_FAILED)); File 362 chrome/browser/chromeos/drive/fileapi/async_file_util.cc callback.Run(base::File::FILE_ERROR_NOT_FOUND); File 371 chrome/browser/chromeos/drive/fileapi/async_file_util.cc base::Bind(callback, base::File::FILE_ERROR_FAILED)); File 382 chrome/browser/chromeos/drive/fileapi/async_file_util.cc callback.Run(base::File::FILE_ERROR_NOT_FOUND); File 391 chrome/browser/chromeos/drive/fileapi/async_file_util.cc base::Bind(callback, base::File::FILE_ERROR_FAILED)); File 402 chrome/browser/chromeos/drive/fileapi/async_file_util.cc callback.Run(base::File::FILE_ERROR_NOT_FOUND); File 411 chrome/browser/chromeos/drive/fileapi/async_file_util.cc base::Bind(callback, base::File::FILE_ERROR_FAILED)); File 422 chrome/browser/chromeos/drive/fileapi/async_file_util.cc callback.Run(base::File::FILE_ERROR_NOT_FOUND, File 423 chrome/browser/chromeos/drive/fileapi/async_file_util.cc base::File::Info(), File 436 chrome/browser/chromeos/drive/fileapi/async_file_util.cc base::File::FILE_ERROR_FAILED, File 437 chrome/browser/chromeos/drive/fileapi/async_file_util.cc base::File::Info(), File 59 chrome/browser/chromeos/drive/fileapi/fileapi_worker.cc callback.Run(FileErrorToBaseFileError(error), base::File::Info()); File 64 chrome/browser/chromeos/drive/fileapi/fileapi_worker.cc base::File::Info file_info; File 66 chrome/browser/chromeos/drive/fileapi/fileapi_worker.cc callback.Run(base::File::FILE_OK, file_info); File 100 chrome/browser/chromeos/drive/fileapi/fileapi_worker.cc callback.Run(base::File::FILE_OK, entries, has_more); File 111 chrome/browser/chromeos/drive/fileapi/fileapi_worker.cc base::File::Info(), base::FilePath(), File 124 chrome/browser/chromeos/drive/fileapi/fileapi_worker.cc base::File::Info file_info; File 136 chrome/browser/chromeos/drive/fileapi/fileapi_worker.cc callback.Run(base::File::FILE_OK, file_info, local_path, scope_out_policy); File 152 chrome/browser/chromeos/drive/fileapi/fileapi_worker.cc base::File::Error* error, File 189 chrome/browser/chromeos/drive/fileapi/fileapi_worker.cc base::File::Error* result = File 190 chrome/browser/chromeos/drive/fileapi/fileapi_worker.cc new base::File::Error(base::File::FILE_ERROR_FAILED); File 351 chrome/browser/chromeos/drive/fileapi/fileapi_worker.cc base::File::FILE_ERROR_FAILED, File 49 chrome/browser/chromeos/drive/fileapi/fileapi_worker.h void(base::File::Error result)> StatusCallback; File 51 chrome/browser/chromeos/drive/fileapi/fileapi_worker.h void(base::File::Error result, File 52 chrome/browser/chromeos/drive/fileapi/fileapi_worker.h const base::File::Info& file_info)> GetFileInfoCallback; File 54 chrome/browser/chromeos/drive/fileapi/fileapi_worker.h void(base::File::Error result, File 58 chrome/browser/chromeos/drive/fileapi/fileapi_worker.h void(base::File::Error result, File 59 chrome/browser/chromeos/drive/fileapi/fileapi_worker.h const base::File::Info& file_info, File 64 chrome/browser/chromeos/drive/fileapi/fileapi_worker.h void(base::File::Error result, File 69 chrome/browser/chromeos/drive/fileapi/fileapi_worker.h void(base::File::Error result, File 73 chrome/browser/chromeos/drive/fileapi/fileapi_worker_unittest.cc base::File::Error result, File 77 chrome/browser/chromeos/drive/fileapi/fileapi_worker_unittest.cc EXPECT_EQ(base::File::FILE_OK, result); File 107 chrome/browser/chromeos/drive/fileapi/fileapi_worker_unittest.cc base::File::Error result, File 111 chrome/browser/chromeos/drive/fileapi/fileapi_worker_unittest.cc EXPECT_EQ(base::File::FILE_OK, result); File 39 chrome/browser/chromeos/drive/fileapi/webkit_file_stream_writer_impl.cc callback, base::File::FILE_ERROR_FAILED, base::FilePath(), File 135 chrome/browser/chromeos/drive/fileapi/webkit_file_stream_writer_impl.cc base::File::Error open_result, File 144 chrome/browser/chromeos/drive/fileapi/webkit_file_stream_writer_impl.cc if (open_result == base::File::FILE_OK) { File 161 chrome/browser/chromeos/drive/fileapi/webkit_file_stream_writer_impl.cc if (open_result != base::File::FILE_OK) { File 60 chrome/browser/chromeos/drive/fileapi/webkit_file_stream_writer_impl.h base::File::Error open_result, File 30 chrome/browser/chromeos/drive/local_file_reader.cc int flags = base::File::FLAG_OPEN | base::File::FLAG_READ | File 137 chrome/browser/chromeos/drive/resource_entry_conversion.cc base::File::Info* file_info) { File 149 chrome/browser/chromeos/drive/resource_entry_conversion.cc void SetPlatformFileInfoToResourceEntry(const base::File::Info& file_info, File 40 chrome/browser/chromeos/drive/resource_entry_conversion.h base::File::Info* file_info); File 44 chrome/browser/chromeos/drive/resource_entry_conversion.h void SetPlatformFileInfoToResourceEntry(const base::File::Info& file_info, File 352 chrome/browser/chromeos/drive/resource_entry_conversion_unittest.cc base::File::Info file_info; File 366 chrome/browser/chromeos/drive/resource_entry_conversion_unittest.cc base::File::Info file_info; File 173 chrome/browser/chromeos/extensions/echo_private_api.cc base::File::Info fileInfo; File 272 chrome/browser/chromeos/extensions/file_manager/event_router.cc std::string FileErrorToErrorName(base::File::Error error_code) { File 275 chrome/browser/chromeos/extensions/file_manager/event_router.cc case base::File::FILE_ERROR_NOT_FOUND: File 277 chrome/browser/chromeos/extensions/file_manager/event_router.cc case base::File::FILE_ERROR_INVALID_OPERATION: File 278 chrome/browser/chromeos/extensions/file_manager/event_router.cc case base::File::FILE_ERROR_EXISTS: File 279 chrome/browser/chromeos/extensions/file_manager/event_router.cc case base::File::FILE_ERROR_NOT_EMPTY: File 281 chrome/browser/chromeos/extensions/file_manager/event_router.cc case base::File::FILE_ERROR_NOT_A_DIRECTORY: File 282 chrome/browser/chromeos/extensions/file_manager/event_router.cc case base::File::FILE_ERROR_NOT_A_FILE: File 284 chrome/browser/chromeos/extensions/file_manager/event_router.cc case base::File::FILE_ERROR_ACCESS_DENIED: File 286 chrome/browser/chromeos/extensions/file_manager/event_router.cc case base::File::FILE_ERROR_FAILED: File 288 chrome/browser/chromeos/extensions/file_manager/event_router.cc case base::File::FILE_ERROR_ABORT: File 290 chrome/browser/chromeos/extensions/file_manager/event_router.cc case base::File::FILE_ERROR_SECURITY: File 292 chrome/browser/chromeos/extensions/file_manager/event_router.cc case base::File::FILE_ERROR_NO_SPACE: File 294 chrome/browser/chromeos/extensions/file_manager/event_router.cc case base::File::FILE_ERROR_INVALID_URL: File 495 chrome/browser/chromeos/extensions/file_manager/event_router.cc base::File::Error error) { File 499 chrome/browser/chromeos/extensions/file_manager/event_router.cc if (error == base::File::FILE_OK) { File 724 chrome/browser/chromeos/extensions/file_manager/event_router.cc if (entry_definition.error != base::File::FILE_OK) { File 84 chrome/browser/chromeos/extensions/file_manager/event_router.h base::File::Error error); File 371 chrome/browser/chromeos/extensions/file_manager/file_browser_handler_api.cc if (success && entry_definition.error == base::File::FILE_OK) { File 129 chrome/browser/chromeos/extensions/file_manager/private_api_file_system.cc base::File::Error error) { File 147 chrome/browser/chromeos/extensions/file_manager/private_api_file_system.cc base::File::Error error) { File 181 chrome/browser/chromeos/extensions/file_manager/private_api_file_system.cc void OnCopyCancelled(base::File::Error error) { File 186 chrome/browser/chromeos/extensions/file_manager/private_api_file_system.cc DLOG_IF(WARNING, error != base::File::FILE_OK) File 203 chrome/browser/chromeos/extensions/file_manager/private_api_file_system.cc base::File::Error error_code) { File 280 chrome/browser/chromeos/extensions/file_manager/private_api_file_system.cc DidFail(base::File::FILE_ERROR_NOT_FOUND); File 294 chrome/browser/chromeos/extensions/file_manager/private_api_file_system.cc DidFail(base::File::FILE_ERROR_SECURITY); File 304 chrome/browser/chromeos/extensions/file_manager/private_api_file_system.cc DidFail(base::File::FILE_ERROR_INVALID_OPERATION); File 323 chrome/browser/chromeos/extensions/file_manager/private_api_file_system.cc if (entry_definition.error != base::File::FILE_OK) { File 50 chrome/browser/chromeos/extensions/file_manager/private_api_file_system.h void RespondFailedOnUIThread(base::File::Error error_code); File 54 chrome/browser/chromeos/extensions/file_manager/private_api_file_system.h void DidFail(base::File::Error error_code); File 213 chrome/browser/chromeos/file_manager/file_browser_handlers.cc base::File::Info file_info; File 41 chrome/browser/chromeos/file_manager/fileapi_util.cc EntryDefinition CreateEntryDefinitionWithError(base::File::Error error) { File 76 chrome/browser/chromeos/file_manager/fileapi_util.cc base::File::Error error); File 131 chrome/browser/chromeos/file_manager/fileapi_util.cc base::File::FILE_ERROR_INVALID_OPERATION)); File 141 chrome/browser/chromeos/file_manager/fileapi_util.cc base::File::FILE_ERROR_INVALID_OPERATION)); File 171 chrome/browser/chromeos/file_manager/fileapi_util.cc base::File::Error error) { File 47 chrome/browser/chromeos/file_manager/fileapi_util.h base::File::Error error; File 132 chrome/browser/chromeos/file_manager/open_util.cc base::File::Error error) { File 135 chrome/browser/chromeos/file_manager/open_util.cc if (error == base::File::FILE_OK) { File 111 chrome/browser/chromeos/fileapi/file_system_backend.cc callback.Run(root_url, std::string(), base::File::FILE_ERROR_SECURITY); File 130 chrome/browser/chromeos/fileapi/file_system_backend.cc GURL(root_url), std::string(), base::File::FILE_ERROR_SECURITY); File 140 chrome/browser/chromeos/fileapi/file_system_backend.cc callback.Run(GURL(root_url), name, base::File::FILE_OK); File 243 chrome/browser/chromeos/fileapi/file_system_backend.cc fileapi::FileSystemType type, base::File::Error* error_code) { File 245 chrome/browser/chromeos/fileapi/file_system_backend.cc *error_code = base::File::FILE_OK; File 252 chrome/browser/chromeos/fileapi/file_system_backend.cc base::File::Error* error_code) const { File 256 chrome/browser/chromeos/fileapi/file_system_backend.cc *error_code = base::File::FILE_ERROR_SECURITY; File 101 chrome/browser/chromeos/fileapi/file_system_backend.h base::File::Error* error_code) OVERRIDE; File 105 chrome/browser/chromeos/fileapi/file_system_backend.h base::File::Error* error_code) const OVERRIDE; File 348 chrome/browser/devtools/devtools_file_system_indexer.cc base::File::Error error, File 351 chrome/browser/devtools/devtools_file_system_indexer.cc if (error != base::File::FILE_OK) { File 377 chrome/browser/devtools/devtools_file_system_indexer.cc base::File::Error error, File 380 chrome/browser/devtools/devtools_file_system_indexer.cc if (error != base::File::FILE_OK) { File 437 chrome/browser/devtools/devtools_file_system_indexer.cc base::File::Error error) {} File 55 chrome/browser/devtools/devtools_file_system_indexer.h void StartFileIndexing(base::File::Error error, File 59 chrome/browser/devtools/devtools_file_system_indexer.h void OnRead(base::File::Error error, File 64 chrome/browser/devtools/devtools_file_system_indexer.h void CloseCallback(base::File::Error error); File 2977 chrome/browser/download/download_browsertest.cc base::File file(file_path, base::File::FLAG_CREATE | base::File::FLAG_WRITE); File 538 chrome/browser/drive/drive_api_util.cc base::File file(file_path, base::File::FLAG_OPEN | base::File::FLAG_READ); File 1149 chrome/browser/extensions/api/developer_private/developer_private_api.cc base::File::Error status, File 1153 chrome/browser/extensions/api/developer_private/developer_private_api.cc if (status != base::File::FILE_OK) { File 1206 chrome/browser/extensions/api/developer_private/developer_private_api.cc base::File::Error result, File 1207 chrome/browser/extensions/api/developer_private/developer_private_api.cc const base::File::Info& file_info, File 1210 chrome/browser/extensions/api/developer_private/developer_private_api.cc if (result != base::File::FILE_OK) { File 400 chrome/browser/extensions/api/developer_private/developer_private_api.h base::File::Error result, File 406 chrome/browser/extensions/api/developer_private/developer_private_api.h base::File::Error result, File 407 chrome/browser/extensions/api/developer_private/developer_private_api.h const base::File::Info& file_info, File 734 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc base::File::Error error) { File 736 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc *result = error == base::File::FILE_OK; File 80 chrome/browser/extensions/api/file_handlers/app_file_handler_util.cc int creation_flags = base::File::FLAG_CREATE | base::File::FLAG_READ | File 81 chrome/browser/extensions/api/file_handlers/app_file_handler_util.cc base::File::FLAG_WRITE; File 82 chrome/browser/extensions/api/file_handlers/app_file_handler_util.cc base::File file(path, creation_flags); File 85 chrome/browser/extensions/api/file_handlers/app_file_handler_util.cc return file.error_details() == base::File::FILE_ERROR_EXISTS; File 287 chrome/browser/extensions/api/image_writer_private/operation.cc base::File file(file_path, base::File::FLAG_OPEN | base::File::FLAG_READ); File 314 chrome/browser/extensions/api/image_writer_private/operation.cc base::File file, File 180 chrome/browser/extensions/api/image_writer_private/operation.h void MD5Chunk(base::File file, File 169 chrome/browser/extensions/api/messaging/native_message_process_host.cc base::File read_file, File 170 chrome/browser/extensions/api/messaging/native_message_process_host.cc base::File write_file) { File 109 chrome/browser/extensions/api/messaging/native_message_process_host.h base::File read_file, File 110 chrome/browser/extensions/api/messaging/native_message_process_host.h base::File write_file); File 51 chrome/browser/extensions/api/messaging/native_message_process_host_unittest.cc FakeLauncher(base::File read_file, base::File write_file) File 58 chrome/browser/extensions/api/messaging/native_message_process_host_unittest.cc int read_flags = base::File::FLAG_OPEN | base::File::FLAG_READ; File 59 chrome/browser/extensions/api/messaging/native_message_process_host_unittest.cc int write_flags = base::File::FLAG_CREATE | base::File::FLAG_WRITE; File 61 chrome/browser/extensions/api/messaging/native_message_process_host_unittest.cc read_flags |= base::File::FLAG_ASYNC; File 62 chrome/browser/extensions/api/messaging/native_message_process_host_unittest.cc write_flags |= base::File::FLAG_ASYNC; File 65 chrome/browser/extensions/api/messaging/native_message_process_host_unittest.cc base::File(read_file, read_flags), File 66 chrome/browser/extensions/api/messaging/native_message_process_host_unittest.cc base::File(write_file, write_flags))); File 70 chrome/browser/extensions/api/messaging/native_message_process_host_unittest.cc base::File read_pipe, File 72 chrome/browser/extensions/api/messaging/native_message_process_host_unittest.cc int write_flags = base::File::FLAG_CREATE | base::File::FLAG_WRITE; File 74 chrome/browser/extensions/api/messaging/native_message_process_host_unittest.cc write_flags |= base::File::FLAG_ASYNC; File 79 chrome/browser/extensions/api/messaging/native_message_process_host_unittest.cc base::File(write_file, write_flags))); File 91 chrome/browser/extensions/api/messaging/native_message_process_host_unittest.cc mutable base::File read_file_; File 92 chrome/browser/extensions/api/messaging/native_message_process_host_unittest.cc mutable base::File write_file_; File 205 chrome/browser/extensions/api/messaging/native_message_process_host_unittest.cc base::File read_file; File 209 chrome/browser/extensions/api/messaging/native_message_process_host_unittest.cc base::File write_handle( File 215 chrome/browser/extensions/api/messaging/native_message_process_host_unittest.cc base::File read_handle( File 224 chrome/browser/extensions/api/messaging/native_message_process_host_unittest.cc read_file = base::File(pipe_handles[0]); File 225 chrome/browser/extensions/api/messaging/native_message_process_host_unittest.cc base::File write_file(pipe_handles[1]); File 67 chrome/browser/extensions/api/messaging/native_process_launcher.cc base::File read_file, File 68 chrome/browser/extensions/api/messaging/native_process_launcher.cc base::File write_file); File 72 chrome/browser/extensions/api/messaging/native_process_launcher.cc base::File read_file, File 73 chrome/browser/extensions/api/messaging/native_process_launcher.cc base::File write_file); File 186 chrome/browser/extensions/api/messaging/native_process_launcher.cc base::File read_file; File 187 chrome/browser/extensions/api/messaging/native_process_launcher.cc base::File write_file; File 200 chrome/browser/extensions/api/messaging/native_process_launcher.cc base::File read_file, File 201 chrome/browser/extensions/api/messaging/native_process_launcher.cc base::File write_file) { File 216 chrome/browser/extensions/api/messaging/native_process_launcher.cc Passed(base::File()), Passed(base::File()))); File 222 chrome/browser/extensions/api/messaging/native_process_launcher.cc base::File read_file, File 223 chrome/browser/extensions/api/messaging/native_process_launcher.cc base::File write_file) { File 38 chrome/browser/extensions/api/messaging/native_process_launcher.h base::File read_file, File 39 chrome/browser/extensions/api/messaging/native_process_launcher.h base::File write_file)> LaunchedCallback; File 72 chrome/browser/extensions/api/messaging/native_process_launcher.h base::File* read_file, File 73 chrome/browser/extensions/api/messaging/native_process_launcher.h base::File* write_file); File 53 chrome/browser/extensions/api/messaging/native_process_launcher_posix.cc base::File* read_file, File 54 chrome/browser/extensions/api/messaging/native_process_launcher_posix.cc base::File* write_file) { File 86 chrome/browser/extensions/api/messaging/native_process_launcher_posix.cc *read_file = base::File(read_pipe_read_fd.release()); File 87 chrome/browser/extensions/api/messaging/native_process_launcher_posix.cc *write_file = base::File(write_pipe_write_fd.release()); File 93 chrome/browser/extensions/api/messaging/native_process_launcher_win.cc base::File* read_file, File 94 chrome/browser/extensions/api/messaging/native_process_launcher_win.cc base::File* write_file) { File 173 chrome/browser/extensions/api/messaging/native_process_launcher_win.cc *read_file = base::File(stdout_pipe.Take()); File 174 chrome/browser/extensions/api/messaging/native_process_launcher_win.cc *write_file = base::File(stdin_pipe.Take()); File 170 chrome/browser/extensions/api/serial/serial_connection.cc int flags = base::File::FLAG_OPEN | base::File::FLAG_READ | File 171 chrome/browser/extensions/api/serial/serial_connection.cc base::File::FLAG_EXCLUSIVE_READ | base::File::FLAG_WRITE | File 172 chrome/browser/extensions/api/serial/serial_connection.cc base::File::FLAG_EXCLUSIVE_WRITE | base::File::FLAG_ASYNC | File 173 chrome/browser/extensions/api/serial/serial_connection.cc base::File::FLAG_TERMINAL_DEVICE; File 174 chrome/browser/extensions/api/serial/serial_connection.cc base::File file(path, flags); File 182 chrome/browser/extensions/api/serial/serial_connection.cc void SerialConnection::FinishOpen(base::File file) { File 211 chrome/browser/extensions/api/serial/serial_connection.cc void SerialConnection::DoClose(base::File port) { File 167 chrome/browser/extensions/api/serial/serial_connection.h void FinishOpen(base::File file); File 170 chrome/browser/extensions/api/serial/serial_connection.h static void DoClose(base::File port); File 190 chrome/browser/extensions/api/serial/serial_connection.h base::File file_; File 92 chrome/browser/extensions/api/sync_file_system/sync_file_system_api.cc base::File::Error error) { File 105 chrome/browser/extensions/api/sync_file_system/sync_file_system_api.cc if (error != base::File::FILE_OK) { File 146 chrome/browser/extensions/api/sync_file_system/sync_file_system_api.cc base::File::Error error) { File 158 chrome/browser/extensions/api/sync_file_system/sync_file_system_api.cc if (error != base::File::FILE_OK) { File 38 chrome/browser/extensions/api/sync_file_system/sync_file_system_api.h void DidDeleteFileSystem(base::File::Error error); File 118 chrome/browser/extensions/api/sync_file_system/sync_file_system_api.h base::File::Error error); File 233 chrome/browser/extensions/extension_protocols.cc base::File::Info info; File 242 chrome/browser/extensions/extension_protocols.cc base::File::Info info; File 569 chrome/browser/extensions/extension_service_unittest.cc base::File::Error error = base::File::FILE_OK; File 644 chrome/browser/extensions/extension_service_unittest.cc base::File::Error error = base::File::FILE_OK; File 384 chrome/browser/extensions/updater/local_extension_cache.cc base::File::Info info; File 187 chrome/browser/extensions/user_script_master.cc static bool LoadScriptContent(UserScript::File* script_file, File 241 chrome/browser/extensions/user_script_master.cc UserScript::File& script_file = script.js_scripts()[k]; File 246 chrome/browser/extensions/user_script_master.cc UserScript::File& script_file = script.css_scripts()[k]; File 239 chrome/browser/extensions/user_script_master_unittest.cc user_script.js_scripts().push_back(UserScript::File( File 262 chrome/browser/extensions/user_script_master_unittest.cc user_script.js_scripts().push_back(UserScript::File( File 27 chrome/browser/feedback/feedback_report.cc base::File::Error error; File 43 chrome/browser/first_run/upgrade_util_linux.cc base::File::Info exe_file_info; File 32 chrome/browser/local_discovery/storage/privet_filesystem_async_util.cc callback.Run(base::File::FILE_ERROR_INVALID_OPERATION, File 42 chrome/browser/local_discovery/storage/privet_filesystem_async_util.cc callback.Run(base::File::FILE_ERROR_INVALID_OPERATION, false); File 52 chrome/browser/local_discovery/storage/privet_filesystem_async_util.cc callback.Run(base::File::FILE_ERROR_INVALID_OPERATION); File 62 chrome/browser/local_discovery/storage/privet_filesystem_async_util.cc base::File::Info file_info; File 65 chrome/browser/local_discovery/storage/privet_filesystem_async_util.cc callback.Run(base::File::FILE_OK, file_info); File 99 chrome/browser/local_discovery/storage/privet_filesystem_async_util.cc callback.Run(base::File::FILE_ERROR_INVALID_OPERATION); File 108 chrome/browser/local_discovery/storage/privet_filesystem_async_util.cc callback.Run(base::File::FILE_ERROR_INVALID_OPERATION); File 119 chrome/browser/local_discovery/storage/privet_filesystem_async_util.cc callback.Run(base::File::FILE_ERROR_INVALID_OPERATION); File 129 chrome/browser/local_discovery/storage/privet_filesystem_async_util.cc callback.Run(base::File::FILE_ERROR_INVALID_OPERATION); File 138 chrome/browser/local_discovery/storage/privet_filesystem_async_util.cc callback.Run(base::File::FILE_ERROR_INVALID_OPERATION); File 146 chrome/browser/local_discovery/storage/privet_filesystem_async_util.cc callback.Run(base::File::FILE_ERROR_INVALID_OPERATION); File 154 chrome/browser/local_discovery/storage/privet_filesystem_async_util.cc callback.Run(base::File::FILE_ERROR_INVALID_OPERATION); File 162 chrome/browser/local_discovery/storage/privet_filesystem_async_util.cc callback.Run(base::File::FILE_ERROR_INVALID_OPERATION); File 170 chrome/browser/local_discovery/storage/privet_filesystem_async_util.cc callback.Run(base::File::FILE_ERROR_INVALID_OPERATION, File 171 chrome/browser/local_discovery/storage/privet_filesystem_async_util.cc base::File::Info(), File 16 chrome/browser/local_discovery/storage/privet_filesystem_attribute_cache.cc const base::File::Info* PrivetFileSystemAttributeCache::GetFileInfo( File 53 chrome/browser/local_discovery/storage/privet_filesystem_attribute_cache.cc base::File::Info file_info; File 21 chrome/browser/local_discovery/storage/privet_filesystem_attribute_cache.h const base::File::Info* GetFileInfo(const base::FilePath& full_path); File 28 chrome/browser/local_discovery/storage/privet_filesystem_attribute_cache.h typedef std::map<base::FilePath, base::File::Info> FileInfoMap; File 40 chrome/browser/local_discovery/storage/privet_filesystem_attribute_cache_unittest.cc const base::File::Info* info_foo = File 45 chrome/browser/local_discovery/storage/privet_filesystem_attribute_cache_unittest.cc const base::File::Info* info_bar = cache_.GetFileInfo( File 50 chrome/browser/local_discovery/storage/privet_filesystem_attribute_cache_unittest.cc const base::File::Info* info_baz = cache_.GetFileInfo( File 56 chrome/browser/local_discovery/storage/privet_filesystem_attribute_cache_unittest.cc const base::File::Info* info_notfound = cache_.GetFileInfo( File 46 chrome/browser/local_discovery/storage/privet_filesystem_backend.cc callback.Run(root_url, std::string(), base::File::FILE_OK); File 61 chrome/browser/local_discovery/storage/privet_filesystem_backend.cc fileapi::FileSystemType type, base::File::Error* error_code) { File 63 chrome/browser/local_discovery/storage/privet_filesystem_backend.cc *error_code = base::File::FILE_OK; File 71 chrome/browser/local_discovery/storage/privet_filesystem_backend.cc base::File::Error* error_code) const { File 41 chrome/browser/local_discovery/storage/privet_filesystem_backend.h base::File::Error* error_code) OVERRIDE; File 46 chrome/browser/local_discovery/storage/privet_filesystem_backend.h base::File::Error* error_code) const OVERRIDE; File 192 chrome/browser/local_discovery/storage/privet_filesystem_operations.cc TriggerCallbackAndDestroy(base::File::FILE_OK, entry_list, false); File 197 chrome/browser/local_discovery/storage/privet_filesystem_operations.cc TriggerCallbackAndDestroy(base::File::FILE_ERROR_FAILED, File 203 chrome/browser/local_discovery/storage/privet_filesystem_operations.cc base::File::Error result, File 234 chrome/browser/local_discovery/storage/privet_filesystem_operations.cc const base::File::Info* info = attribute_cache_->GetFileInfo(full_path_); File 236 chrome/browser/local_discovery/storage/privet_filesystem_operations.cc TriggerCallbackAndDestroy(base::File::FILE_OK, *info); File 265 chrome/browser/local_discovery/storage/privet_filesystem_operations.cc const base::File::Info* info = attribute_cache_->GetFileInfo(full_path_); File 268 chrome/browser/local_discovery/storage/privet_filesystem_operations.cc TriggerCallbackAndDestroy(base::File::FILE_OK, *info); File 276 chrome/browser/local_discovery/storage/privet_filesystem_operations.cc TriggerCallbackAndDestroy(base::File::FILE_ERROR_FAILED, base::File::Info()); File 280 chrome/browser/local_discovery/storage/privet_filesystem_operations.cc base::File::Error result, File 281 chrome/browser/local_discovery/storage/privet_filesystem_operations.cc const base::File::Info& info) { File 131 chrome/browser/local_discovery/storage/privet_filesystem_operations.h base::File::Error result, File 164 chrome/browser/local_discovery/storage/privet_filesystem_operations.h void TriggerCallbackAndDestroy(base::File::Error result, File 165 chrome/browser/local_discovery/storage/privet_filesystem_operations.h const base::File::Info& info); File 79 chrome/browser/media/webrtc_log_uploader_unittest.cc base::File test_list_file(test_list_path_, File 80 chrome/browser/media/webrtc_log_uploader_unittest.cc base::File::FLAG_OPEN | base::File::FLAG_APPEND); File 426 chrome/browser/media/webrtc_logging_handler_host.cc base::File::Error error; File 29 chrome/browser/media_galleries/fileapi/av_scanning_file_validator.cc base::File::Error ScanFile(const base::FilePath& dest_platform_path) { File 38 chrome/browser/media_galleries/fileapi/av_scanning_file_validator.cc return base::File::FILE_ERROR_SECURITY; File 43 chrome/browser/media_galleries/fileapi/av_scanning_file_validator.cc return base::File::FILE_ERROR_SECURITY; File 49 chrome/browser/media_galleries/fileapi/av_scanning_file_validator.cc return base::File::FILE_OK; File 51 chrome/browser/media_galleries/fileapi/av_scanning_file_validator.cc return base::File::FILE_ERROR_SECURITY; File 71 chrome/browser/media_galleries/fileapi/av_scanning_file_validator.cc result_callback.Run(base::File::FILE_OK); File 92 chrome/browser/media_galleries/fileapi/device_media_async_file_util.cc callback.Run(base::File::FILE_ERROR_SECURITY, File 103 chrome/browser/media_galleries/fileapi/device_media_async_file_util.cc callback.Run(base::File::FILE_ERROR_SECURITY, false); File 114 chrome/browser/media_galleries/fileapi/device_media_async_file_util.cc callback.Run(base::File::FILE_ERROR_SECURITY); File 124 chrome/browser/media_galleries/fileapi/device_media_async_file_util.cc OnGetFileInfoError(callback, base::File::FILE_ERROR_NOT_FOUND); File 144 chrome/browser/media_galleries/fileapi/device_media_async_file_util.cc OnReadDirectoryError(callback, base::File::FILE_ERROR_NOT_FOUND); File 165 chrome/browser/media_galleries/fileapi/device_media_async_file_util.cc callback.Run(base::File::FILE_ERROR_SECURITY); File 175 chrome/browser/media_galleries/fileapi/device_media_async_file_util.cc callback.Run(base::File::FILE_ERROR_SECURITY); File 187 chrome/browser/media_galleries/fileapi/device_media_async_file_util.cc callback.Run(base::File::FILE_ERROR_SECURITY); File 198 chrome/browser/media_galleries/fileapi/device_media_async_file_util.cc callback.Run(base::File::FILE_ERROR_SECURITY); File 208 chrome/browser/media_galleries/fileapi/device_media_async_file_util.cc callback.Run(base::File::FILE_ERROR_SECURITY); File 217 chrome/browser/media_galleries/fileapi/device_media_async_file_util.cc callback.Run(base::File::FILE_ERROR_SECURITY); File 226 chrome/browser/media_galleries/fileapi/device_media_async_file_util.cc callback.Run(base::File::FILE_ERROR_SECURITY); File 234 chrome/browser/media_galleries/fileapi/device_media_async_file_util.cc callback.Run(base::File::FILE_ERROR_INVALID_OPERATION); File 244 chrome/browser/media_galleries/fileapi/device_media_async_file_util.cc OnCreateSnapshotFileError(callback, base::File::FILE_ERROR_NOT_FOUND); File 289 chrome/browser/media_galleries/fileapi/device_media_async_file_util.cc const base::File::Info& file_info) { File 290 chrome/browser/media_galleries/fileapi/device_media_async_file_util.cc callback.Run(base::File::FILE_OK, file_info); File 295 chrome/browser/media_galleries/fileapi/device_media_async_file_util.cc base::File::Error error) { File 296 chrome/browser/media_galleries/fileapi/device_media_async_file_util.cc callback.Run(error, base::File::Info()); File 303 chrome/browser/media_galleries/fileapi/device_media_async_file_util.cc callback.Run(base::File::FILE_OK, file_list, has_more); File 308 chrome/browser/media_galleries/fileapi/device_media_async_file_util.cc base::File::Error error) { File 315 chrome/browser/media_galleries/fileapi/device_media_async_file_util.cc const base::File::Info& file_info, File 333 chrome/browser/media_galleries/fileapi/device_media_async_file_util.cc const base::File::Info& file_info, File 335 chrome/browser/media_galleries/fileapi/device_media_async_file_util.cc base::File::Error error) { File 337 chrome/browser/media_galleries/fileapi/device_media_async_file_util.cc if (error != base::File::FILE_OK) File 344 chrome/browser/media_galleries/fileapi/device_media_async_file_util.cc base::File::Error error) { File 345 chrome/browser/media_galleries/fileapi/device_media_async_file_util.cc callback.Run(error, base::File::Info(), base::FilePath(), File 356 chrome/browser/media_galleries/fileapi/device_media_async_file_util.cc OnCreateSnapshotFileError(callback, base::File::FILE_ERROR_FAILED); File 361 chrome/browser/media_galleries/fileapi/device_media_async_file_util.cc OnCreateSnapshotFileError(callback, base::File::FILE_ERROR_NOT_FOUND); File 134 chrome/browser/media_galleries/fileapi/device_media_async_file_util.h const base::File::Info& file_info); File 141 chrome/browser/media_galleries/fileapi/device_media_async_file_util.h base::File::Error error); File 164 chrome/browser/media_galleries/fileapi/device_media_async_file_util.h base::File::Error error); File 172 chrome/browser/media_galleries/fileapi/device_media_async_file_util.h const base::File::Info& file_info, File 179 chrome/browser/media_galleries/fileapi/device_media_async_file_util.h const base::File::Info& file_info, File 181 chrome/browser/media_galleries/fileapi/device_media_async_file_util.h base::File::Error error); File 187 chrome/browser/media_galleries/fileapi/device_media_async_file_util.h base::File::Error error); File 32 chrome/browser/media_galleries/fileapi/iphoto_file_util.cc base::File::Error MakeDirectoryFileInfo(base::File::Info* file_info) { File 33 chrome/browser/media_galleries/fileapi/iphoto_file_util.cc base::File::Info result; File 36 chrome/browser/media_galleries/fileapi/iphoto_file_util.cc return base::File::FILE_OK; File 141 chrome/browser/media_galleries/fileapi/iphoto_file_util.cc base::Bind(callback, base::File::FILE_ERROR_IO, base::File::Info())); File 159 chrome/browser/media_galleries/fileapi/iphoto_file_util.cc base::Bind(callback, base::File::FILE_ERROR_IO, EntryList(), false)); File 174 chrome/browser/media_galleries/fileapi/iphoto_file_util.cc base::File::Info file_info; File 180 chrome/browser/media_galleries/fileapi/iphoto_file_util.cc base::Bind(callback, base::File::FILE_ERROR_IO, file_info, File 191 chrome/browser/media_galleries/fileapi/iphoto_file_util.cc base::File::Error IPhotoFileUtil::GetFileInfoSync( File 194 chrome/browser/media_galleries/fileapi/iphoto_file_util.cc base::File::Info* file_info, File 216 chrome/browser/media_galleries/fileapi/iphoto_file_util.cc return base::File::FILE_ERROR_NOT_FOUND; File 237 chrome/browser/media_galleries/fileapi/iphoto_file_util.cc return base::File::FILE_ERROR_NOT_FOUND; File 240 chrome/browser/media_galleries/fileapi/iphoto_file_util.cc base::File::Error IPhotoFileUtil::ReadDirectorySync( File 252 chrome/browser/media_galleries/fileapi/iphoto_file_util.cc return base::File::FILE_OK; File 265 chrome/browser/media_galleries/fileapi/iphoto_file_util.cc return base::File::FILE_OK; File 270 chrome/browser/media_galleries/fileapi/iphoto_file_util.cc return base::File::FILE_ERROR_NOT_FOUND; File 283 chrome/browser/media_galleries/fileapi/iphoto_file_util.cc base::File::Info info; File 285 chrome/browser/media_galleries/fileapi/iphoto_file_util.cc return base::File::FILE_ERROR_IO; File 289 chrome/browser/media_galleries/fileapi/iphoto_file_util.cc return base::File::FILE_OK; File 298 chrome/browser/media_galleries/fileapi/iphoto_file_util.cc base::File::Info info; File 300 chrome/browser/media_galleries/fileapi/iphoto_file_util.cc return base::File::FILE_ERROR_IO; File 304 chrome/browser/media_galleries/fileapi/iphoto_file_util.cc return base::File::FILE_OK; File 308 chrome/browser/media_galleries/fileapi/iphoto_file_util.cc return base::File::FILE_ERROR_NOT_FOUND; File 311 chrome/browser/media_galleries/fileapi/iphoto_file_util.cc base::File::Error IPhotoFileUtil::DeleteDirectorySync( File 314 chrome/browser/media_galleries/fileapi/iphoto_file_util.cc return base::File::FILE_ERROR_SECURITY; File 317 chrome/browser/media_galleries/fileapi/iphoto_file_util.cc base::File::Error IPhotoFileUtil::DeleteFileSync( File 320 chrome/browser/media_galleries/fileapi/iphoto_file_util.cc return base::File::FILE_ERROR_SECURITY; File 324 chrome/browser/media_galleries/fileapi/iphoto_file_util.cc base::File::Error IPhotoFileUtil::GetLocalFilePath( File 335 chrome/browser/media_galleries/fileapi/iphoto_file_util.cc return base::File::FILE_OK; File 346 chrome/browser/media_galleries/fileapi/iphoto_file_util.cc return base::File::FILE_OK; File 350 chrome/browser/media_galleries/fileapi/iphoto_file_util.cc return base::File::FILE_ERROR_NOT_FOUND; File 51 chrome/browser/media_galleries/fileapi/iphoto_file_util.h virtual base::File::Error GetFileInfoSync( File 54 chrome/browser/media_galleries/fileapi/iphoto_file_util.h base::File::Info* file_info, File 56 chrome/browser/media_galleries/fileapi/iphoto_file_util.h virtual base::File::Error ReadDirectorySync( File 60 chrome/browser/media_galleries/fileapi/iphoto_file_util.h virtual base::File::Error DeleteDirectorySync( File 63 chrome/browser/media_galleries/fileapi/iphoto_file_util.h virtual base::File::Error DeleteFileSync( File 66 chrome/browser/media_galleries/fileapi/iphoto_file_util.h virtual base::File::Error GetLocalFilePath( File 45 chrome/browser/media_galleries/fileapi/iphoto_file_util_unittest.cc base::File::Error error, File 49 chrome/browser/media_galleries/fileapi/iphoto_file_util_unittest.cc *completed = !has_more && error == base::File::FILE_OK; File 30 chrome/browser/media_galleries/fileapi/itunes_file_util.cc base::File::Error MakeDirectoryFileInfo(base::File::Info* file_info) { File 31 chrome/browser/media_galleries/fileapi/itunes_file_util.cc base::File::Info result; File 34 chrome/browser/media_galleries/fileapi/itunes_file_util.cc return base::File::FILE_OK; File 126 chrome/browser/media_galleries/fileapi/itunes_file_util.cc base::File::Error ITunesFileUtil::GetFileInfoSync( File 129 chrome/browser/media_galleries/fileapi/itunes_file_util.cc base::File::Info* file_info, File 147 chrome/browser/media_galleries/fileapi/itunes_file_util.cc return base::File::FILE_ERROR_NOT_FOUND; File 151 chrome/browser/media_galleries/fileapi/itunes_file_util.cc return base::File::FILE_ERROR_NOT_FOUND; File 184 chrome/browser/media_galleries/fileapi/itunes_file_util.cc return base::File::FILE_ERROR_NOT_FOUND; File 187 chrome/browser/media_galleries/fileapi/itunes_file_util.cc base::File::Error ITunesFileUtil::ReadDirectorySync( File 195 chrome/browser/media_galleries/fileapi/itunes_file_util.cc base::File::Info xml_info; File 197 chrome/browser/media_galleries/fileapi/itunes_file_util.cc return base::File::FILE_ERROR_IO; File 204 chrome/browser/media_galleries/fileapi/itunes_file_util.cc return base::File::FILE_OK; File 208 chrome/browser/media_galleries/fileapi/itunes_file_util.cc return base::File::FILE_ERROR_NOT_A_DIRECTORY; File 211 chrome/browser/media_galleries/fileapi/itunes_file_util.cc return base::File::FILE_ERROR_NOT_FOUND; File 222 chrome/browser/media_galleries/fileapi/itunes_file_util.cc return base::File::FILE_OK; File 231 chrome/browser/media_galleries/fileapi/itunes_file_util.cc return base::File::FILE_ERROR_NOT_FOUND; File 240 chrome/browser/media_galleries/fileapi/itunes_file_util.cc return base::File::FILE_OK; File 247 chrome/browser/media_galleries/fileapi/itunes_file_util.cc return base::File::FILE_ERROR_NOT_FOUND; File 252 chrome/browser/media_galleries/fileapi/itunes_file_util.cc return base::File::FILE_OK; File 259 chrome/browser/media_galleries/fileapi/itunes_file_util.cc return base::File::FILE_ERROR_NOT_FOUND; File 262 chrome/browser/media_galleries/fileapi/itunes_file_util.cc base::File::Info file_info; File 270 chrome/browser/media_galleries/fileapi/itunes_file_util.cc return base::File::FILE_OK; File 280 chrome/browser/media_galleries/fileapi/itunes_file_util.cc return base::File::FILE_ERROR_NOT_A_DIRECTORY; File 281 chrome/browser/media_galleries/fileapi/itunes_file_util.cc return base::File::FILE_ERROR_NOT_FOUND; File 284 chrome/browser/media_galleries/fileapi/itunes_file_util.cc base::File::Error ITunesFileUtil::DeleteDirectorySync( File 287 chrome/browser/media_galleries/fileapi/itunes_file_util.cc return base::File::FILE_ERROR_SECURITY; File 290 chrome/browser/media_galleries/fileapi/itunes_file_util.cc base::File::Error ITunesFileUtil::DeleteFileSync( File 293 chrome/browser/media_galleries/fileapi/itunes_file_util.cc return base::File::FILE_ERROR_SECURITY; File 296 chrome/browser/media_galleries/fileapi/itunes_file_util.cc base::File::Error ITunesFileUtil::CreateSnapshotFileSync( File 299 chrome/browser/media_galleries/fileapi/itunes_file_util.cc base::File::Info* file_info, File 318 chrome/browser/media_galleries/fileapi/itunes_file_util.cc base::File::Error ITunesFileUtil::GetLocalFilePath( File 326 chrome/browser/media_galleries/fileapi/itunes_file_util.cc return base::File::FILE_OK; File 333 chrome/browser/media_galleries/fileapi/itunes_file_util.cc return base::File::FILE_ERROR_NOT_FOUND; File 339 chrome/browser/media_galleries/fileapi/itunes_file_util.cc return base::File::FILE_OK; File 345 chrome/browser/media_galleries/fileapi/itunes_file_util.cc return base::File::FILE_ERROR_NOT_FOUND; File 352 chrome/browser/media_galleries/fileapi/itunes_file_util.cc return base::File::FILE_OK; File 354 chrome/browser/media_galleries/fileapi/itunes_file_util.cc return base::File::FILE_ERROR_NOT_FOUND; File 367 chrome/browser/media_galleries/fileapi/itunes_file_util.cc base::Bind(callback, base::File::FILE_ERROR_IO, File 368 chrome/browser/media_galleries/fileapi/itunes_file_util.cc base::File::Info())); File 386 chrome/browser/media_galleries/fileapi/itunes_file_util.cc base::Bind(callback, base::File::FILE_ERROR_IO, EntryList(), false)); File 401 chrome/browser/media_galleries/fileapi/itunes_file_util.cc base::File::Info file_info; File 407 chrome/browser/media_galleries/fileapi/itunes_file_util.cc base::Bind(callback, base::File::FILE_ERROR_IO, file_info, File 42 chrome/browser/media_galleries/fileapi/itunes_file_util.h virtual base::File::Error GetFileInfoSync( File 45 chrome/browser/media_galleries/fileapi/itunes_file_util.h base::File::Info* file_info, File 47 chrome/browser/media_galleries/fileapi/itunes_file_util.h virtual base::File::Error ReadDirectorySync( File 51 chrome/browser/media_galleries/fileapi/itunes_file_util.h virtual base::File::Error DeleteDirectorySync( File 54 chrome/browser/media_galleries/fileapi/itunes_file_util.h virtual base::File::Error DeleteFileSync( File 57 chrome/browser/media_galleries/fileapi/itunes_file_util.h virtual base::File::Error CreateSnapshotFileSync( File 60 chrome/browser/media_galleries/fileapi/itunes_file_util.h base::File::Info* file_info, File 63 chrome/browser/media_galleries/fileapi/itunes_file_util.h virtual base::File::Error GetLocalFilePath( File 43 chrome/browser/media_galleries/fileapi/itunes_file_util_unittest.cc bool* completed, base::File::Error error, File 47 chrome/browser/media_galleries/fileapi/itunes_file_util_unittest.cc *completed = (!has_more && error == base::File::FILE_OK); File 64 chrome/browser/media_galleries/fileapi/media_file_system_backend.cc const base::Callback<void(base::File::Error result)>& callback) { File 76 chrome/browser/media_galleries/fileapi/media_file_system_backend.cc const base::Callback<void(base::File::Error result)>& callback) { File 112 chrome/browser/media_galleries/fileapi/media_file_system_backend.cc base::Bind(callback, base::File::FILE_ERROR_NOT_FOUND)); File 184 chrome/browser/media_galleries/fileapi/media_file_system_backend.cc const base::Callback<void(base::File::Error result)>& callback) { File 247 chrome/browser/media_galleries/fileapi/media_file_system_backend.cc base::File::FILE_ERROR_SECURITY)); File 275 chrome/browser/media_galleries/fileapi/media_file_system_backend.cc fileapi::FileSystemType type, base::File::Error* error_code) { File 277 chrome/browser/media_galleries/fileapi/media_file_system_backend.cc *error_code = base::File::FILE_OK; File 284 chrome/browser/media_galleries/fileapi/media_file_system_backend.cc *error_code = base::File::FILE_ERROR_SECURITY; File 298 chrome/browser/media_galleries/fileapi/media_file_system_backend.cc base::File::Error* error_code) const { File 54 chrome/browser/media_galleries/fileapi/media_file_system_backend.h const base::Callback<void(base::File::Error result)>& callback); File 67 chrome/browser/media_galleries/fileapi/media_file_system_backend.h base::File::Error* error_code) OVERRIDE; File 71 chrome/browser/media_galleries/fileapi/media_file_system_backend.h base::File::Error* error_code) const OVERRIDE; File 42 chrome/browser/media_galleries/fileapi/media_file_validator_browsertest.cc base::File::Error result, File 43 chrome/browser/media_galleries/fileapi/media_file_validator_browsertest.cc const base::File::Info& file_info) { File 44 chrome/browser/media_galleries/fileapi/media_file_validator_browsertest.cc if (result == base::File::FILE_OK) { File 206 chrome/browser/media_galleries/fileapi/media_file_validator_browsertest.cc void OnMoveResult(bool expected_result, base::File::Error result) { File 208 chrome/browser/media_galleries/fileapi/media_file_validator_browsertest.cc EXPECT_EQ(base::File::FILE_OK, result); File 210 chrome/browser/media_galleries/fileapi/media_file_validator_browsertest.cc EXPECT_EQ(base::File::FILE_ERROR_SECURITY, result); File 22 chrome/browser/media_galleries/fileapi/media_file_validator_factory.cc result_callback.Run(base::File::FILE_ERROR_SECURITY); File 29 chrome/browser/media_galleries/fileapi/media_file_validator_factory.cc result_callback.Run(base::File::FILE_ERROR_SECURITY); File 30 chrome/browser/media_galleries/fileapi/mtp_device_async_delegate.h void(const base::File::Info& file_info)> GetFileInfoSuccessCallback; File 39 chrome/browser/media_galleries/fileapi/mtp_device_async_delegate.h typedef base::Callback<void(base::File::Error error)> ErrorCallback; File 43 chrome/browser/media_galleries/fileapi/mtp_device_async_delegate.h void(const base::File::Info& file_info, File 48 chrome/browser/media_galleries/fileapi/mtp_device_async_delegate.h void(const base::File::Info& file_info, File 34 chrome/browser/media_galleries/fileapi/mtp_file_stream_reader.cc base::File::Error file_error) { File 40 chrome/browser/media_galleries/fileapi/mtp_file_stream_reader.cc base::File::Error file_error) { File 143 chrome/browser/media_galleries/fileapi/mtp_file_stream_reader.cc const base::File::Info& file_info, File 147 chrome/browser/media_galleries/fileapi/mtp_file_stream_reader.cc base::File::Error error = NativeMediaFileUtil::BufferIsMediaHeader( File 149 chrome/browser/media_galleries/fileapi/mtp_file_stream_reader.cc if (error != base::File::FILE_OK) { File 170 chrome/browser/media_galleries/fileapi/mtp_file_stream_reader.cc const base::File::Info& file_info, File 186 chrome/browser/media_galleries/fileapi/mtp_file_stream_reader.cc const base::File::Info& file_info) { File 45 chrome/browser/media_galleries/fileapi/mtp_file_stream_reader.h const base::File::Info& file_info, File 49 chrome/browser/media_galleries/fileapi/mtp_file_stream_reader.h const base::File::Info& file_info, int bytes_read); File 52 chrome/browser/media_galleries/fileapi/mtp_file_stream_reader.h const base::File::Info& file_info); File 32 chrome/browser/media_galleries/fileapi/native_media_file_util.cc base::File::Error IsMediaHeader(const char* buf, size_t length) { File 34 chrome/browser/media_galleries/fileapi/native_media_file_util.cc return base::File::FILE_ERROR_SECURITY; File 38 chrome/browser/media_galleries/fileapi/native_media_file_util.cc return base::File::FILE_ERROR_SECURITY; File 44 chrome/browser/media_galleries/fileapi/native_media_file_util.cc return base::File::FILE_OK; File 46 chrome/browser/media_galleries/fileapi/native_media_file_util.cc return base::File::FILE_ERROR_SECURITY; File 60 chrome/browser/media_galleries/fileapi/native_media_file_util.cc base::File::Error NativeMediaFileUtil::IsMediaFile( File 62 chrome/browser/media_galleries/fileapi/native_media_file_util.cc base::File file(path, base::File::FLAG_OPEN | base::File::FLAG_READ); File 71 chrome/browser/media_galleries/fileapi/native_media_file_util.cc return base::File::FILE_ERROR_FAILED; File 77 chrome/browser/media_galleries/fileapi/native_media_file_util.cc base::File::Error NativeMediaFileUtil::BufferIsMediaHeader( File 90 chrome/browser/media_galleries/fileapi/native_media_file_util.cc callback.Run(base::File::FILE_ERROR_SECURITY, File 100 chrome/browser/media_galleries/fileapi/native_media_file_util.cc callback.Run(base::File::FILE_ERROR_SECURITY, false); File 154 chrome/browser/media_galleries/fileapi/native_media_file_util.cc callback.Run(base::File::FILE_ERROR_SECURITY); File 163 chrome/browser/media_galleries/fileapi/native_media_file_util.cc callback.Run(base::File::FILE_ERROR_SECURITY); File 248 chrome/browser/media_galleries/fileapi/native_media_file_util.cc callback.Run(base::File::FILE_ERROR_INVALID_OPERATION); File 272 chrome/browser/media_galleries/fileapi/native_media_file_util.cc base::File::Error error = File 285 chrome/browser/media_galleries/fileapi/native_media_file_util.cc base::File::Info file_info; File 286 chrome/browser/media_galleries/fileapi/native_media_file_util.cc base::File::Error error = File 300 chrome/browser/media_galleries/fileapi/native_media_file_util.cc base::File::Error error = File 316 chrome/browser/media_galleries/fileapi/native_media_file_util.cc base::File::Error error = File 330 chrome/browser/media_galleries/fileapi/native_media_file_util.cc base::File::Error error = File 343 chrome/browser/media_galleries/fileapi/native_media_file_util.cc base::File::Error error = DeleteFileSync(context.get(), url); File 355 chrome/browser/media_galleries/fileapi/native_media_file_util.cc base::File::Error error = DeleteDirectorySync(context.get(), url); File 367 chrome/browser/media_galleries/fileapi/native_media_file_util.cc base::File::Info file_info; File 370 chrome/browser/media_galleries/fileapi/native_media_file_util.cc base::File::Error error = File 379 chrome/browser/media_galleries/fileapi/native_media_file_util.cc base::File::Error NativeMediaFileUtil::CreateDirectorySync( File 385 chrome/browser/media_galleries/fileapi/native_media_file_util.cc base::File::Error error = GetLocalFilePath(context, url, &file_path); File 386 chrome/browser/media_galleries/fileapi/native_media_file_util.cc if (error != base::File::FILE_OK) File 392 chrome/browser/media_galleries/fileapi/native_media_file_util.cc base::File::Error NativeMediaFileUtil::CopyOrMoveFileSync( File 400 chrome/browser/media_galleries/fileapi/native_media_file_util.cc base::File::Error error = File 403 chrome/browser/media_galleries/fileapi/native_media_file_util.cc base::File::FILE_ERROR_NOT_FOUND, File 405 chrome/browser/media_galleries/fileapi/native_media_file_util.cc if (error != base::File::FILE_OK) File 408 chrome/browser/media_galleries/fileapi/native_media_file_util.cc return base::File::FILE_ERROR_NOT_A_FILE; File 412 chrome/browser/media_galleries/fileapi/native_media_file_util.cc if (error != base::File::FILE_OK) File 414 chrome/browser/media_galleries/fileapi/native_media_file_util.cc base::File::Info file_info; File 416 chrome/browser/media_galleries/fileapi/native_media_file_util.cc if (error != base::File::FILE_OK && File 417 chrome/browser/media_galleries/fileapi/native_media_file_util.cc error != base::File::FILE_ERROR_NOT_FOUND) { File 420 chrome/browser/media_galleries/fileapi/native_media_file_util.cc if (error == base::File::FILE_OK && file_info.is_directory) File 421 chrome/browser/media_galleries/fileapi/native_media_file_util.cc return base::File::FILE_ERROR_INVALID_OPERATION; File 423 chrome/browser/media_galleries/fileapi/native_media_file_util.cc return base::File::FILE_ERROR_SECURITY; File 430 chrome/browser/media_galleries/fileapi/native_media_file_util.cc base::File::Error NativeMediaFileUtil::CopyInForeignFileSync( File 436 chrome/browser/media_galleries/fileapi/native_media_file_util.cc return base::File::FILE_ERROR_INVALID_OPERATION; File 439 chrome/browser/media_galleries/fileapi/native_media_file_util.cc base::File::Error error = File 441 chrome/browser/media_galleries/fileapi/native_media_file_util.cc if (error != base::File::FILE_OK) File 450 chrome/browser/media_galleries/fileapi/native_media_file_util.cc base::File::Error NativeMediaFileUtil::GetFileInfoSync( File 453 chrome/browser/media_galleries/fileapi/native_media_file_util.cc base::File::Info* file_info, File 460 chrome/browser/media_galleries/fileapi/native_media_file_util.cc base::File::Error error = GetLocalFilePath(context, url, &file_path); File 461 chrome/browser/media_galleries/fileapi/native_media_file_util.cc if (error != base::File::FILE_OK) File 464 chrome/browser/media_galleries/fileapi/native_media_file_util.cc return base::File::FILE_ERROR_NOT_FOUND; File 466 chrome/browser/media_galleries/fileapi/native_media_file_util.cc if (error != base::File::FILE_OK) File 473 chrome/browser/media_galleries/fileapi/native_media_file_util.cc return base::File::FILE_OK; File 475 chrome/browser/media_galleries/fileapi/native_media_file_util.cc return base::File::FILE_ERROR_NOT_FOUND; File 478 chrome/browser/media_galleries/fileapi/native_media_file_util.cc base::File::Error NativeMediaFileUtil::GetLocalFilePath( File 486 chrome/browser/media_galleries/fileapi/native_media_file_util.cc return base::File::FILE_ERROR_ACCESS_DENIED; File 489 chrome/browser/media_galleries/fileapi/native_media_file_util.cc return base::File::FILE_OK; File 492 chrome/browser/media_galleries/fileapi/native_media_file_util.cc base::File::Error NativeMediaFileUtil::ReadDirectorySync( File 499 chrome/browser/media_galleries/fileapi/native_media_file_util.cc base::File::Info file_info; File 501 chrome/browser/media_galleries/fileapi/native_media_file_util.cc base::File::Error error = File 504 chrome/browser/media_galleries/fileapi/native_media_file_util.cc if (error != base::File::FILE_OK) File 508 chrome/browser/media_galleries/fileapi/native_media_file_util.cc return base::File::FILE_ERROR_NOT_A_DIRECTORY; File 538 chrome/browser/media_galleries/fileapi/native_media_file_util.cc return base::File::FILE_OK; File 541 chrome/browser/media_galleries/fileapi/native_media_file_util.cc base::File::Error NativeMediaFileUtil::DeleteFileSync( File 545 chrome/browser/media_galleries/fileapi/native_media_file_util.cc base::File::Info file_info; File 547 chrome/browser/media_galleries/fileapi/native_media_file_util.cc base::File::Error error = File 549 chrome/browser/media_galleries/fileapi/native_media_file_util.cc if (error != base::File::FILE_OK) File 552 chrome/browser/media_galleries/fileapi/native_media_file_util.cc return base::File::FILE_ERROR_NOT_A_FILE; File 556 chrome/browser/media_galleries/fileapi/native_media_file_util.cc base::File::Error NativeMediaFileUtil::DeleteDirectorySync( File 561 chrome/browser/media_galleries/fileapi/native_media_file_util.cc base::File::Error error = GetLocalFilePath(context, url, &file_path); File 562 chrome/browser/media_galleries/fileapi/native_media_file_util.cc if (error != base::File::FILE_OK) File 567 chrome/browser/media_galleries/fileapi/native_media_file_util.cc base::File::Error NativeMediaFileUtil::CreateSnapshotFileSync( File 570 chrome/browser/media_galleries/fileapi/native_media_file_util.cc base::File::Info* file_info, File 574 chrome/browser/media_galleries/fileapi/native_media_file_util.cc base::File::Error error = File 576 chrome/browser/media_galleries/fileapi/native_media_file_util.cc if (error == base::File::FILE_OK && file_info->is_directory) File 577 chrome/browser/media_galleries/fileapi/native_media_file_util.cc error = base::File::FILE_ERROR_NOT_A_FILE; File 578 chrome/browser/media_galleries/fileapi/native_media_file_util.cc if (error == base::File::FILE_OK) File 587 chrome/browser/media_galleries/fileapi/native_media_file_util.cc base::File::Error NativeMediaFileUtil::GetFilteredLocalFilePath( File 593 chrome/browser/media_galleries/fileapi/native_media_file_util.cc base::File::Error error = File 595 chrome/browser/media_galleries/fileapi/native_media_file_util.cc if (error != base::File::FILE_OK) File 598 chrome/browser/media_galleries/fileapi/native_media_file_util.cc return base::File::FILE_ERROR_SECURITY; File 601 chrome/browser/media_galleries/fileapi/native_media_file_util.cc return base::File::FILE_OK; File 604 chrome/browser/media_galleries/fileapi/native_media_file_util.cc base::File::Error File 608 chrome/browser/media_galleries/fileapi/native_media_file_util.cc base::File::Error failure_error, File 612 chrome/browser/media_galleries/fileapi/native_media_file_util.cc base::File::Error error = File 614 chrome/browser/media_galleries/fileapi/native_media_file_util.cc if (error != base::File::FILE_OK) File 619 chrome/browser/media_galleries/fileapi/native_media_file_util.cc base::File::Info file_info; File 621 chrome/browser/media_galleries/fileapi/native_media_file_util.cc return base::File::FILE_ERROR_FAILED; File 629 chrome/browser/media_galleries/fileapi/native_media_file_util.cc return base::File::FILE_OK; File 29 chrome/browser/media_galleries/fileapi/native_media_file_util.h static base::File::Error IsMediaFile(const base::FilePath& path); File 30 chrome/browser/media_galleries/fileapi/native_media_file_util.h static base::File::Error BufferIsMediaHeader(net::IOBuffer* buf, File 146 chrome/browser/media_galleries/fileapi/native_media_file_util.h virtual base::File::Error CreateDirectorySync( File 151 chrome/browser/media_galleries/fileapi/native_media_file_util.h virtual base::File::Error CopyOrMoveFileSync( File 157 chrome/browser/media_galleries/fileapi/native_media_file_util.h virtual base::File::Error CopyInForeignFileSync( File 161 chrome/browser/media_galleries/fileapi/native_media_file_util.h virtual base::File::Error GetFileInfoSync( File 164 chrome/browser/media_galleries/fileapi/native_media_file_util.h base::File::Info* file_info, File 168 chrome/browser/media_galleries/fileapi/native_media_file_util.h virtual base::File::Error GetLocalFilePath( File 172 chrome/browser/media_galleries/fileapi/native_media_file_util.h virtual base::File::Error ReadDirectorySync( File 176 chrome/browser/media_galleries/fileapi/native_media_file_util.h virtual base::File::Error DeleteFileSync( File 180 chrome/browser/media_galleries/fileapi/native_media_file_util.h virtual base::File::Error DeleteDirectorySync( File 183 chrome/browser/media_galleries/fileapi/native_media_file_util.h virtual base::File::Error CreateSnapshotFileSync( File 186 chrome/browser/media_galleries/fileapi/native_media_file_util.h base::File::Info* file_info, File 199 chrome/browser/media_galleries/fileapi/native_media_file_util.h base::File::Error GetFilteredLocalFilePath( File 210 chrome/browser/media_galleries/fileapi/native_media_file_util.h base::File::Error GetFilteredLocalFilePathForExistingFileOrDirectory( File 213 chrome/browser/media_galleries/fileapi/native_media_file_util.h base::File::Error failure_error, File 68 chrome/browser/media_galleries/fileapi/native_media_file_util_unittest.cc base::File::Error expected, File 69 chrome/browser/media_galleries/fileapi/native_media_file_util_unittest.cc base::File::Error actual) { File 74 chrome/browser/media_galleries/fileapi/native_media_file_util_unittest.cc base::File::Error expected, File 76 chrome/browser/media_galleries/fileapi/native_media_file_util_unittest.cc base::File::Error actual, File 77 chrome/browser/media_galleries/fileapi/native_media_file_util_unittest.cc const base::File::Info& file_info) { File 79 chrome/browser/media_galleries/fileapi/native_media_file_util_unittest.cc if (actual == base::File::FILE_OK) File 85 chrome/browser/media_galleries/fileapi/native_media_file_util_unittest.cc base::File::Error error, File 210 chrome/browser/media_galleries/fileapi/native_media_file_util_unittest.cc base::File::Error expectation = File 212 chrome/browser/media_galleries/fileapi/native_media_file_util_unittest.cc base::File::FILE_OK : File 213 chrome/browser/media_galleries/fileapi/native_media_file_util_unittest.cc base::File::FILE_ERROR_NOT_FOUND; File 263 chrome/browser/media_galleries/fileapi/native_media_file_util_unittest.cc base::File::Error expectation = File 265 chrome/browser/media_galleries/fileapi/native_media_file_util_unittest.cc base::File::FILE_OK : File 266 chrome/browser/media_galleries/fileapi/native_media_file_util_unittest.cc base::File::FILE_ERROR_SECURITY; File 298 chrome/browser/media_galleries/fileapi/native_media_file_util_unittest.cc base::File::Error expectation = base::File::FILE_OK; File 301 chrome/browser/media_galleries/fileapi/native_media_file_util_unittest.cc expectation = base::File::FILE_ERROR_NOT_FOUND; File 304 chrome/browser/media_galleries/fileapi/native_media_file_util_unittest.cc expectation = base::File::FILE_ERROR_INVALID_OPERATION; File 347 chrome/browser/media_galleries/fileapi/native_media_file_util_unittest.cc base::File::Error expectation; File 355 chrome/browser/media_galleries/fileapi/native_media_file_util_unittest.cc base::File::FILE_OK : File 356 chrome/browser/media_galleries/fileapi/native_media_file_util_unittest.cc base::File::FILE_ERROR_SECURITY; File 362 chrome/browser/media_galleries/fileapi/native_media_file_util_unittest.cc expectation = base::File::FILE_ERROR_SECURITY; File 365 chrome/browser/media_galleries/fileapi/native_media_file_util_unittest.cc expectation = base::File::FILE_ERROR_INVALID_OPERATION; File 368 chrome/browser/media_galleries/fileapi/native_media_file_util_unittest.cc expectation = base::File::FILE_OK; File 403 chrome/browser/media_galleries/fileapi/native_media_file_util_unittest.cc base::File::Error expectation = base::File::FILE_OK; File 406 chrome/browser/media_galleries/fileapi/native_media_file_util_unittest.cc expectation = base::File::FILE_ERROR_NOT_FOUND; File 409 chrome/browser/media_galleries/fileapi/native_media_file_util_unittest.cc expectation = base::File::FILE_ERROR_INVALID_OPERATION; File 452 chrome/browser/media_galleries/fileapi/native_media_file_util_unittest.cc base::File::Error expectation; File 460 chrome/browser/media_galleries/fileapi/native_media_file_util_unittest.cc base::File::FILE_OK : File 461 chrome/browser/media_galleries/fileapi/native_media_file_util_unittest.cc base::File::FILE_ERROR_SECURITY; File 467 chrome/browser/media_galleries/fileapi/native_media_file_util_unittest.cc expectation = base::File::FILE_ERROR_SECURITY; File 470 chrome/browser/media_galleries/fileapi/native_media_file_util_unittest.cc expectation = base::File::FILE_ERROR_INVALID_OPERATION; File 473 chrome/browser/media_galleries/fileapi/native_media_file_util_unittest.cc expectation = base::File::FILE_OK; File 498 chrome/browser/media_galleries/fileapi/native_media_file_util_unittest.cc base::File::Error expectation = base::File::FILE_OK; File 501 chrome/browser/media_galleries/fileapi/native_media_file_util_unittest.cc expectation = base::File::FILE_ERROR_NOT_FOUND; File 528 chrome/browser/media_galleries/fileapi/native_media_file_util_unittest.cc base::File::Error expectation = base::File::FILE_OK; File 531 chrome/browser/media_galleries/fileapi/native_media_file_util_unittest.cc expectation = base::File::FILE_ERROR_NOT_FOUND; File 533 chrome/browser/media_galleries/fileapi/native_media_file_util_unittest.cc expectation = base::File::FILE_ERROR_NOT_A_FILE; File 543 chrome/browser/media_galleries/fileapi/native_media_file_util_unittest.cc base::File::Error* error, File 544 chrome/browser/media_galleries/fileapi/native_media_file_util_unittest.cc base::File::Error result, File 545 chrome/browser/media_galleries/fileapi/native_media_file_util_unittest.cc const base::File::Info&, File 562 chrome/browser/media_galleries/fileapi/native_media_file_util_unittest.cc base::File::Error expected_error, error; File 564 chrome/browser/media_galleries/fileapi/native_media_file_util_unittest.cc expected_error = base::File::FILE_OK; File 566 chrome/browser/media_galleries/fileapi/native_media_file_util_unittest.cc expected_error = base::File::FILE_ERROR_SECURITY; File 567 chrome/browser/media_galleries/fileapi/native_media_file_util_unittest.cc error = base::File::FILE_ERROR_FAILED; File 100 chrome/browser/media_galleries/fileapi/picasa_data_provider.cc base::File::Error* error) { File 108 chrome/browser/media_galleries/fileapi/picasa_data_provider.cc *error = base::File::FILE_ERROR_NOT_FOUND; File 112 chrome/browser/media_galleries/fileapi/picasa_data_provider.cc *error = base::File::FILE_OK; File 51 chrome/browser/media_galleries/fileapi/picasa_data_provider.h base::File::Error* error); File 69 chrome/browser/media_galleries/fileapi/picasa_data_provider_browsertest.cc base::File::Error error; File 73 chrome/browser/media_galleries/fileapi/picasa_data_provider_browsertest.cc EXPECT_EQ(base::File::FILE_OK, error); File 86 chrome/browser/media_galleries/fileapi/picasa_data_provider_browsertest.cc EXPECT_EQ(base::File::FILE_OK, error); File 35 chrome/browser/media_galleries/fileapi/picasa_file_util.cc base::File::Error FindAlbumInfo(const std::string& key, File 39 chrome/browser/media_galleries/fileapi/picasa_file_util.cc return base::File::FILE_ERROR_FAILED; File 44 chrome/browser/media_galleries/fileapi/picasa_file_util.cc return base::File::FILE_ERROR_NOT_FOUND; File 49 chrome/browser/media_galleries/fileapi/picasa_file_util.cc return base::File::FILE_OK; File 128 chrome/browser/media_galleries/fileapi/picasa_file_util.cc base::File::Error PicasaFileUtil::GetFileInfoSync( File 130 chrome/browser/media_galleries/fileapi/picasa_file_util.cc base::File::Info* file_info, base::FilePath* platform_path) { File 143 chrome/browser/media_galleries/fileapi/picasa_file_util.cc return base::File::FILE_OK; File 148 chrome/browser/media_galleries/fileapi/picasa_file_util.cc return base::File::FILE_OK; File 155 chrome/browser/media_galleries/fileapi/picasa_file_util.cc base::File::Error error = File 157 chrome/browser/media_galleries/fileapi/picasa_file_util.cc if (error != base::File::FILE_OK) File 161 chrome/browser/media_galleries/fileapi/picasa_file_util.cc return base::File::FILE_OK; File 173 chrome/browser/media_galleries/fileapi/picasa_file_util.cc base::File::Error result = NativeMediaFileUtil::GetFileInfoSync( File 178 chrome/browser/media_galleries/fileapi/picasa_file_util.cc result == base::File::FILE_ERROR_NOT_FOUND); File 183 chrome/browser/media_galleries/fileapi/picasa_file_util.cc return base::File::FILE_ERROR_NOT_FOUND; File 186 chrome/browser/media_galleries/fileapi/picasa_file_util.cc base::File::Error PicasaFileUtil::ReadDirectorySync( File 194 chrome/browser/media_galleries/fileapi/picasa_file_util.cc base::File::Info file_info; File 196 chrome/browser/media_galleries/fileapi/picasa_file_util.cc base::File::Error error = GetFileInfoSync( File 199 chrome/browser/media_galleries/fileapi/picasa_file_util.cc if (error != base::File::FILE_OK) File 203 chrome/browser/media_galleries/fileapi/picasa_file_util.cc return base::File::FILE_ERROR_NOT_A_DIRECTORY; File 221 chrome/browser/media_galleries/fileapi/picasa_file_util.cc return base::File::FILE_ERROR_NOT_FOUND; File 232 chrome/browser/media_galleries/fileapi/picasa_file_util.cc return base::File::FILE_ERROR_NOT_FOUND; File 246 chrome/browser/media_galleries/fileapi/picasa_file_util.cc base::File::Error error = File 248 chrome/browser/media_galleries/fileapi/picasa_file_util.cc if (error != base::File::FILE_OK) File 253 chrome/browser/media_galleries/fileapi/picasa_file_util.cc if (error != base::File::FILE_OK) File 260 chrome/browser/media_galleries/fileapi/picasa_file_util.cc base::File::Info info; File 264 chrome/browser/media_galleries/fileapi/picasa_file_util.cc base::File::FILE_OK) { File 275 chrome/browser/media_galleries/fileapi/picasa_file_util.cc base::File::Error error = File 277 chrome/browser/media_galleries/fileapi/picasa_file_util.cc if (error != base::File::FILE_OK) File 290 chrome/browser/media_galleries/fileapi/picasa_file_util.cc return base::File::FILE_OK; File 293 chrome/browser/media_galleries/fileapi/picasa_file_util.cc base::File::Error PicasaFileUtil::DeleteDirectorySync( File 296 chrome/browser/media_galleries/fileapi/picasa_file_util.cc return base::File::FILE_ERROR_SECURITY; File 299 chrome/browser/media_galleries/fileapi/picasa_file_util.cc base::File::Error PicasaFileUtil::DeleteFileSync( File 302 chrome/browser/media_galleries/fileapi/picasa_file_util.cc return base::File::FILE_ERROR_SECURITY; File 305 chrome/browser/media_galleries/fileapi/picasa_file_util.cc base::File::Error PicasaFileUtil::GetLocalFilePath( File 317 chrome/browser/media_galleries/fileapi/picasa_file_util.cc base::File::Error error = File 319 chrome/browser/media_galleries/fileapi/picasa_file_util.cc if (error != base::File::FILE_OK) File 323 chrome/browser/media_galleries/fileapi/picasa_file_util.cc return base::File::FILE_OK; File 330 chrome/browser/media_galleries/fileapi/picasa_file_util.cc base::File::Error error = File 332 chrome/browser/media_galleries/fileapi/picasa_file_util.cc if (error != base::File::FILE_OK) File 337 chrome/browser/media_galleries/fileapi/picasa_file_util.cc if (error != base::File::FILE_OK) File 342 chrome/browser/media_galleries/fileapi/picasa_file_util.cc return base::File::FILE_ERROR_NOT_FOUND; File 345 chrome/browser/media_galleries/fileapi/picasa_file_util.cc return base::File::FILE_OK; File 351 chrome/browser/media_galleries/fileapi/picasa_file_util.cc base::File::Error error = File 353 chrome/browser/media_galleries/fileapi/picasa_file_util.cc if (error != base::File::FILE_OK) File 358 chrome/browser/media_galleries/fileapi/picasa_file_util.cc return base::File::FILE_OK; File 361 chrome/browser/media_galleries/fileapi/picasa_file_util.cc return base::File::FILE_ERROR_NOT_FOUND; File 368 chrome/browser/media_galleries/fileapi/picasa_file_util.cc return base::File::FILE_ERROR_NOT_FOUND; File 380 chrome/browser/media_galleries/fileapi/picasa_file_util.cc base::Bind(callback, base::File::FILE_ERROR_IO, base::File::Info())); File 396 chrome/browser/media_galleries/fileapi/picasa_file_util.cc base::Bind(callback, base::File::FILE_ERROR_IO, EntryList(), false)); File 43 chrome/browser/media_galleries/fileapi/picasa_file_util.h virtual base::File::Error GetFileInfoSync( File 46 chrome/browser/media_galleries/fileapi/picasa_file_util.h base::File::Info* file_info, File 48 chrome/browser/media_galleries/fileapi/picasa_file_util.h virtual base::File::Error ReadDirectorySync( File 52 chrome/browser/media_galleries/fileapi/picasa_file_util.h virtual base::File::Error DeleteDirectorySync( File 55 chrome/browser/media_galleries/fileapi/picasa_file_util.h virtual base::File::Error DeleteFileSync( File 58 chrome/browser/media_galleries/fileapi/picasa_file_util.h virtual base::File::Error GetLocalFilePath( File 137 chrome/browser/media_galleries/fileapi/picasa_file_util_unittest.cc bool* completed, base::File::Error error, File 141 chrome/browser/media_galleries/fileapi/picasa_file_util_unittest.cc *completed = !has_more && error == base::File::FILE_OK; File 170 chrome/browser/media_galleries/fileapi/picasa_file_util_unittest.cc base::File::Error* error, File 172 chrome/browser/media_galleries/fileapi/picasa_file_util_unittest.cc base::File::Error result, File 173 chrome/browser/media_galleries/fileapi/picasa_file_util_unittest.cc const base::File::Info& file_info, File 587 chrome/browser/media_galleries/fileapi/picasa_file_util_unittest.cc base::File::Error error; File 599 chrome/browser/media_galleries/fileapi/picasa_file_util_unittest.cc EXPECT_EQ(base::File::FILE_OK, error); File 37 chrome/browser/media_galleries/fileapi/safe_audio_video_checker.cc callback_.Run(base::File::FILE_ERROR_SECURITY); File 72 chrome/browser/media_galleries/fileapi/safe_audio_video_checker.cc callback_.Run(valid ? base::File::FILE_OK : File 73 chrome/browser/media_galleries/fileapi/safe_audio_video_checker.cc base::File::FILE_ERROR_SECURITY); File 90 chrome/browser/media_galleries/fileapi/supported_audio_video_checker.cc callback_.Run(base::File::FILE_ERROR_SECURITY); File 30 chrome/browser/media_galleries/fileapi/supported_image_type_validator.cc base::File file(path, base::File::FLAG_OPEN | base::File::FLAG_READ); File 34 chrome/browser/media_galleries/fileapi/supported_image_type_validator.cc base::File::Info file_info; File 67 chrome/browser/media_galleries/fileapi/supported_image_type_validator.cc callback_.Run(base::File::FILE_OK); File 72 chrome/browser/media_galleries/fileapi/supported_image_type_validator.cc callback_.Run(base::File::FILE_ERROR_SECURITY); File 124 chrome/browser/media_galleries/fileapi/supported_image_type_validator.cc callback_.Run(base::File::FILE_ERROR_SECURITY); File 92 chrome/browser/media_galleries/linux/mtp_device_delegate_impl_linux.cc const base::Callback<void(base::File::Error)>& error_callback) { File 113 chrome/browser/media_galleries/linux/mtp_device_delegate_impl_linux.cc const base::Callback<void(const base::File::Info&)>& success_callback, File 114 chrome/browser/media_galleries/linux/mtp_device_delegate_impl_linux.cc const base::Callback<void(base::File::Error)>& error_callback) { File 139 chrome/browser/media_galleries/linux/mtp_device_delegate_impl_linux.cc const base::File::Info& snapshot_file_info) { File 347 chrome/browser/media_galleries/linux/mtp_device_delegate_impl_linux.cc const base::File::Info& file_info) { File 394 chrome/browser/media_galleries/linux/mtp_device_delegate_impl_linux.cc const base::File::Info& file_info) { File 405 chrome/browser/media_galleries/linux/mtp_device_delegate_impl_linux.cc const base::File::Info& file_info) { File 410 chrome/browser/media_galleries/linux/mtp_device_delegate_impl_linux.cc base::File::FILE_ERROR_NOT_A_DIRECTORY); File 430 chrome/browser/media_galleries/linux/mtp_device_delegate_impl_linux.cc const base::File::Info& file_info) { File 435 chrome/browser/media_galleries/linux/mtp_device_delegate_impl_linux.cc base::File::Error error = base::File::FILE_OK; File 437 chrome/browser/media_galleries/linux/mtp_device_delegate_impl_linux.cc error = base::File::FILE_ERROR_NOT_A_FILE; File 439 chrome/browser/media_galleries/linux/mtp_device_delegate_impl_linux.cc error = base::File::FILE_ERROR_FAILED; File 441 chrome/browser/media_galleries/linux/mtp_device_delegate_impl_linux.cc if (error != base::File::FILE_OK) File 444 chrome/browser/media_galleries/linux/mtp_device_delegate_impl_linux.cc base::File::Info snapshot_file_info(file_info); File 468 chrome/browser/media_galleries/linux/mtp_device_delegate_impl_linux.cc const base::File::Info& file_info, File 481 chrome/browser/media_galleries/linux/mtp_device_delegate_impl_linux.cc base::File::Error error) { File 493 chrome/browser/media_galleries/linux/mtp_device_delegate_impl_linux.cc const base::File::Info& file_info, int bytes_read) { File 503 chrome/browser/media_galleries/linux/mtp_device_delegate_impl_linux.cc base::File::Error error) { File 97 chrome/browser/media_galleries/linux/mtp_device_delegate_impl_linux.h void WriteDataIntoSnapshotFile(const base::File::Info& snapshot_file_info); File 112 chrome/browser/media_galleries/linux/mtp_device_delegate_impl_linux.h const base::File::Info& file_info); File 127 chrome/browser/media_galleries/linux/mtp_device_delegate_impl_linux.h const base::File::Info& file_info); File 137 chrome/browser/media_galleries/linux/mtp_device_delegate_impl_linux.h const base::File::Info& file_info); File 154 chrome/browser/media_galleries/linux/mtp_device_delegate_impl_linux.h const base::File::Info& snapshot_file_info, File 163 chrome/browser/media_galleries/linux/mtp_device_delegate_impl_linux.h void OnWriteDataIntoSnapshotFileError(base::File::Error error); File 170 chrome/browser/media_galleries/linux/mtp_device_delegate_impl_linux.h const base::File::Info& file_info, int bytes_read); File 175 chrome/browser/media_galleries/linux/mtp_device_delegate_impl_linux.h base::File::Error error); File 36 chrome/browser/media_galleries/linux/mtp_device_task_helper.cc base::File::Info FileInfoFromMTPFileEntry(const MtpFileEntry& file_entry) { File 37 chrome/browser/media_galleries/linux/mtp_device_task_helper.cc base::File::Info file_entry_info; File 83 chrome/browser/media_galleries/linux/mtp_device_task_helper.cc return HandleDeviceError(error_callback, base::File::FILE_ERROR_FAILED); File 99 chrome/browser/media_galleries/linux/mtp_device_task_helper.cc return HandleDeviceError(error_callback, base::File::FILE_ERROR_FAILED); File 111 chrome/browser/media_galleries/linux/mtp_device_task_helper.cc const base::File::Info& snapshot_file_info) { File 115 chrome/browser/media_galleries/linux/mtp_device_task_helper.cc base::File::FILE_ERROR_FAILED); File 129 chrome/browser/media_galleries/linux/mtp_device_task_helper.cc base::File::FILE_ERROR_FAILED); File 165 chrome/browser/media_galleries/linux/mtp_device_task_helper.cc base::File::FILE_ERROR_NOT_FOUND); File 181 chrome/browser/media_galleries/linux/mtp_device_task_helper.cc return HandleDeviceError(error_callback, base::File::FILE_ERROR_FAILED); File 209 chrome/browser/media_galleries/linux/mtp_device_task_helper.cc base::File::FILE_ERROR_FAILED); File 212 chrome/browser/media_galleries/linux/mtp_device_task_helper.cc base::File::Info file_info = FileInfoFromMTPFileEntry(file_entry); File 215 chrome/browser/media_galleries/linux/mtp_device_task_helper.cc base::File::FILE_ERROR_NOT_A_FILE); File 219 chrome/browser/media_galleries/linux/mtp_device_task_helper.cc base::File::FILE_ERROR_FAILED); File 237 chrome/browser/media_galleries/linux/mtp_device_task_helper.cc const base::File::Info& file_info, File 243 chrome/browser/media_galleries/linux/mtp_device_task_helper.cc base::File::FILE_ERROR_FAILED); File 257 chrome/browser/media_galleries/linux/mtp_device_task_helper.cc base::File::Error error) const { File 88 chrome/browser/media_galleries/linux/mtp_device_task_helper.h const base::File::Info& snapshot_file_info); File 157 chrome/browser/media_galleries/linux/mtp_device_task_helper.h const base::File::Info& file_info, File 166 chrome/browser/media_galleries/linux/mtp_device_task_helper.h base::File::Error error) const; File 51 chrome/browser/media_galleries/linux/mtp_read_file_worker.cc const base::File::Info& snapshot_file_info) { File 132 chrome/browser/media_galleries/linux/mtp_read_file_worker.cc base::File::FILE_ERROR_FAILED)); File 36 chrome/browser/media_galleries/linux/mtp_read_file_worker.h const base::File::Info& snapshot_file_info); File 34 chrome/browser/media_galleries/linux/snapshot_file_details.cc const base::File::Info& file_info) File 46 chrome/browser/media_galleries/linux/snapshot_file_details.h const base::File::Info& file_info); File 62 chrome/browser/media_galleries/linux/snapshot_file_details.h const base::File::Info file_info() const { File 101 chrome/browser/media_galleries/linux/snapshot_file_details.h const base::File::Info file_info_; File 63 chrome/browser/media_galleries/mac/mtp_device_delegate_impl_mac.h const base::File::Info& info); File 66 chrome/browser/media_galleries/mac/mtp_device_delegate_impl_mac.h base::File::Error error); File 80 chrome/browser/media_galleries/mac/mtp_device_delegate_impl_mac.h base::File::Info* file_info, File 81 chrome/browser/media_galleries/mac/mtp_device_delegate_impl_mac.h base::File::Error* error); File 115 chrome/browser/media_galleries/mac/mtp_device_delegate_impl_mac.h base::File::Info> file_info_; File 301 chrome/browser/media_galleries/media_file_system_registry.cc const base::Callback<void(base::File::Error result)>& callback) { File 409 chrome/browser/media_galleries/media_file_system_registry.cc const base::Callback<void(base::File::Error result)>& callback) { File 410 chrome/browser/media_galleries/media_file_system_registry.cc base::File::Error result = base::File::FILE_ERROR_NOT_FOUND; File 422 chrome/browser/media_galleries/media_file_system_registry.cc result = base::File::FILE_OK; File 426 chrome/browser/media_galleries/media_file_system_registry.cc result = base::File::FILE_OK; File 524 chrome/browser/media_galleries/media_file_system_registry.cc const base::Callback<void(base::File::Error result)>& callback) { File 540 chrome/browser/media_galleries/media_file_system_registry.cc base::Bind(callback, base::File::FILE_ERROR_NOT_FOUND)); File 90 chrome/browser/media_galleries/media_file_system_registry.h const base::Callback<void(base::File::Error result)>& callback); File 154 chrome/browser/media_galleries/win/mtp_device_delegate_impl_win.cc base::File::Error GetFileInfoOnBlockingPoolThread( File 157 chrome/browser/media_galleries/win/mtp_device_delegate_impl_win.cc base::File::Info* file_info) { File 166 chrome/browser/media_galleries/win/mtp_device_delegate_impl_win.cc return base::File::FILE_ERROR_FAILED; File 171 chrome/browser/media_galleries/win/mtp_device_delegate_impl_win.cc return base::File::FILE_ERROR_FAILED; File 180 chrome/browser/media_galleries/win/mtp_device_delegate_impl_win.cc base::File::Error ReadDirectoryOnBlockingPoolThread( File 187 chrome/browser/media_galleries/win/mtp_device_delegate_impl_win.cc base::File::Info file_info; File 188 chrome/browser/media_galleries/win/mtp_device_delegate_impl_win.cc base::File::Error error = GetFileInfoOnBlockingPoolThread(device_info, root, File 190 chrome/browser/media_galleries/win/mtp_device_delegate_impl_win.cc if (error != base::File::FILE_OK) File 194 chrome/browser/media_galleries/win/mtp_device_delegate_impl_win.cc return base::File::FILE_ERROR_NOT_A_DIRECTORY; File 218 chrome/browser/media_galleries/win/mtp_device_delegate_impl_win.cc base::File::Error GetFileStreamOnBlockingPoolThread( File 229 chrome/browser/media_galleries/win/mtp_device_delegate_impl_win.cc return base::File::FILE_ERROR_FAILED; File 235 chrome/browser/media_galleries/win/mtp_device_delegate_impl_win.cc return base::File::FILE_ERROR_FAILED; File 237 chrome/browser/media_galleries/win/mtp_device_delegate_impl_win.cc base::File::Info file_info; File 238 chrome/browser/media_galleries/win/mtp_device_delegate_impl_win.cc base::File::Error error = File 243 chrome/browser/media_galleries/win/mtp_device_delegate_impl_win.cc if (error != base::File::FILE_OK) File 255 chrome/browser/media_galleries/win/mtp_device_delegate_impl_win.cc return base::File::FILE_ERROR_FAILED; File 351 chrome/browser/media_galleries/win/mtp_device_delegate_impl_win.cc const base::Callback<base::File::Error(void)>& task, File 352 chrome/browser/media_galleries/win/mtp_device_delegate_impl_win.cc const base::Callback<void(base::File::Error)>& reply) File 385 chrome/browser/media_galleries/win/mtp_device_delegate_impl_win.cc base::File::Info* file_info = new base::File::Info; File 534 chrome/browser/media_galleries/win/mtp_device_delegate_impl_win.cc base::File::Info* file_info, File 535 chrome/browser/media_galleries/win/mtp_device_delegate_impl_win.cc base::File::Error error) { File 538 chrome/browser/media_galleries/win/mtp_device_delegate_impl_win.cc if (error == base::File::FILE_OK) File 550 chrome/browser/media_galleries/win/mtp_device_delegate_impl_win.cc base::File::Error error) { File 553 chrome/browser/media_galleries/win/mtp_device_delegate_impl_win.cc if (error == base::File::FILE_OK) File 563 chrome/browser/media_galleries/win/mtp_device_delegate_impl_win.cc base::File::Error error) { File 569 chrome/browser/media_galleries/win/mtp_device_delegate_impl_win.cc if (error != base::File::FILE_OK) { File 618 chrome/browser/media_galleries/win/mtp_device_delegate_impl_win.cc base::File::FILE_ERROR_FAILED); File 75 chrome/browser/media_galleries/win/mtp_device_delegate_impl_win.h const base::Callback<base::File::Error(void)>& task, File 76 chrome/browser/media_galleries/win/mtp_device_delegate_impl_win.h const base::Callback<void(base::File::Error)>& reply); File 79 chrome/browser/media_galleries/win/mtp_device_delegate_impl_win.h const base::Callback<base::File::Error(void)> task; File 80 chrome/browser/media_galleries/win/mtp_device_delegate_impl_win.h const base::Callback<void(base::File::Error)> reply; File 149 chrome/browser/media_galleries/win/mtp_device_delegate_impl_win.h base::File::Info* file_info, File 150 chrome/browser/media_galleries/win/mtp_device_delegate_impl_win.h base::File::Error error); File 163 chrome/browser/media_galleries/win/mtp_device_delegate_impl_win.h base::File::Error error); File 175 chrome/browser/media_galleries/win/mtp_device_delegate_impl_win.h base::File::Error error); File 316 chrome/browser/media_galleries/win/mtp_device_operations_util.cc base::File::Error GetFileEntryInfo( File 319 chrome/browser/media_galleries/win/mtp_device_operations_util.cc base::File::Info* file_entry_info) { File 325 chrome/browser/media_galleries/win/mtp_device_operations_util.cc return base::File::FILE_ERROR_NOT_FOUND; File 333 chrome/browser/media_galleries/win/mtp_device_operations_util.cc return base::File::FILE_OK; File 35 chrome/browser/media_galleries/win/mtp_device_operations_util.h base::File::Error GetFileEntryInfo( File 38 chrome/browser/media_galleries/win/mtp_device_operations_util.h base::File::Info* file_entry_info); File 40 chrome/browser/media_galleries/win/snapshot_file_details.cc void SnapshotFileDetails::set_file_info(const base::File::Info& file_info) { File 42 chrome/browser/media_galleries/win/snapshot_file_details.h void set_file_info(const base::File::Info& file_info); File 50 chrome/browser/media_galleries/win/snapshot_file_details.h base::File::Info file_info() const { File 80 chrome/browser/media_galleries/win/snapshot_file_details.h base::File::Info file_info_; File 342 chrome/browser/password_manager/password_store_x_unittest.cc base::File::Info db_file_start_info; File 358 chrome/browser/password_manager/password_store_x_unittest.cc base::File::Info db_file_full_info; File 432 chrome/browser/password_manager/password_store_x_unittest.cc base::File::Info db_file_end_info; File 605 chrome/browser/safe_browsing/safe_browsing_database.cc base::File::Info db_info; File 1515 chrome/browser/safe_browsing/safe_browsing_database.cc base::File::Info db_info; File 1628 chrome/browser/safe_browsing/safe_browsing_database_unittest.cc base::File::Info before_info, after_info; File 53 chrome/browser/safe_browsing/sandboxed_zip_analyzer.cc base::File::FLAG_OPEN | base::File::FLAG_READ); File 67 chrome/browser/safe_browsing/sandboxed_zip_analyzer.h base::File zip_file_; File 48 chrome/browser/sessions/session_backend.cc file_.reset(new base::File( File 49 chrome/browser/sessions/session_backend.cc path, base::File::FLAG_OPEN | base::File::FLAG_READ)); File 77 chrome/browser/sessions/session_backend.cc scoped_ptr<base::File> file_; File 304 chrome/browser/sessions/session_backend.cc bool SessionBackend::AppendCommandsToFile(base::File* file, File 363 chrome/browser/sessions/session_backend.cc base::File::FROM_BEGIN, header_size) != header_size || File 372 chrome/browser/sessions/session_backend.cc base::File* SessionBackend::OpenAndWriteHeader(const base::FilePath& path) { File 374 chrome/browser/sessions/session_backend.cc scoped_ptr<base::File> file(new base::File( File 376 chrome/browser/sessions/session_backend.cc base::File::FLAG_CREATE_ALWAYS | base::File::FLAG_WRITE | File 377 chrome/browser/sessions/session_backend.cc base::File::FLAG_EXCLUSIVE_WRITE | base::File::FLAG_EXCLUSIVE_READ)); File 17 chrome/browser/sessions/session_backend.h class File; File 108 chrome/browser/sessions/session_backend.h base::File* OpenAndWriteHeader(const base::FilePath& path); File 111 chrome/browser/sessions/session_backend.h bool AppendCommandsToFile(base::File* file, File 129 chrome/browser/sessions/session_backend.h scoped_ptr<base::File> current_session_file_; File 30 chrome/browser/spellchecker/spellcheck_hunspell_dictionary.cc void CloseDictionary(base::File file) { File 282 chrome/browser/spellchecker/spellcheck_hunspell_dictionary.cc base::File::FLAG_READ | base::File::FLAG_OPEN); File 104 chrome/browser/spellchecker/spellcheck_hunspell_dictionary.h base::File file; File 172 chrome/browser/sync_file_system/drive_backend/drive_backend_sync_unittest.cc EXPECT_EQ(base::File::FILE_OK, file_system->OpenFileSystem()); File 185 chrome/browser/sync_file_system/drive_backend/drive_backend_sync_unittest.cc EXPECT_EQ(base::File::FILE_OK, File 195 chrome/browser/sync_file_system/drive_backend/drive_backend_sync_unittest.cc EXPECT_EQ(base::File::FILE_OK, file_systems_[app_id]->CreateFile(url)); File 214 chrome/browser/sync_file_system/drive_backend/drive_backend_sync_unittest.cc EXPECT_EQ(base::File::FILE_OK, File 356 chrome/browser/sync_file_system/drive_backend/drive_backend_sync_unittest.cc EXPECT_EQ(base::File::FILE_OK, File 396 chrome/browser/sync_file_system/drive_backend/drive_backend_sync_unittest.cc EXPECT_EQ(base::File::FILE_OK, File 418 chrome/browser/sync_file_system/drive_backend/drive_backend_sync_unittest.cc EXPECT_EQ(base::File::FILE_OK, File 438 chrome/browser/sync_file_system/drive_backend/drive_backend_sync_unittest.cc EXPECT_EQ(base::File::FILE_OK, File 449 chrome/browser/sync_file_system/drive_backend/drive_backend_sync_unittest.cc EXPECT_EQ(base::File::FILE_OK, File 152 chrome/browser/sync_file_system/drive_backend_v1/drive_file_sync_service_sync_unittest.cc EXPECT_EQ(base::File::FILE_OK, file_system->OpenFileSystem()); File 168 chrome/browser/sync_file_system/drive_backend_v1/drive_file_sync_service_sync_unittest.cc EXPECT_EQ(base::File::FILE_OK, file_systems_[origin]->CreateFile(url)); File 186 chrome/browser/sync_file_system/drive_backend_v1/drive_file_sync_service_sync_unittest.cc EXPECT_EQ(base::File::FILE_OK, File 317 chrome/browser/sync_file_system/drive_backend_v1/drive_file_sync_service_sync_unittest.cc EXPECT_EQ(base::File::FILE_OK, File 354 chrome/browser/sync_file_system/drive_backend_v1/drive_file_sync_service_sync_unittest.cc EXPECT_EQ(base::File::FILE_OK, File 36 chrome/browser/sync_file_system/local/canned_syncable_file_system.cc using base::File; File 102 chrome/browser/sync_file_system/local/canned_syncable_file_system.cc base::File::Error result, File 103 chrome/browser/sync_file_system/local/canned_syncable_file_system.cc const base::File::Info& file_info, File 106 chrome/browser/sync_file_system/local/canned_syncable_file_system.cc if (result != base::File::FILE_OK) { File 119 chrome/browser/sync_file_system/local/canned_syncable_file_system.cc base::File::Info* file_info_out, File 122 chrome/browser/sync_file_system/local/canned_syncable_file_system.cc base::File::Error result, File 123 chrome/browser/sync_file_system/local/canned_syncable_file_system.cc const base::File::Info& file_info, File 137 chrome/browser/sync_file_system/local/canned_syncable_file_system.cc base::File::Error error, File 170 chrome/browser/sync_file_system/local/canned_syncable_file_system.cc File::Error error, int64 bytes, bool complete) { File 171 chrome/browser/sync_file_system/local/canned_syncable_file_system.cc if (error == base::File::FILE_OK) { File 176 chrome/browser/sync_file_system/local/canned_syncable_file_system.cc completion_callback.Run(error == base::File::FILE_OK ? File 213 chrome/browser/sync_file_system/local/canned_syncable_file_system.cc result_(base::File::FILE_OK), File 280 chrome/browser/sync_file_system/local/canned_syncable_file_system.cc File::Error CannedSyncableFileSystem::OpenFileSystem() { File 328 chrome/browser/sync_file_system/local/canned_syncable_file_system.cc File::Error CannedSyncableFileSystem::CreateDirectory( File 330 chrome/browser/sync_file_system/local/canned_syncable_file_system.cc return RunOnThread<File::Error>( File 338 chrome/browser/sync_file_system/local/canned_syncable_file_system.cc File::Error CannedSyncableFileSystem::CreateFile(const FileSystemURL& url) { File 339 chrome/browser/sync_file_system/local/canned_syncable_file_system.cc return RunOnThread<File::Error>( File 347 chrome/browser/sync_file_system/local/canned_syncable_file_system.cc File::Error CannedSyncableFileSystem::Copy( File 349 chrome/browser/sync_file_system/local/canned_syncable_file_system.cc return RunOnThread<File::Error>( File 358 chrome/browser/sync_file_system/local/canned_syncable_file_system.cc File::Error CannedSyncableFileSystem::Move( File 360 chrome/browser/sync_file_system/local/canned_syncable_file_system.cc return RunOnThread<File::Error>( File 369 chrome/browser/sync_file_system/local/canned_syncable_file_system.cc File::Error CannedSyncableFileSystem::TruncateFile( File 371 chrome/browser/sync_file_system/local/canned_syncable_file_system.cc return RunOnThread<File::Error>( File 380 chrome/browser/sync_file_system/local/canned_syncable_file_system.cc File::Error CannedSyncableFileSystem::TouchFile( File 384 chrome/browser/sync_file_system/local/canned_syncable_file_system.cc return RunOnThread<File::Error>( File 394 chrome/browser/sync_file_system/local/canned_syncable_file_system.cc File::Error CannedSyncableFileSystem::Remove( File 396 chrome/browser/sync_file_system/local/canned_syncable_file_system.cc return RunOnThread<File::Error>( File 405 chrome/browser/sync_file_system/local/canned_syncable_file_system.cc File::Error CannedSyncableFileSystem::FileExists( File 407 chrome/browser/sync_file_system/local/canned_syncable_file_system.cc return RunOnThread<File::Error>( File 415 chrome/browser/sync_file_system/local/canned_syncable_file_system.cc File::Error CannedSyncableFileSystem::DirectoryExists( File 417 chrome/browser/sync_file_system/local/canned_syncable_file_system.cc return RunOnThread<File::Error>( File 425 chrome/browser/sync_file_system/local/canned_syncable_file_system.cc File::Error CannedSyncableFileSystem::VerifyFile( File 428 chrome/browser/sync_file_system/local/canned_syncable_file_system.cc return RunOnThread<File::Error>( File 437 chrome/browser/sync_file_system/local/canned_syncable_file_system.cc File::Error CannedSyncableFileSystem::GetMetadataAndPlatformPath( File 439 chrome/browser/sync_file_system/local/canned_syncable_file_system.cc base::File::Info* info, File 441 chrome/browser/sync_file_system/local/canned_syncable_file_system.cc return RunOnThread<File::Error>( File 451 chrome/browser/sync_file_system/local/canned_syncable_file_system.cc File::Error CannedSyncableFileSystem::ReadDirectory( File 454 chrome/browser/sync_file_system/local/canned_syncable_file_system.cc return RunOnThread<File::Error>( File 486 chrome/browser/sync_file_system/local/canned_syncable_file_system.cc File::Error CannedSyncableFileSystem::DeleteFileSystem() { File 488 chrome/browser/sync_file_system/local/canned_syncable_file_system.cc return RunOnThread<File::Error>( File 660 chrome/browser/sync_file_system/local/canned_syncable_file_system.cc base::File::Info* info, File 724 chrome/browser/sync_file_system/local/canned_syncable_file_system.cc File::Error result) { File 64 chrome/browser/sync_file_system/local/canned_syncable_file_system.h base::File::Error result)> File 66 chrome/browser/sync_file_system/local/canned_syncable_file_system.h typedef base::Callback<void(base::File::Error)> StatusCallback; File 96 chrome/browser/sync_file_system/local/canned_syncable_file_system.h base::File::Error OpenFileSystem(); File 119 chrome/browser/sync_file_system/local/canned_syncable_file_system.h base::File::Error CreateDirectory(const fileapi::FileSystemURL& url); File 120 chrome/browser/sync_file_system/local/canned_syncable_file_system.h base::File::Error CreateFile(const fileapi::FileSystemURL& url); File 121 chrome/browser/sync_file_system/local/canned_syncable_file_system.h base::File::Error Copy(const fileapi::FileSystemURL& src_url, File 123 chrome/browser/sync_file_system/local/canned_syncable_file_system.h base::File::Error Move(const fileapi::FileSystemURL& src_url, File 125 chrome/browser/sync_file_system/local/canned_syncable_file_system.h base::File::Error TruncateFile(const fileapi::FileSystemURL& url, File 127 chrome/browser/sync_file_system/local/canned_syncable_file_system.h base::File::Error TouchFile(const fileapi::FileSystemURL& url, File 130 chrome/browser/sync_file_system/local/canned_syncable_file_system.h base::File::Error Remove(const fileapi::FileSystemURL& url, bool recursive); File 131 chrome/browser/sync_file_system/local/canned_syncable_file_system.h base::File::Error FileExists(const fileapi::FileSystemURL& url); File 132 chrome/browser/sync_file_system/local/canned_syncable_file_system.h base::File::Error DirectoryExists(const fileapi::FileSystemURL& url); File 133 chrome/browser/sync_file_system/local/canned_syncable_file_system.h base::File::Error VerifyFile(const fileapi::FileSystemURL& url, File 135 chrome/browser/sync_file_system/local/canned_syncable_file_system.h base::File::Error GetMetadataAndPlatformPath( File 137 chrome/browser/sync_file_system/local/canned_syncable_file_system.h base::File::Info* info, File 139 chrome/browser/sync_file_system/local/canned_syncable_file_system.h base::File::Error ReadDirectory(const fileapi::FileSystemURL& url, File 149 chrome/browser/sync_file_system/local/canned_syncable_file_system.h base::File::Error DeleteFileSystem(); File 198 chrome/browser/sync_file_system/local/canned_syncable_file_system.h base::File::Info* info, File 222 chrome/browser/sync_file_system/local/canned_syncable_file_system.h base::File::Error result); File 235 chrome/browser/sync_file_system/local/canned_syncable_file_system.h base::File::Error result_; File 344 chrome/browser/sync_file_system/local/local_file_change_tracker.cc base::File::Info file_info; File 124 chrome/browser/sync_file_system/local/local_file_change_tracker_unittest.cc EXPECT_EQ(base::File::FILE_OK, file_system_.OpenFileSystem()); File 239 chrome/browser/sync_file_system/local/local_file_change_tracker_unittest.cc EXPECT_EQ(base::File::FILE_OK, file_system_.OpenFileSystem()); File 257 chrome/browser/sync_file_system/local/local_file_change_tracker_unittest.cc EXPECT_EQ(base::File::FILE_OK, File 259 chrome/browser/sync_file_system/local/local_file_change_tracker_unittest.cc EXPECT_EQ(base::File::FILE_OK, File 261 chrome/browser/sync_file_system/local/local_file_change_tracker_unittest.cc EXPECT_EQ(base::File::FILE_OK, File 263 chrome/browser/sync_file_system/local/local_file_change_tracker_unittest.cc EXPECT_EQ(base::File::FILE_OK, File 265 chrome/browser/sync_file_system/local/local_file_change_tracker_unittest.cc EXPECT_EQ(base::File::FILE_OK, File 267 chrome/browser/sync_file_system/local/local_file_change_tracker_unittest.cc EXPECT_EQ(base::File::FILE_OK, File 308 chrome/browser/sync_file_system/local/local_file_change_tracker_unittest.cc EXPECT_EQ(base::File::FILE_OK, file_system_.OpenFileSystem()); File 323 chrome/browser/sync_file_system/local/local_file_change_tracker_unittest.cc EXPECT_EQ(base::File::FILE_OK, File 325 chrome/browser/sync_file_system/local/local_file_change_tracker_unittest.cc EXPECT_EQ(base::File::FILE_OK, File 329 chrome/browser/sync_file_system/local/local_file_change_tracker_unittest.cc EXPECT_EQ(base::File::FILE_OK, File 331 chrome/browser/sync_file_system/local/local_file_change_tracker_unittest.cc EXPECT_EQ(base::File::FILE_OK, File 335 chrome/browser/sync_file_system/local/local_file_change_tracker_unittest.cc EXPECT_EQ(base::File::FILE_OK, File 337 chrome/browser/sync_file_system/local/local_file_change_tracker_unittest.cc EXPECT_EQ(base::File::FILE_OK, File 339 chrome/browser/sync_file_system/local/local_file_change_tracker_unittest.cc EXPECT_EQ(base::File::FILE_OK, File 341 chrome/browser/sync_file_system/local/local_file_change_tracker_unittest.cc EXPECT_EQ(base::File::FILE_OK, File 343 chrome/browser/sync_file_system/local/local_file_change_tracker_unittest.cc EXPECT_EQ(base::File::FILE_OK, File 384 chrome/browser/sync_file_system/local/local_file_change_tracker_unittest.cc EXPECT_EQ(base::File::FILE_OK, file_system_.OpenFileSystem()); File 408 chrome/browser/sync_file_system/local/local_file_change_tracker_unittest.cc EXPECT_EQ(base::File::FILE_OK, File 410 chrome/browser/sync_file_system/local/local_file_change_tracker_unittest.cc EXPECT_EQ(base::File::FILE_OK, File 412 chrome/browser/sync_file_system/local/local_file_change_tracker_unittest.cc EXPECT_EQ(base::File::FILE_OK, File 414 chrome/browser/sync_file_system/local/local_file_change_tracker_unittest.cc EXPECT_EQ(base::File::FILE_OK, File 416 chrome/browser/sync_file_system/local/local_file_change_tracker_unittest.cc EXPECT_EQ(base::File::FILE_OK, File 418 chrome/browser/sync_file_system/local/local_file_change_tracker_unittest.cc EXPECT_EQ(base::File::FILE_OK, File 438 chrome/browser/sync_file_system/local/local_file_change_tracker_unittest.cc EXPECT_EQ(base::File::FILE_OK, File 440 chrome/browser/sync_file_system/local/local_file_change_tracker_unittest.cc EXPECT_EQ(base::File::FILE_OK, File 475 chrome/browser/sync_file_system/local/local_file_change_tracker_unittest.cc EXPECT_EQ(base::File::FILE_OK, file_system_.OpenFileSystem()); File 495 chrome/browser/sync_file_system/local/local_file_change_tracker_unittest.cc EXPECT_EQ(base::File::FILE_OK, File 497 chrome/browser/sync_file_system/local/local_file_change_tracker_unittest.cc EXPECT_EQ(base::File::FILE_OK, File 499 chrome/browser/sync_file_system/local/local_file_change_tracker_unittest.cc EXPECT_EQ(base::File::FILE_OK, File 501 chrome/browser/sync_file_system/local/local_file_change_tracker_unittest.cc EXPECT_EQ(base::File::FILE_OK, File 503 chrome/browser/sync_file_system/local/local_file_change_tracker_unittest.cc EXPECT_EQ(base::File::FILE_OK, File 520 chrome/browser/sync_file_system/local/local_file_change_tracker_unittest.cc EXPECT_EQ(base::File::FILE_OK, File 522 chrome/browser/sync_file_system/local/local_file_change_tracker_unittest.cc EXPECT_EQ(base::File::FILE_OK, File 569 chrome/browser/sync_file_system/local/local_file_change_tracker_unittest.cc EXPECT_EQ(base::File::FILE_OK, file_system_.OpenFileSystem()); File 582 chrome/browser/sync_file_system/local/local_file_change_tracker_unittest.cc EXPECT_EQ(base::File::FILE_OK, File 584 chrome/browser/sync_file_system/local/local_file_change_tracker_unittest.cc EXPECT_EQ(base::File::FILE_OK, File 586 chrome/browser/sync_file_system/local/local_file_change_tracker_unittest.cc EXPECT_EQ(base::File::FILE_OK, File 588 chrome/browser/sync_file_system/local/local_file_change_tracker_unittest.cc EXPECT_EQ(base::File::FILE_OK, File 610 chrome/browser/sync_file_system/local/local_file_change_tracker_unittest.cc EXPECT_EQ(base::File::FILE_OK, file_system_.OpenFileSystem()); File 617 chrome/browser/sync_file_system/local/local_file_change_tracker_unittest.cc EXPECT_EQ(base::File::FILE_OK, File 619 chrome/browser/sync_file_system/local/local_file_change_tracker_unittest.cc EXPECT_EQ(base::File::FILE_OK, File 621 chrome/browser/sync_file_system/local/local_file_change_tracker_unittest.cc EXPECT_EQ(base::File::FILE_OK, File 623 chrome/browser/sync_file_system/local/local_file_change_tracker_unittest.cc EXPECT_EQ(base::File::FILE_OK, File 647 chrome/browser/sync_file_system/local/local_file_change_tracker_unittest.cc EXPECT_EQ(base::File::FILE_OK, file_system_.OpenFileSystem()); File 654 chrome/browser/sync_file_system/local/local_file_change_tracker_unittest.cc EXPECT_EQ(base::File::FILE_OK, File 656 chrome/browser/sync_file_system/local/local_file_change_tracker_unittest.cc EXPECT_EQ(base::File::FILE_OK, File 658 chrome/browser/sync_file_system/local/local_file_change_tracker_unittest.cc EXPECT_EQ(base::File::FILE_OK, File 660 chrome/browser/sync_file_system/local/local_file_change_tracker_unittest.cc EXPECT_EQ(base::File::FILE_OK, File 339 chrome/browser/sync_file_system/local/local_file_sync_context.cc DidApplyRemoteChange(url, callback, base::File::FILE_OK); File 361 chrome/browser/sync_file_system/local/local_file_sync_context.cc base::File::Error error) { File 627 chrome/browser/sync_file_system/local/local_file_sync_context.cc base::File::Error error) { File 630 chrome/browser/sync_file_system/local/local_file_sync_context.cc error = base::File::FILE_ERROR_ABORT; File 631 chrome/browser/sync_file_system/local/local_file_sync_context.cc if (error != base::File::FILE_OK) { File 731 chrome/browser/sync_file_system/local/local_file_sync_context.cc base::File::FILE_OK); File 859 chrome/browser/sync_file_system/local/local_file_sync_context.cc base::File::Info file_info; File 864 chrome/browser/sync_file_system/local/local_file_sync_context.cc base::File::Error file_error = file_util->GetFileInfo( File 872 chrome/browser/sync_file_system/local/local_file_sync_context.cc if (file_error == base::File::FILE_OK && sync_mode == SYNC_SNAPSHOT) { File 886 chrome/browser/sync_file_system/local/local_file_sync_context.cc file_error != base::File::FILE_OK && File 887 chrome/browser/sync_file_system/local/local_file_sync_context.cc file_error != base::File::FILE_ERROR_NOT_FOUND) { File 894 chrome/browser/sync_file_system/local/local_file_sync_context.cc if (file_error == base::File::FILE_ERROR_NOT_FOUND) File 961 chrome/browser/sync_file_system/local/local_file_sync_context.cc base::File::Error file_error) { File 971 chrome/browser/sync_file_system/local/local_file_sync_context.cc base::File::Error file_error, File 972 chrome/browser/sync_file_system/local/local_file_sync_context.cc const base::File::Info& file_info) { File 975 chrome/browser/sync_file_system/local/local_file_sync_context.cc if (file_error == base::File::FILE_OK) { File 997 chrome/browser/sync_file_system/local/local_file_sync_context.cc base::File::Error error) { File 998 chrome/browser/sync_file_system/local/local_file_sync_context.cc if (error != base::File::FILE_OK) { File 217 chrome/browser/sync_file_system/local/local_file_sync_context.h typedef base::Callback<void(base::File::Error result)> StatusCallback; File 243 chrome/browser/sync_file_system/local/local_file_sync_context.h base::File::Error error); File 310 chrome/browser/sync_file_system/local/local_file_sync_context.h base::File::Error error); File 316 chrome/browser/sync_file_system/local/local_file_sync_context.h base::File::Error file_error); File 320 chrome/browser/sync_file_system/local/local_file_sync_context.h base::File::Error file_error, File 321 chrome/browser/sync_file_system/local/local_file_sync_context.h const base::File::Info& file_info); File 330 chrome/browser/sync_file_system/local/local_file_sync_context.h base::File::Error error); File 60 chrome/browser/sync_file_system/local/local_file_sync_context_unittest.cc file_error_(base::File::FILE_ERROR_FAILED), File 189 chrome/browser/sync_file_system/local/local_file_sync_context_unittest.cc file_error_ = base::File::FILE_ERROR_FAILED; File 195 chrome/browser/sync_file_system/local/local_file_sync_context_unittest.cc base::File::Error WaitUntilModifyFileIsDone() { File 201 chrome/browser/sync_file_system/local/local_file_sync_context_unittest.cc void DidModifyFile(base::File::Error error) { File 244 chrome/browser/sync_file_system/local/local_file_sync_context_unittest.cc ASSERT_EQ(base::File::FILE_OK, file_system.OpenFileSystem()); File 247 chrome/browser/sync_file_system/local/local_file_sync_context_unittest.cc EXPECT_EQ(base::File::FILE_OK, file_system.CreateFile(kFile)); File 296 chrome/browser/sync_file_system/local/local_file_sync_context_unittest.cc ASSERT_EQ(base::File::FILE_OK, file_system.OpenFileSystem()); File 299 chrome/browser/sync_file_system/local/local_file_sync_context_unittest.cc EXPECT_EQ(base::File::FILE_OK, file_system.CreateFile(kFile)); File 324 chrome/browser/sync_file_system/local/local_file_sync_context_unittest.cc EXPECT_EQ(base::File::FILE_OK, WaitUntilModifyFileIsDone()); File 333 chrome/browser/sync_file_system/local/local_file_sync_context_unittest.cc EXPECT_EQ(base::File::FILE_OK, WaitUntilModifyFileIsDone()); File 363 chrome/browser/sync_file_system/local/local_file_sync_context_unittest.cc base::File::Error file_error_; File 404 chrome/browser/sync_file_system/local/local_file_sync_context_unittest.cc EXPECT_EQ(base::File::FILE_OK, file_system.OpenFileSystem()); File 407 chrome/browser/sync_file_system/local/local_file_sync_context_unittest.cc EXPECT_EQ(base::File::FILE_OK, file_system.CreateFile(kURL)); File 441 chrome/browser/sync_file_system/local/local_file_sync_context_unittest.cc EXPECT_EQ(base::File::FILE_OK, file_system1.OpenFileSystem()); File 442 chrome/browser/sync_file_system/local/local_file_sync_context_unittest.cc EXPECT_EQ(base::File::FILE_OK, file_system2.OpenFileSystem()); File 448 chrome/browser/sync_file_system/local/local_file_sync_context_unittest.cc EXPECT_EQ(base::File::FILE_OK, file_system1.CreateFile(kURL1)); File 462 chrome/browser/sync_file_system/local/local_file_sync_context_unittest.cc EXPECT_EQ(base::File::FILE_OK, file_system2.CreateDirectory(kURL2)); File 550 chrome/browser/sync_file_system/local/local_file_sync_context_unittest.cc EXPECT_EQ(base::File::FILE_OK, file_system.OpenFileSystem()); File 555 chrome/browser/sync_file_system/local/local_file_sync_context_unittest.cc EXPECT_EQ(base::File::FILE_OK, file_system.CreateFile(kURL1)); File 581 chrome/browser/sync_file_system/local/local_file_sync_context_unittest.cc EXPECT_EQ(base::File::FILE_OK, WaitUntilModifyFileIsDone()); File 613 chrome/browser/sync_file_system/local/local_file_sync_context_unittest.cc ASSERT_EQ(base::File::FILE_OK, file_system.OpenFileSystem()); File 626 chrome/browser/sync_file_system/local/local_file_sync_context_unittest.cc EXPECT_EQ(base::File::FILE_OK, file_system.CreateFile(kFile)); File 627 chrome/browser/sync_file_system/local/local_file_sync_context_unittest.cc EXPECT_EQ(base::File::FILE_OK, file_system.CreateDirectory(kDir)); File 628 chrome/browser/sync_file_system/local/local_file_sync_context_unittest.cc EXPECT_EQ(base::File::FILE_OK, file_system.CreateFile(kChild)); File 666 chrome/browser/sync_file_system/local/local_file_sync_context_unittest.cc EXPECT_EQ(base::File::FILE_ERROR_NOT_FOUND, File 668 chrome/browser/sync_file_system/local/local_file_sync_context_unittest.cc EXPECT_EQ(base::File::FILE_ERROR_NOT_FOUND, File 670 chrome/browser/sync_file_system/local/local_file_sync_context_unittest.cc EXPECT_EQ(base::File::FILE_ERROR_NOT_FOUND, File 701 chrome/browser/sync_file_system/local/local_file_sync_context_unittest.cc ASSERT_EQ(base::File::FILE_OK, file_system.OpenFileSystem()); File 714 chrome/browser/sync_file_system/local/local_file_sync_context_unittest.cc EXPECT_EQ(base::File::FILE_OK, file_system.CreateFile(kFile)); File 715 chrome/browser/sync_file_system/local/local_file_sync_context_unittest.cc EXPECT_EQ(base::File::FILE_OK, file_system.CreateDirectory(kDir)); File 716 chrome/browser/sync_file_system/local/local_file_sync_context_unittest.cc EXPECT_EQ(base::File::FILE_OK, file_system.CreateFile(kChild)); File 734 chrome/browser/sync_file_system/local/local_file_sync_context_unittest.cc EXPECT_EQ(base::File::FILE_ERROR_NOT_FOUND, File 736 chrome/browser/sync_file_system/local/local_file_sync_context_unittest.cc EXPECT_EQ(base::File::FILE_ERROR_NOT_FOUND, File 738 chrome/browser/sync_file_system/local/local_file_sync_context_unittest.cc EXPECT_EQ(base::File::FILE_ERROR_NOT_FOUND, File 771 chrome/browser/sync_file_system/local/local_file_sync_context_unittest.cc ASSERT_EQ(base::File::FILE_OK, file_system.OpenFileSystem()); File 782 chrome/browser/sync_file_system/local/local_file_sync_context_unittest.cc EXPECT_EQ(base::File::FILE_OK, file_system.CreateFile(kFile1)); File 787 chrome/browser/sync_file_system/local/local_file_sync_context_unittest.cc EXPECT_EQ(base::File::FILE_ERROR_NOT_FOUND, File 789 chrome/browser/sync_file_system/local/local_file_sync_context_unittest.cc EXPECT_EQ(base::File::FILE_ERROR_NOT_FOUND, File 873 chrome/browser/sync_file_system/local/local_file_sync_context_unittest.cc EXPECT_EQ(base::File::FILE_OK, file_system.FileExists(kDir)); File 899 chrome/browser/sync_file_system/local/local_file_sync_context_unittest.cc EXPECT_EQ(base::File::FILE_OK, file_system.FileExists(kFile1)); File 900 chrome/browser/sync_file_system/local/local_file_sync_context_unittest.cc EXPECT_EQ(base::File::FILE_OK, file_system.FileExists(kFile2)); File 901 chrome/browser/sync_file_system/local/local_file_sync_context_unittest.cc EXPECT_EQ(base::File::FILE_OK, file_system.DirectoryExists(kDir)); File 922 chrome/browser/sync_file_system/local/local_file_sync_context_unittest.cc ASSERT_EQ(base::File::FILE_OK, file_system.OpenFileSystem()); File 929 chrome/browser/sync_file_system/local/local_file_sync_context_unittest.cc EXPECT_EQ(base::File::FILE_ERROR_NOT_FOUND, file_system.FileExists(kDir)); File 930 chrome/browser/sync_file_system/local/local_file_sync_context_unittest.cc EXPECT_EQ(base::File::FILE_ERROR_NOT_FOUND, file_system.FileExists(kFile)); File 955 chrome/browser/sync_file_system/local/local_file_sync_context_unittest.cc EXPECT_EQ(base::File::FILE_OK, file_system.FileExists(kFile)); File 956 chrome/browser/sync_file_system/local/local_file_sync_context_unittest.cc EXPECT_EQ(base::File::FILE_OK, file_system.DirectoryExists(kDir)); File 136 chrome/browser/sync_file_system/local/local_file_sync_service_unittest.cc EXPECT_EQ(base::File::FILE_OK, file_system_->OpenFileSystem()); File 238 chrome/browser/sync_file_system/local/local_file_sync_service_unittest.cc EXPECT_EQ(base::File::FILE_OK, File 253 chrome/browser/sync_file_system/local/local_file_sync_service_unittest.cc EXPECT_EQ(base::File::FILE_OK, File 268 chrome/browser/sync_file_system/local/local_file_sync_service_unittest.cc EXPECT_EQ(base::File::FILE_ERROR_NOT_FOUND, File 278 chrome/browser/sync_file_system/local/local_file_sync_service_unittest.cc EXPECT_EQ(base::File::FILE_OK, file_system_->CreateFile(kFile)); File 282 chrome/browser/sync_file_system/local/local_file_sync_service_unittest.cc EXPECT_EQ(base::File::FILE_OK, file_system_->CreateDirectory(kDir)); File 314 chrome/browser/sync_file_system/local/local_file_sync_service_unittest.cc EXPECT_EQ(base::File::FILE_OK, file_system2.OpenFileSystem()); File 323 chrome/browser/sync_file_system/local/local_file_sync_service_unittest.cc EXPECT_EQ(base::File::FILE_OK, file_system_->CreateFile(kFile1)); File 324 chrome/browser/sync_file_system/local/local_file_sync_service_unittest.cc EXPECT_EQ(base::File::FILE_OK, file_system_->CreateFile(kFile2)); File 325 chrome/browser/sync_file_system/local/local_file_sync_service_unittest.cc EXPECT_EQ(base::File::FILE_OK, file_system2.CreateFile(kFile3)); File 326 chrome/browser/sync_file_system/local/local_file_sync_service_unittest.cc EXPECT_EQ(base::File::FILE_OK, file_system2.CreateFile(kFile4)); File 349 chrome/browser/sync_file_system/local/local_file_sync_service_unittest.cc EXPECT_EQ(base::File::FILE_OK, file_system_->CreateFile(kFile)); File 354 chrome/browser/sync_file_system/local/local_file_sync_service_unittest.cc base::File::Info info; File 356 chrome/browser/sync_file_system/local/local_file_sync_service_unittest.cc EXPECT_EQ(base::File::FILE_OK, File 402 chrome/browser/sync_file_system/local/local_file_sync_service_unittest.cc EXPECT_EQ(base::File::FILE_OK, file_system_->CreateFile(kFile)); File 403 chrome/browser/sync_file_system/local/local_file_sync_service_unittest.cc EXPECT_EQ(base::File::FILE_OK, file_system_->Remove(kFile, false)); File 438 chrome/browser/sync_file_system/local/local_file_sync_service_unittest.cc EXPECT_EQ(base::File::FILE_OK, file_system_->CreateDirectory(kDir)); File 439 chrome/browser/sync_file_system/local/local_file_sync_service_unittest.cc EXPECT_EQ(base::File::FILE_OK, file_system_->Remove(kDir, false)); File 471 chrome/browser/sync_file_system/local/local_file_sync_service_unittest.cc EXPECT_EQ(base::File::FILE_OK, file_system_->CreateFile(kPath)); File 472 chrome/browser/sync_file_system/local/local_file_sync_service_unittest.cc EXPECT_EQ(base::File::FILE_OK, file_system_->Remove(kPath, false)); File 473 chrome/browser/sync_file_system/local/local_file_sync_service_unittest.cc EXPECT_EQ(base::File::FILE_OK, file_system_->CreateDirectory(kPath)); File 476 chrome/browser/sync_file_system/local/local_file_sync_service_unittest.cc EXPECT_EQ(base::File::FILE_OK, file_system_->CreateFile(kOther)); File 519 chrome/browser/sync_file_system/local/local_file_sync_service_unittest.cc EXPECT_EQ(base::File::FILE_OK, file_system_->CreateFile(kURL)); File 520 chrome/browser/sync_file_system/local/local_file_sync_service_unittest.cc EXPECT_EQ(base::File::FILE_OK, file_system_->TruncateFile(kURL, kSize)); File 521 chrome/browser/sync_file_system/local/local_file_sync_service_unittest.cc EXPECT_EQ(base::File::FILE_OK, File 542 chrome/browser/sync_file_system/local/local_file_sync_service_unittest.cc EXPECT_EQ(base::File::FILE_OK, file_system_->CreateFile(kURL)); File 69 chrome/browser/sync_file_system/local/root_delete_helper.cc void RootDeleteHelper::DidDeleteFileSystem(base::File::Error error) { File 100 chrome/browser/sync_file_system/local/root_delete_helper.cc base::File::Error error) { File 33 chrome/browser/sync_file_system/local/root_delete_helper.h typedef base::Callback<void(base::File::Error)> FileStatusCallback; File 44 chrome/browser/sync_file_system/local/root_delete_helper.h void DidDeleteFileSystem(base::File::Error error); File 48 chrome/browser/sync_file_system/local/root_delete_helper.h base::File::Error error); File 145 chrome/browser/sync_file_system/local/sync_file_system_backend.cc base::File::Error* error_code) { File 147 chrome/browser/sync_file_system/local/sync_file_system_backend.cc *error_code = base::File::FILE_OK; File 155 chrome/browser/sync_file_system/local/sync_file_system_backend.cc base::File::Error* error_code) const { File 296 chrome/browser/sync_file_system/local/sync_file_system_backend.cc base::File::FILE_OK); File 41 chrome/browser/sync_file_system/local/sync_file_system_backend.h base::File::Error* error_code) OVERRIDE; File 45 chrome/browser/sync_file_system/local/sync_file_system_backend.h base::File::Error* error_code) const OVERRIDE; File 33 chrome/browser/sync_file_system/local/syncable_file_operation_runner_unittest.cc using base::File; File 59 chrome/browser/sync_file_system/local/syncable_file_operation_runner_unittest.cc write_status_(File::FILE_ERROR_FAILED), File 78 chrome/browser/sync_file_system/local/syncable_file_operation_runner_unittest.cc ASSERT_EQ(File::FILE_OK, file_system_.OpenFileSystem()); File 79 chrome/browser/sync_file_system/local/syncable_file_operation_runner_unittest.cc ASSERT_EQ(File::FILE_OK, File 101 chrome/browser/sync_file_system/local/syncable_file_operation_runner_unittest.cc write_status_ = File::FILE_ERROR_FAILED; File 108 chrome/browser/sync_file_system/local/syncable_file_operation_runner_unittest.cc File::Error expect) { File 120 chrome/browser/sync_file_system/local/syncable_file_operation_runner_unittest.cc File::Error status, int64 bytes, bool complete) { File 129 chrome/browser/sync_file_system/local/syncable_file_operation_runner_unittest.cc File::Error expect, File::Error status) { File 149 chrome/browser/sync_file_system/local/syncable_file_operation_runner_unittest.cc File::Error write_status_; File 169 chrome/browser/sync_file_system/local/syncable_file_operation_runner_unittest.cc ExpectStatus(FROM_HERE, File::FILE_OK)); File 172 chrome/browser/sync_file_system/local/syncable_file_operation_runner_unittest.cc ExpectStatus(FROM_HERE, File::FILE_OK)); File 178 chrome/browser/sync_file_system/local/syncable_file_operation_runner_unittest.cc URL(kFile), ExpectStatus(FROM_HERE, File::FILE_ERROR_NOT_FOUND)); File 193 chrome/browser/sync_file_system/local/syncable_file_operation_runner_unittest.cc URL(kFile), ExpectStatus(FROM_HERE, File::FILE_OK)); File 200 chrome/browser/sync_file_system/local/syncable_file_operation_runner_unittest.cc EXPECT_EQ(File::FILE_OK, file_system_.CreateDirectory(URL(kDir))); File 201 chrome/browser/sync_file_system/local/syncable_file_operation_runner_unittest.cc EXPECT_EQ(File::FILE_OK, file_system_.CreateFile(URL(kChild))); File 210 chrome/browser/sync_file_system/local/syncable_file_operation_runner_unittest.cc URL(kChild), 1, ExpectStatus(FROM_HERE, File::FILE_OK)); File 213 chrome/browser/sync_file_system/local/syncable_file_operation_runner_unittest.cc ExpectStatus(FROM_HERE, File::FILE_OK)); File 219 chrome/browser/sync_file_system/local/syncable_file_operation_runner_unittest.cc URL(kDir), ExpectStatus(FROM_HERE, File::FILE_OK)); File 227 chrome/browser/sync_file_system/local/syncable_file_operation_runner_unittest.cc ExpectStatus(FROM_HERE, File::FILE_OK)); File 242 chrome/browser/sync_file_system/local/syncable_file_operation_runner_unittest.cc EXPECT_EQ(File::FILE_OK, file_system_.CreateDirectory(URL(kDir))); File 243 chrome/browser/sync_file_system/local/syncable_file_operation_runner_unittest.cc EXPECT_EQ(File::FILE_OK, file_system_.CreateFile(URL(kChild))); File 255 chrome/browser/sync_file_system/local/syncable_file_operation_runner_unittest.cc ExpectStatus(FROM_HERE, File::FILE_OK)); File 259 chrome/browser/sync_file_system/local/syncable_file_operation_runner_unittest.cc ExpectStatus(FROM_HERE, File::FILE_OK)); File 264 chrome/browser/sync_file_system/local/syncable_file_operation_runner_unittest.cc EXPECT_EQ(File::FILE_OK, File 266 chrome/browser/sync_file_system/local/syncable_file_operation_runner_unittest.cc EXPECT_EQ(File::FILE_ERROR_NOT_FOUND, File 278 chrome/browser/sync_file_system/local/syncable_file_operation_runner_unittest.cc ExpectStatus(FROM_HERE, File::FILE_OK)); File 289 chrome/browser/sync_file_system/local/syncable_file_operation_runner_unittest.cc EXPECT_EQ(File::FILE_OK, File 299 chrome/browser/sync_file_system/local/syncable_file_operation_runner_unittest.cc EXPECT_EQ(File::FILE_OK, File 304 chrome/browser/sync_file_system/local/syncable_file_operation_runner_unittest.cc EXPECT_EQ(File::FILE_OK, file_system_.CreateFile(URL(kFile))); File 323 chrome/browser/sync_file_system/local/syncable_file_operation_runner_unittest.cc EXPECT_EQ(File::FILE_OK, write_status_); File 335 chrome/browser/sync_file_system/local/syncable_file_operation_runner_unittest.cc ExpectStatus(FROM_HERE, File::FILE_ERROR_ABORT)); File 338 chrome/browser/sync_file_system/local/syncable_file_operation_runner_unittest.cc ExpectStatus(FROM_HERE, File::FILE_ERROR_ABORT)); File 368 chrome/browser/sync_file_system/local/syncable_file_operation_runner_unittest.cc ExpectStatus(FROM_HERE, File::FILE_OK)); File 384 chrome/browser/sync_file_system/local/syncable_file_operation_runner_unittest.cc ExpectStatus(FROM_HERE, File::FILE_OK)); File 393 chrome/browser/sync_file_system/local/syncable_file_operation_runner_unittest.cc ExpectStatus(FROM_HERE, File::FILE_OK)); File 402 chrome/browser/sync_file_system/local/syncable_file_operation_runner_unittest.cc ExpectStatus(FROM_HERE, File::FILE_OK)); File 404 chrome/browser/sync_file_system/local/syncable_file_operation_runner_unittest.cc id, ExpectStatus(FROM_HERE, File::FILE_ERROR_INVALID_OPERATION)); File 28 chrome/browser/sync_file_system/local/syncable_file_system_operation.cc base::File::Error status) { File 82 chrome/browser/sync_file_system/local/syncable_file_system_operation.cc callback.Run(base::File::FILE_ERROR_NOT_FOUND); File 104 chrome/browser/sync_file_system/local/syncable_file_system_operation.cc callback.Run(base::File::FILE_ERROR_NOT_FOUND); File 108 chrome/browser/sync_file_system/local/syncable_file_system_operation.cc callback.Run(base::File::FILE_ERROR_INVALID_OPERATION); File 131 chrome/browser/sync_file_system/local/syncable_file_system_operation.cc callback.Run(base::File::FILE_ERROR_NOT_FOUND); File 153 chrome/browser/sync_file_system/local/syncable_file_system_operation.cc callback.Run(base::File::FILE_ERROR_NOT_FOUND); File 205 chrome/browser/sync_file_system/local/syncable_file_system_operation.cc callback.Run(base::File::FILE_ERROR_NOT_FOUND); File 227 chrome/browser/sync_file_system/local/syncable_file_system_operation.cc callback.Run(base::File::FILE_ERROR_NOT_FOUND, 0, true); File 250 chrome/browser/sync_file_system/local/syncable_file_system_operation.cc callback.Run(base::File::FILE_ERROR_NOT_FOUND); File 300 chrome/browser/sync_file_system/local/syncable_file_system_operation.cc callback.Run(base::File::FILE_ERROR_NOT_FOUND); File 348 chrome/browser/sync_file_system/local/syncable_file_system_operation.cc base::File::Error SyncableFileSystemOperation::SyncGetPlatformPath( File 377 chrome/browser/sync_file_system/local/syncable_file_system_operation.cc void SyncableFileSystemOperation::DidFinish(base::File::Error status) { File 387 chrome/browser/sync_file_system/local/syncable_file_system_operation.cc base::File::Error result, File 402 chrome/browser/sync_file_system/local/syncable_file_system_operation.cc completion_callback_.Run(base::File::FILE_ERROR_ABORT); File 94 chrome/browser/sync_file_system/local/syncable_file_system_operation.h virtual base::File::Error SyncGetPlatformPath( File 110 chrome/browser/sync_file_system/local/syncable_file_system_operation.h void DidFinish(base::File::Error status); File 112 chrome/browser/sync_file_system/local/syncable_file_system_operation.h base::File::Error result, File 119 chrome/browser/sync_file_system/local/syncable_file_system_unittest.cc EXPECT_EQ(base::File::FILE_OK, File 123 chrome/browser/sync_file_system/local/syncable_file_system_unittest.cc EXPECT_EQ(base::File::FILE_OK, File 125 chrome/browser/sync_file_system/local/syncable_file_system_unittest.cc EXPECT_EQ(base::File::FILE_OK, File 143 chrome/browser/sync_file_system/local/syncable_file_system_unittest.cc EXPECT_EQ(base::File::FILE_OK, File 146 chrome/browser/sync_file_system/local/syncable_file_system_unittest.cc EXPECT_EQ(base::File::FILE_OK, File 157 chrome/browser/sync_file_system/local/syncable_file_system_unittest.cc EXPECT_EQ(base::File::FILE_ERROR_NO_SPACE, File 166 chrome/browser/sync_file_system/local/syncable_file_system_unittest.cc EXPECT_EQ(base::File::FILE_OK, File 180 chrome/browser/sync_file_system/local/syncable_file_system_unittest.cc EXPECT_EQ(base::File::FILE_OK, File 189 chrome/browser/sync_file_system/local/syncable_file_system_unittest.cc EXPECT_EQ(base::File::FILE_OK, File 191 chrome/browser/sync_file_system/local/syncable_file_system_unittest.cc EXPECT_EQ(base::File::FILE_OK, File 193 chrome/browser/sync_file_system/local/syncable_file_system_unittest.cc EXPECT_EQ(base::File::FILE_OK, File 195 chrome/browser/sync_file_system/local/syncable_file_system_unittest.cc EXPECT_EQ(base::File::FILE_OK, File 197 chrome/browser/sync_file_system/local/syncable_file_system_unittest.cc EXPECT_EQ(base::File::FILE_OK, File 219 chrome/browser/sync_file_system/local/syncable_file_system_unittest.cc EXPECT_EQ(base::File::FILE_OK, File 221 chrome/browser/sync_file_system/local/syncable_file_system_unittest.cc EXPECT_EQ(base::File::FILE_OK, File 230 chrome/browser/sync_file_system/local/syncable_file_system_unittest.cc EXPECT_EQ(base::File::FILE_OK, File 257 chrome/browser/sync_file_system/local/syncable_file_system_unittest.cc EXPECT_EQ(base::File::FILE_OK, File 261 chrome/browser/sync_file_system/local/syncable_file_system_unittest.cc EXPECT_EQ(base::File::FILE_ERROR_INVALID_OPERATION, File 273 chrome/browser/sync_file_system/local/syncable_file_system_unittest.cc EXPECT_EQ(base::File::FILE_OK, File 276 chrome/browser/sync_file_system/local/syncable_file_system_unittest.cc EXPECT_EQ(base::File::FILE_OK, File 282 chrome/browser/sync_file_system/local/syncable_file_system_unittest.cc EXPECT_NE(base::File::FILE_OK, File 74 chrome/browser/sync_file_system/sync_file_system_service_unittest.cc base::File::Error error) { File 76 chrome/browser/sync_file_system/sync_file_system_service_unittest.cc EXPECT_EQ(base::File::FILE_OK, error); File 187 chrome/browser/sync_file_system/sync_file_system_service_unittest.cc EXPECT_EQ(base::File::FILE_OK, file_system_->OpenFileSystem()); File 352 chrome/browser/sync_file_system/sync_file_system_service_unittest.cc EXPECT_EQ(base::File::FILE_OK, file_system_->CreateFile(kFile)); File 480 chrome/browser/sync_file_system/sync_file_system_service_unittest.cc EXPECT_EQ(base::File::FILE_OK, file_system_->CreateFile(kFile)); File 501 chrome/browser/sync_file_system/sync_file_system_service_unittest.cc EXPECT_EQ(base::File::FILE_OK, file_system_->TruncateFile(kFile, 1U)); File 112 chrome/browser/sync_file_system/sync_status_code.cc base::File::Error file_error) { File 114 chrome/browser/sync_file_system/sync_status_code.cc case base::File::FILE_OK: File 116 chrome/browser/sync_file_system/sync_status_code.cc case base::File::FILE_ERROR_FAILED: File 118 chrome/browser/sync_file_system/sync_status_code.cc case base::File::FILE_ERROR_IN_USE: File 120 chrome/browser/sync_file_system/sync_status_code.cc case base::File::FILE_ERROR_EXISTS: File 122 chrome/browser/sync_file_system/sync_status_code.cc case base::File::FILE_ERROR_NOT_FOUND: File 124 chrome/browser/sync_file_system/sync_status_code.cc case base::File::FILE_ERROR_ACCESS_DENIED: File 126 chrome/browser/sync_file_system/sync_status_code.cc case base::File::FILE_ERROR_TOO_MANY_OPENED: File 128 chrome/browser/sync_file_system/sync_status_code.cc case base::File::FILE_ERROR_NO_MEMORY: File 130 chrome/browser/sync_file_system/sync_status_code.cc case base::File::FILE_ERROR_NO_SPACE: File 132 chrome/browser/sync_file_system/sync_status_code.cc case base::File::FILE_ERROR_NOT_A_DIRECTORY: File 134 chrome/browser/sync_file_system/sync_status_code.cc case base::File::FILE_ERROR_INVALID_OPERATION: File 136 chrome/browser/sync_file_system/sync_status_code.cc case base::File::FILE_ERROR_SECURITY: File 138 chrome/browser/sync_file_system/sync_status_code.cc case base::File::FILE_ERROR_ABORT: File 140 chrome/browser/sync_file_system/sync_status_code.cc case base::File::FILE_ERROR_NOT_A_FILE: File 142 chrome/browser/sync_file_system/sync_status_code.cc case base::File::FILE_ERROR_NOT_EMPTY: File 144 chrome/browser/sync_file_system/sync_status_code.cc case base::File::FILE_ERROR_INVALID_URL: File 146 chrome/browser/sync_file_system/sync_status_code.cc case base::File::FILE_ERROR_IO: File 148 chrome/browser/sync_file_system/sync_status_code.cc case base::File::FILE_ERROR_MAX: File 157 chrome/browser/sync_file_system/sync_status_code.cc base::File::Error SyncStatusCodeToFileError( File 161 chrome/browser/sync_file_system/sync_status_code.cc return base::File::FILE_OK; File 163 chrome/browser/sync_file_system/sync_status_code.cc return base::File::FILE_ERROR_FAILED; File 165 chrome/browser/sync_file_system/sync_status_code.cc return base::File::FILE_ERROR_IN_USE; File 167 chrome/browser/sync_file_system/sync_status_code.cc return base::File::FILE_ERROR_EXISTS; File 169 chrome/browser/sync_file_system/sync_status_code.cc return base::File::FILE_ERROR_NOT_FOUND; File 171 chrome/browser/sync_file_system/sync_status_code.cc return base::File::FILE_ERROR_ACCESS_DENIED; File 173 chrome/browser/sync_file_system/sync_status_code.cc return base::File::FILE_ERROR_TOO_MANY_OPENED; File 175 chrome/browser/sync_file_system/sync_status_code.cc return base::File::FILE_ERROR_NO_MEMORY; File 177 chrome/browser/sync_file_system/sync_status_code.cc return base::File::FILE_ERROR_NO_SPACE; File 179 chrome/browser/sync_file_system/sync_status_code.cc return base::File::FILE_ERROR_NOT_A_DIRECTORY; File 181 chrome/browser/sync_file_system/sync_status_code.cc return base::File::FILE_ERROR_INVALID_OPERATION; File 183 chrome/browser/sync_file_system/sync_status_code.cc return base::File::FILE_ERROR_SECURITY; File 185 chrome/browser/sync_file_system/sync_status_code.cc return base::File::FILE_ERROR_ABORT; File 187 chrome/browser/sync_file_system/sync_status_code.cc return base::File::FILE_ERROR_NOT_A_FILE; File 189 chrome/browser/sync_file_system/sync_status_code.cc return base::File::FILE_ERROR_NOT_EMPTY; File 191 chrome/browser/sync_file_system/sync_status_code.cc return base::File::FILE_ERROR_INVALID_URL; File 193 chrome/browser/sync_file_system/sync_status_code.cc return base::File::FILE_ERROR_IO; File 197 chrome/browser/sync_file_system/sync_status_code.cc return static_cast<base::File::Error>(status); File 70 chrome/browser/sync_file_system/sync_status_code.h SyncStatusCode FileErrorToSyncStatusCode(base::File::Error file_error); File 72 chrome/browser/sync_file_system/sync_status_code.h base::File::Error SyncStatusCodeToFileError(SyncStatusCode status); File 420 chrome/browser/themes/browser_theme_pack.cc base::File file(path, base::File::FLAG_OPEN | base::File::FLAG_READ); File 41 chrome/browser/translate/translate_tab_helper.cc base::File* TranslateTabHelper::s_cached_file_ = NULL; File 191 chrome/browser/translate/translate_tab_helper.cc base::File* handle = NULL; File 221 chrome/browser/translate/translate_tab_helper.cc base::File* handle = NULL; File 235 chrome/browser/translate/translate_tab_helper.cc void TranslateTabHelper::SendCLDDataAvailable(const base::File* handle, File 280 chrome/browser/translate/translate_tab_helper.cc scoped_ptr<base::File> file( File 281 chrome/browser/translate/translate_tab_helper.cc new base::File(path, base::File::FLSG_OPEN | base::File::FLAG_READ); File 287 chrome/browser/translate/translate_tab_helper.cc base::File::Info file_info; File 27 chrome/browser/translate/translate_tab_helper.h class File; File 136 chrome/browser/translate/translate_tab_helper.h void SendCLDDataAvailable(const base::File* handle, File 146 chrome/browser/translate/translate_tab_helper.h static base::File* s_cached_file_; // guarded by file_lock_ File 137 chrome/browser/ui/pdf/pdf_browsertest.cc base::File::Info info; File 221 chrome/browser/ui/webui/net_internals/net_internals_ui.cc typedef base::Callback<void(base::File file, File 237 chrome/browser/ui/webui/net_internals/net_internals_ui.cc int flags = base::File::FLAG_CREATE_ALWAYS | base::File::FLAG_WRITE; File 247 chrome/browser/ui/webui/net_internals/net_internals_ui.cc base::File file_; File 263 chrome/browser/ui/webui/net_internals/net_internals_ui.cc void CloseDebugLogFile(base::File file) { File 269 chrome/browser/ui/webui/net_internals/net_internals_ui.cc void CloseAndDeleteDebugLogFile(base::File file, File 279 chrome/browser/ui/webui/net_internals/net_internals_ui.cc base::File file, File 299 chrome/browser/ui/webui/net_internals/net_internals_ui.cc base::File file, File 265 chrome/common/extensions/manifest_handlers/content_scripts_handler.cc result->js_scripts().push_back(UserScript::File( File 284 chrome/common/extensions/manifest_handlers/content_scripts_handler.cc result->css_scripts().push_back(UserScript::File( File 445 chrome/common/extensions/manifest_handlers/content_scripts_handler.cc const UserScript::File& js_script = script.js_scripts()[j]; File 455 chrome/common/extensions/manifest_handlers/content_scripts_handler.cc const UserScript::File& css_script = script.css_scripts()[j]; File 14 chrome/common/media_galleries/picasa_types.cc base::File OpenFile(const base::FilePath& directory_path, File 18 chrome/common/media_galleries/picasa_types.cc return base::File(path, base::File::FLAG_OPEN | base::File::FLAG_READ); File 21 chrome/common/media_galleries/picasa_types.cc base::File OpenColumnFile(const base::FilePath& directory_path, File 69 chrome/common/media_galleries/picasa_types.h base::File indicator_file; File 71 chrome/common/media_galleries/picasa_types.h base::File category_file; File 72 chrome/common/media_galleries/picasa_types.h base::File date_file; File 73 chrome/common/media_galleries/picasa_types.h base::File filename_file; File 74 chrome/common/media_galleries/picasa_types.h base::File name_file; File 75 chrome/common/media_galleries/picasa_types.h base::File token_file; File 76 chrome/common/media_galleries/picasa_types.h base::File uid_file; File 155 chrome/installer/test/alternate_version_generator.cc bool Initialize(base::File file); File 161 chrome/installer/test/alternate_version_generator.cc base::File file_; File 180 chrome/installer/test/alternate_version_generator.cc bool MappedFile::Initialize(base::File file) { File 183 chrome/installer/test/alternate_version_generator.cc base::File::Info file_info; File 359 chrome/installer/test/alternate_version_generator.cc uint32 flags = base::File::FLAG_OPEN | base::File::FLAG_READ | File 360 chrome/installer/test/alternate_version_generator.cc base::File::FLAG_WRITE | base::File::FLAG_EXCLUSIVE_READ | File 361 chrome/installer/test/alternate_version_generator.cc base::File::FLAG_EXCLUSIVE_WRITE; File 362 chrome/installer/test/alternate_version_generator.cc base::File file(image_file, flags); File 16 chrome/installer/util/duplicate_tree_detector.cc base::File::Info src_info; File 17 chrome/installer/util/duplicate_tree_detector.cc base::File::Info dest_info; File 551 chrome/installer/util/install_util.cc base::File* file) { File 553 chrome/installer/util/install_util.cc file->Initialize(path, base::File::FLAG_OPEN); File 559 chrome/installer/util/install_util.cc bool InstallUtil::ProgramCompare::GetInfo(const base::File& file, File 610 chrome/installer/util/install_util.cc base::File file; File 196 chrome/installer/util/install_util.h static bool OpenForInfo(const base::FilePath& path, base::File* file); File 197 chrome/installer/util/install_util.h static bool GetInfo(const base::File& file, File 201 chrome/installer/util/install_util.h base::File file_; File 40 chrome/installer/util/logging_installer.cc uint32 file_flags = base::File::FLAG_OPEN | File 41 chrome/installer/util/logging_installer.cc base::File::FLAG_READ | File 42 chrome/installer/util/logging_installer.cc base::File::FLAG_SHARE_DELETE | File 43 chrome/installer/util/logging_installer.cc base::File::FLAG_DELETE_ON_CLOSE; File 44 chrome/installer/util/logging_installer.cc base::File old_log_file(log_file, file_flags); File 77 chrome/installer/util/logging_installer_unittest.cc uint32 file_flags = base::File::FLAG_OPEN | File 78 chrome/installer/util/logging_installer_unittest.cc base::File::FLAG_READ | File 79 chrome/installer/util/logging_installer_unittest.cc base::File::FLAG_EXCLUSIVE_READ; File 80 chrome/installer/util/logging_installer_unittest.cc base::File temp_platform_file(temp_file, file_flags); File 106 chrome/installer/util/logging_installer_unittest.cc uint32 file_flags = base::File::FLAG_CREATE | File 107 chrome/installer/util/logging_installer_unittest.cc base::File::FLAG_READ | File 108 chrome/installer/util/logging_installer_unittest.cc base::File::FLAG_EXCLUSIVE_READ; File 111 chrome/installer/util/logging_installer_unittest.cc base::File temp_move_destination_file(temp_file_move_dest, file_flags); File 201 chrome/renderer/extensions/user_script_slave.cc const UserScript::File& file = scripts_[i]->css_scripts()[j]; File 283 chrome/renderer/extensions/user_script_slave.cc UserScript::File &file = script->js_scripts()[j]; File 16 chrome/renderer/spellchecker/cocoa_spelling_engine_mac.cc void CocoaSpellingEngine::Init(base::File bdict_file) { File 13 chrome/renderer/spellchecker/cocoa_spelling_engine_mac.h virtual void Init(base::File bdict_file) OVERRIDE; File 50 chrome/renderer/spellchecker/hunspell_engine.cc void HunspellEngine::Init(base::File file) { File 28 chrome/renderer/spellchecker/hunspell_engine.h virtual void Init(base::File file) OVERRIDE; File 49 chrome/renderer/spellchecker/hunspell_engine.h base::File file_; File 170 chrome/renderer/spellchecker/spellcheck.cc void SpellCheck::Init(base::File file, File 47 chrome/renderer/spellchecker/spellcheck.h void Init(base::File file, File 19 chrome/renderer/spellchecker/spellcheck_language.cc void SpellcheckLanguage::Init(base::File file, const std::string& language) { File 24 chrome/renderer/spellchecker/spellcheck_language.h void Init(base::File file, const std::string& language); File 58 chrome/renderer/spellchecker/spellcheck_unittest.cc base::File file( File 61 chrome/renderer/spellchecker/spellcheck_unittest.cc base::File::FLAG_OPEN | base::File::FLAG_READ); File 24 chrome/renderer/spellchecker/spelling_engine.h virtual void Init(base::File bdict_file) = 0; File 657 chrome/renderer/translate/translate_helper.cc base::File basic_file(platform_file); File 14 chrome/test/android/javatests/src/org/chromium/chrome/test/util/ApplicationData.java import java.io.File; File 57 chrome/test/android/javatests/src/org/chromium/chrome/test/util/ApplicationData.java File cacheDir = new File(appDir, "cache"); File 86 chrome/test/android/javatests/src/org/chromium/chrome/test/util/ApplicationData.java File[] files = new File(appDir).listFiles(); File 89 chrome/test/android/javatests/src/org/chromium/chrome/test/util/ApplicationData.java for (File file : files) { File 103 chrome/test/android/javatests/src/org/chromium/chrome/test/util/ApplicationData.java private static boolean removeFile(File file) { File 105 chrome/test/android/javatests/src/org/chromium/chrome/test/util/ApplicationData.java File[] files = file.listFiles(); File 108 chrome/test/android/javatests/src/org/chromium/chrome/test/util/ApplicationData.java for (File sub_file : files) { File 889 chrome/utility/chrome_content_utility_client.cc base::File(IPC::PlatformFileForTransitToPlatformFile(media_file))); File 37 chrome/utility/image_writer/image_writer.cc base::File::FLAG_OPEN | base::File::FLAG_READ); File 49 chrome/utility/image_writer/image_writer.cc base::File(CreateFile(device_path.value().c_str(), File 63 chrome/utility/image_writer/image_writer.cc base::File::FLAG_OPEN | base::File::FLAG_WRITE); File 91 chrome/utility/image_writer/image_writer.cc base::File::FLAG_OPEN | base::File::FLAG_READ); File 100 chrome/utility/image_writer/image_writer.cc base::File::FLAG_OPEN | base::File::FLAG_READ); File 55 chrome/utility/image_writer/image_writer.h base::File image_file_; File 56 chrome/utility/image_writer/image_writer.h base::File device_file_; File 30 chrome/utility/media_galleries/pmp_column_reader.cc bool PmpColumnReader::ReadFile(base::File* file, File 38 chrome/utility/media_galleries/pmp_column_reader.cc base::File::Info info; File 16 chrome/utility/media_galleries/pmp_column_reader.h class File; File 30 chrome/utility/media_galleries/pmp_column_reader.h bool ReadFile(base::File* file, const PmpFieldType expected_type); File 37 chrome/utility/media_galleries/pmp_column_reader_unittest.cc base::File file(temp_path, base::File::FLAG_OPEN | base::File::FLAG_READ); File 58 components/breakpad/browser/crash_dump_manager_android.cc base::File CrashDumpManager::CreateMinidumpFile(int child_process_id) { File 62 components/breakpad/browser/crash_dump_manager_android.cc return base::File(); File 66 components/breakpad/browser/crash_dump_manager_android.cc int flags = base::File::FLAG_OPEN | base::File::FLAG_READ | File 67 components/breakpad/browser/crash_dump_manager_android.cc base::File::FLAG_WRITE; File 68 components/breakpad/browser/crash_dump_manager_android.cc base::File minidump_file(minidump_path, flags); File 71 components/breakpad/browser/crash_dump_manager_android.cc return base::File(); File 46 components/breakpad/browser/crash_dump_manager_android.h base::File CreateMinidumpFile(int child_process_id); File 119 components/nacl/browser/nacl_browser.cc base::File OpenNaClExecutableImpl(const base::FilePath& file_path) { File 124 components/nacl/browser/nacl_browser.cc base::File file(file_path, File 125 components/nacl/browser/nacl_browser.cc (base::File::FLAG_OPEN | File 126 components/nacl/browser/nacl_browser.cc base::File::FLAG_READ | File 127 components/nacl/browser/nacl_browser.cc base::File::FLAG_EXECUTE)); // Windows only flag. File 134 components/nacl/browser/nacl_browser.cc base::File::Info file_info; File 136 components/nacl/browser/nacl_browser.cc return base::File(); File 260 components/nacl/browser/nacl_browser.cc void NaClBrowser::OnIrtOpened(base::File::Error error_code, File 266 components/nacl/browser/nacl_browser.cc if (error_code == base::File::FILE_OK) { File 28 components/nacl/browser/nacl_browser.h base::File OpenNaClExecutableImpl(const base::FilePath& file_path); File 141 components/nacl/browser/nacl_browser.h void OnIrtOpened(base::File::Error error_code, File 41 components/nacl/browser/nacl_file_host.cc base::File PnaclDoOpenFile(const base::FilePath& file_to_open) { File 42 components/nacl/browser/nacl_file_host.cc return base::File(file_to_open, File 43 components/nacl/browser/nacl_file_host.cc base::File::FLAG_OPEN | base::File::FLAG_READ); File 67 components/nacl/browser/nacl_file_host.cc base::File file_to_open = PnaclDoOpenFile(full_filepath); File 89 components/nacl/browser/nacl_file_host.cc base::File file, File 125 components/nacl/browser/nacl_file_host.cc base::File file = nacl::OpenNaClExecutableImpl(file_path); File 112 components/nacl/browser/nacl_host_message_filter.cc base::File file) { File 66 components/nacl/browser/nacl_host_message_filter.h base::File file); File 951 components/nacl/browser/nacl_process_host.cc base::File file) { File 156 components/nacl/browser/nacl_process_host.h base::File file); File 29 components/nacl/browser/pnacl_host.cc void CloseBaseFile(base::File file) { File 151 components/nacl/browser/pnacl_host.cc base::File file; File 160 components/nacl/browser/pnacl_host.cc base::File::FLAG_CREATE_ALWAYS | base::File::FLAG_READ | File 161 components/nacl/browser/pnacl_host.cc base::File::FLAG_WRITE | base::File::FLAG_TEMPORARY | File 162 components/nacl/browser/pnacl_host.cc base::File::FLAG_DELETE_ON_CLOSE); File 177 components/nacl/browser/pnacl_host.cc cb.Run(base::File()); File 283 components/nacl/browser/pnacl_host.cc base::File file) { File 34 components/nacl/browser/pnacl_host.h typedef base::Callback<void(base::File)> TempFileCallback; File 146 components/nacl/browser/pnacl_host.h void OnTempFileReturn(const TranslationID& id, base::File file); File 95 components/policy/core/common/config_dir_policy_loader.cc base::File::Info info; File 94 components/policy/core/common/policy_loader_mac.cc base::File::Info file_info; File 39 components/storage_monitor/image_capture_device.h const base::File::Info& info) = 0; File 48 components/storage_monitor/image_capture_device.h base::File::Error error) = 0; File 34 content/browser/download/base_file.cc base::File file, File 261 content/browser/download/base_file.cc full_path_, base::File::FLAG_OPEN_ALWAYS | base::File::FLAG_WRITE); File 270 content/browser/download/base_file.cc int64 file_size = file_.Seek(base::File::FROM_END, 0); File 280 content/browser/download/base_file.cc file_.Seek(base::File::FROM_BEGIN, bytes_so_far_) != bytes_so_far_) { File 42 content/browser/download/base_file.h base::File file, File 151 content/browser/download/base_file.h base::File file_; File 57 content/browser/download/base_file_unittest.cc base::File(), File 108 content/browser/download/base_file_unittest.cc base::File(), File 148 content/browser/download/base_file_unittest.cc base::File(), File 174 content/browser/download/base_file_unittest.cc base::File(), File 401 content/browser/download/base_file_unittest.cc base::File(), File 486 content/browser/download/base_file_unittest.cc base::File file(path, base::File::FLAG_OPEN_ALWAYS | base::File::FLAG_READ); File 539 content/browser/download/base_file_unittest.cc base::File(), File 573 content/browser/download/base_file_unittest.cc base::File(), File 56 content/browser/download/drag_download_file.cc void InitiateDownload(base::File file, File 153 content/browser/download/drag_download_file.cc base::File file, File 38 content/browser/download/drag_download_file.h base::File file, File 59 content/browser/download/drag_download_file.h base::File file_; File 98 content/browser/download/drag_download_file_browsertest.cc new DragDownloadFile(name, base::File(), url, referrer, File 119 content/browser/download/drag_download_file_browsertest.cc name, base::File(), url, referrer, File 57 content/browser/download/drag_download_util.cc base::File CreateFileForDrop(base::FilePath* file_path) { File 78 content/browser/download/drag_download_util.cc base::File file( File 79 content/browser/download/drag_download_util.cc new_file_path, base::File::FLAG_CREATE | base::File::FLAG_WRITE); File 86 content/browser/download/drag_download_util.cc return base::File(); File 40 content/browser/download/drag_download_util.h CONTENT_EXPORT base::File CreateFileForDrop(base::FilePath* file_path); File 26 content/browser/download/mhtml_generation_manager.cc base::File browser_file() { return browser_file_.Pass(); } File 27 content/browser/download/mhtml_generation_manager.cc void set_browser_file(base::File file) { browser_file_ = file.Pass(); } File 45 content/browser/download/mhtml_generation_manager.cc base::File browser_file_; File 117 content/browser/download/mhtml_generation_manager.cc base::File browser_file, File 141 content/browser/download/mhtml_generation_manager.cc base::File browser_file( File 142 content/browser/download/mhtml_generation_manager.cc file_path, base::File::FLAG_CREATE_ALWAYS | base::File::FLAG_WRITE); File 164 content/browser/download/mhtml_generation_manager.cc base::File browser_file, File 213 content/browser/download/mhtml_generation_manager.cc void MHTMLGenerationManager::CloseFile(base::File file) { File 39 content/browser/download/mhtml_generation_manager.h base::File file, File 63 content/browser/download/mhtml_generation_manager.h base::File browser_file, File 67 content/browser/download/mhtml_generation_manager.h void CloseFile(base::File file); File 23 content/browser/download/save_file.cc base::File(), File 153 content/browser/fileapi/blob_url_request_job_unittest.cc base::File::Info file_info1; File 161 content/browser/fileapi/blob_url_request_job_unittest.cc base::File::Info file_info2; File 213 content/browser/fileapi/blob_url_request_job_unittest.cc ASSERT_EQ(base::File::FILE_OK, File 217 content/browser/fileapi/blob_url_request_job_unittest.cc base::File::Info file_info; File 218 content/browser/fileapi/blob_url_request_job_unittest.cc ASSERT_EQ(base::File::FILE_OK, File 227 content/browser/fileapi/blob_url_request_job_unittest.cc base::File::Error result) { File 228 content/browser/fileapi/blob_url_request_job_unittest.cc ASSERT_EQ(base::File::FILE_OK, result); File 39 content/browser/fileapi/copy_or_move_file_validator_unittest.cc base::File::Error error) { File 40 content/browser/fileapi/copy_or_move_file_validator_unittest.cc ASSERT_EQ(base::File::FILE_OK, error); File 78 content/browser/fileapi/copy_or_move_file_validator_unittest.cc ASSERT_EQ(base::File::FILE_OK, CreateDirectory(SourceURL(""))); File 82 content/browser/fileapi/copy_or_move_file_validator_unittest.cc ASSERT_EQ(base::File::FILE_OK, CreateDirectory(DestURL(""))); File 89 content/browser/fileapi/copy_or_move_file_validator_unittest.cc ASSERT_EQ(base::File::FILE_OK, CreateFile(copy_src_, 10)); File 90 content/browser/fileapi/copy_or_move_file_validator_unittest.cc ASSERT_EQ(base::File::FILE_OK, CreateFile(move_src_, 10)); File 105 content/browser/fileapi/copy_or_move_file_validator_unittest.cc void CopyTest(base::File::Error expected) { File 114 content/browser/fileapi/copy_or_move_file_validator_unittest.cc if (expected == base::File::FILE_OK) File 120 content/browser/fileapi/copy_or_move_file_validator_unittest.cc void MoveTest(base::File::Error expected) { File 128 content/browser/fileapi/copy_or_move_file_validator_unittest.cc if (expected == base::File::FILE_OK) { File 150 content/browser/fileapi/copy_or_move_file_validator_unittest.cc base::File::Error CreateFile(const FileSystemURL& url, size_t size) { File 151 content/browser/fileapi/copy_or_move_file_validator_unittest.cc base::File::Error result = File 153 content/browser/fileapi/copy_or_move_file_validator_unittest.cc if (result != base::File::FILE_OK) File 159 content/browser/fileapi/copy_or_move_file_validator_unittest.cc base::File::Error CreateDirectory(const FileSystemURL& url) { File 216 content/browser/fileapi/copy_or_move_file_validator_unittest.cc base::File::FILE_OK : File 217 content/browser/fileapi/copy_or_move_file_validator_unittest.cc base::File::FILE_ERROR_SECURITY), File 219 content/browser/fileapi/copy_or_move_file_validator_unittest.cc base::File::FILE_OK : File 220 content/browser/fileapi/copy_or_move_file_validator_unittest.cc base::File::FILE_ERROR_SECURITY) { File 240 content/browser/fileapi/copy_or_move_file_validator_unittest.cc base::File::Error result_; File 241 content/browser/fileapi/copy_or_move_file_validator_unittest.cc base::File::Error write_result_; File 260 content/browser/fileapi/copy_or_move_file_validator_unittest.cc helper.CopyTest(base::File::FILE_OK); File 261 content/browser/fileapi/copy_or_move_file_validator_unittest.cc helper.MoveTest(base::File::FILE_OK); File 271 content/browser/fileapi/copy_or_move_file_validator_unittest.cc helper.CopyTest(base::File::FILE_ERROR_SECURITY); File 272 content/browser/fileapi/copy_or_move_file_validator_unittest.cc helper.MoveTest(base::File::FILE_ERROR_SECURITY); File 284 content/browser/fileapi/copy_or_move_file_validator_unittest.cc helper.CopyTest(base::File::FILE_OK); File 285 content/browser/fileapi/copy_or_move_file_validator_unittest.cc helper.MoveTest(base::File::FILE_OK); File 297 content/browser/fileapi/copy_or_move_file_validator_unittest.cc helper.CopyTest(base::File::FILE_ERROR_SECURITY); File 298 content/browser/fileapi/copy_or_move_file_validator_unittest.cc helper.MoveTest(base::File::FILE_ERROR_SECURITY); File 315 content/browser/fileapi/copy_or_move_file_validator_unittest.cc helper.CopyTest(base::File::FILE_ERROR_SECURITY); File 316 content/browser/fileapi/copy_or_move_file_validator_unittest.cc helper.MoveTest(base::File::FILE_ERROR_SECURITY); File 328 content/browser/fileapi/copy_or_move_file_validator_unittest.cc helper.CopyTest(base::File::FILE_ERROR_SECURITY); File 329 content/browser/fileapi/copy_or_move_file_validator_unittest.cc helper.MoveTest(base::File::FILE_ERROR_SECURITY); File 48 content/browser/fileapi/copy_or_move_operation_delegate_unittest.cc base::File::Error error) { File 49 content/browser/fileapi/copy_or_move_operation_delegate_unittest.cc ASSERT_EQ(base::File::FILE_OK, error); File 71 content/browser/fileapi/copy_or_move_operation_delegate_unittest.cc : result_(pre_copy_valid ? base::File::FILE_OK : File 72 content/browser/fileapi/copy_or_move_operation_delegate_unittest.cc base::File::FILE_ERROR_SECURITY), File 73 content/browser/fileapi/copy_or_move_operation_delegate_unittest.cc write_result_(post_copy_valid ? base::File::FILE_OK : File 74 content/browser/fileapi/copy_or_move_operation_delegate_unittest.cc base::File::FILE_ERROR_SECURITY), File 89 content/browser/fileapi/copy_or_move_operation_delegate_unittest.cc base::File::Error result = write_result_; File 92 content/browser/fileapi/copy_or_move_operation_delegate_unittest.cc result = base::File::FILE_ERROR_SECURITY; File 100 content/browser/fileapi/copy_or_move_operation_delegate_unittest.cc base::File::Error result_; File 101 content/browser/fileapi/copy_or_move_operation_delegate_unittest.cc base::File::Error write_result_; File 135 content/browser/fileapi/copy_or_move_operation_delegate_unittest.cc base::File::Error* result_out, File 136 content/browser/fileapi/copy_or_move_operation_delegate_unittest.cc base::File::Error result) { File 264 content/browser/fileapi/copy_or_move_operation_delegate_unittest.cc base::File::Error Copy(const FileSystemURL& src, File 269 content/browser/fileapi/copy_or_move_operation_delegate_unittest.cc base::File::Error CopyWithProgress( File 277 content/browser/fileapi/copy_or_move_operation_delegate_unittest.cc base::File::Error Move(const FileSystemURL& src, File 282 content/browser/fileapi/copy_or_move_operation_delegate_unittest.cc base::File::Error SetUpTestCaseFiles( File 286 content/browser/fileapi/copy_or_move_operation_delegate_unittest.cc base::File::Error result = base::File::FILE_ERROR_FAILED; File 297 content/browser/fileapi/copy_or_move_operation_delegate_unittest.cc EXPECT_EQ(base::File::FILE_OK, result) << url.DebugString(); File 298 content/browser/fileapi/copy_or_move_operation_delegate_unittest.cc if (result != base::File::FILE_OK) File 321 content/browser/fileapi/copy_or_move_operation_delegate_unittest.cc ASSERT_EQ(base::File::FILE_OK, ReadDirectory(dir, &entries)); File 349 content/browser/fileapi/copy_or_move_operation_delegate_unittest.cc base::File::Error ReadDirectory(const FileSystemURL& url, File 355 content/browser/fileapi/copy_or_move_operation_delegate_unittest.cc base::File::Error CreateDirectory(const FileSystemURL& url) { File 360 content/browser/fileapi/copy_or_move_operation_delegate_unittest.cc base::File::Error CreateFile(const FileSystemURL& url, size_t size) { File 361 content/browser/fileapi/copy_or_move_operation_delegate_unittest.cc base::File::Error result = File 363 content/browser/fileapi/copy_or_move_operation_delegate_unittest.cc if (result != base::File::FILE_OK) File 413 content/browser/fileapi/copy_or_move_operation_delegate_unittest.cc ASSERT_EQ(base::File::FILE_OK, helper.CreateFile(src, 10)); File 417 content/browser/fileapi/copy_or_move_operation_delegate_unittest.cc ASSERT_EQ(base::File::FILE_OK, helper.Copy(src, dest)); File 442 content/browser/fileapi/copy_or_move_operation_delegate_unittest.cc ASSERT_EQ(base::File::FILE_OK, helper.CreateFile(src, 10)); File 446 content/browser/fileapi/copy_or_move_operation_delegate_unittest.cc ASSERT_EQ(base::File::FILE_OK, helper.Move(src, dest)); File 471 content/browser/fileapi/copy_or_move_operation_delegate_unittest.cc ASSERT_EQ(base::File::FILE_OK, helper.CreateDirectory(src)); File 475 content/browser/fileapi/copy_or_move_operation_delegate_unittest.cc ASSERT_EQ(base::File::FILE_OK, helper.Copy(src, dest)); File 500 content/browser/fileapi/copy_or_move_operation_delegate_unittest.cc ASSERT_EQ(base::File::FILE_OK, helper.CreateDirectory(src)); File 504 content/browser/fileapi/copy_or_move_operation_delegate_unittest.cc ASSERT_EQ(base::File::FILE_OK, helper.Move(src, dest)); File 529 content/browser/fileapi/copy_or_move_operation_delegate_unittest.cc ASSERT_EQ(base::File::FILE_OK, helper.CreateDirectory(src)); File 530 content/browser/fileapi/copy_or_move_operation_delegate_unittest.cc ASSERT_EQ(base::File::FILE_OK, File 537 content/browser/fileapi/copy_or_move_operation_delegate_unittest.cc ASSERT_EQ(base::File::FILE_OK, File 569 content/browser/fileapi/copy_or_move_operation_delegate_unittest.cc ASSERT_EQ(base::File::FILE_OK, helper.CreateDirectory(src)); File 570 content/browser/fileapi/copy_or_move_operation_delegate_unittest.cc ASSERT_EQ(base::File::FILE_OK, File 577 content/browser/fileapi/copy_or_move_operation_delegate_unittest.cc ASSERT_EQ(base::File::FILE_OK, helper.Move(src, dest)); File 605 content/browser/fileapi/copy_or_move_operation_delegate_unittest.cc ASSERT_EQ(base::File::FILE_OK, helper.CreateDirectory(src)); File 606 content/browser/fileapi/copy_or_move_operation_delegate_unittest.cc ASSERT_EQ(base::File::FILE_OK, File 638 content/browser/fileapi/copy_or_move_operation_delegate_unittest.cc ASSERT_EQ(base::File::FILE_OK, helper.CreateFile(src, 10)); File 643 content/browser/fileapi/copy_or_move_operation_delegate_unittest.cc ASSERT_EQ(base::File::FILE_ERROR_SECURITY, helper.Copy(src, dest)); File 656 content/browser/fileapi/copy_or_move_operation_delegate_unittest.cc ASSERT_EQ(base::File::FILE_OK, helper.CreateDirectory(src)); File 657 content/browser/fileapi/copy_or_move_operation_delegate_unittest.cc ASSERT_EQ(base::File::FILE_OK, File 663 content/browser/fileapi/copy_or_move_operation_delegate_unittest.cc ASSERT_EQ(base::File::FILE_OK, File 750 content/browser/fileapi/copy_or_move_operation_delegate_unittest.cc base::File::Error error = base::File::FILE_ERROR_FAILED; File 755 content/browser/fileapi/copy_or_move_operation_delegate_unittest.cc EXPECT_EQ(base::File::FILE_OK, error); File 806 content/browser/fileapi/copy_or_move_operation_delegate_unittest.cc base::File::Error error = base::File::FILE_ERROR_FAILED; File 811 content/browser/fileapi/copy_or_move_operation_delegate_unittest.cc EXPECT_EQ(base::File::FILE_OK, error); File 863 content/browser/fileapi/copy_or_move_operation_delegate_unittest.cc base::File::Error error = base::File::FILE_ERROR_FAILED; File 868 content/browser/fileapi/copy_or_move_operation_delegate_unittest.cc EXPECT_EQ(base::File::FILE_ERROR_ABORT, error); File 59 content/browser/fileapi/dragged_file_util_unittest.cc EXPECT_EQ(base::File::FILE_OK, File 165 content/browser/fileapi/dragged_file_util_unittest.cc base::File::Info info1; File 166 content/browser/fileapi/dragged_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, File 170 content/browser/fileapi/dragged_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, File 175 content/browser/fileapi/dragged_file_util_unittest.cc base::File::Info info2; File 176 content/browser/fileapi/dragged_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, File 180 content/browser/fileapi/dragged_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, File 210 content/browser/fileapi/dragged_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, File 229 content/browser/fileapi/dragged_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, File 304 content/browser/fileapi/dragged_file_util_unittest.cc base::File::Info info; File 307 content/browser/fileapi/dragged_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, File 336 content/browser/fileapi/dragged_file_util_unittest.cc base::File::Info info; File 396 content/browser/fileapi/dragged_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, File 423 content/browser/fileapi/dragged_file_util_unittest.cc EXPECT_EQ(base::File::FILE_OK, File 438 content/browser/fileapi/dragged_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, File 445 content/browser/fileapi/dragged_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, File 455 content/browser/fileapi/dragged_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, File 463 content/browser/fileapi/dragged_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, File 475 content/browser/fileapi/dragged_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, File 480 content/browser/fileapi/dragged_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, File 492 content/browser/fileapi/dragged_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, File 511 content/browser/fileapi/dragged_file_util_unittest.cc EXPECT_EQ(base::File::FILE_OK, File 517 content/browser/fileapi/dragged_file_util_unittest.cc base::File::Info info; File 519 content/browser/fileapi/dragged_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, File 538 content/browser/fileapi/dragged_file_util_unittest.cc base::File::Info info; File 540 content/browser/fileapi/dragged_file_util_unittest.cc EXPECT_EQ(base::File::FILE_OK, File 542 content/browser/fileapi/dragged_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, File 548 content/browser/fileapi/dragged_file_util_unittest.cc EXPECT_EQ(base::File::FILE_OK, File 550 content/browser/fileapi/dragged_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, File 56 content/browser/fileapi/file_system_dir_url_request_job_unittest.cc const base::Callback<void(base::File::Error result)>& callback) { File 68 content/browser/fileapi/file_system_dir_url_request_job_unittest.cc callback.Run(base::File::FILE_OK); File 70 content/browser/fileapi/file_system_dir_url_request_job_unittest.cc callback.Run(base::File::FILE_ERROR_NOT_FOUND); File 127 content/browser/fileapi/file_system_dir_url_request_job_unittest.cc base::File::Error result) { File 128 content/browser/fileapi/file_system_dir_url_request_job_unittest.cc ASSERT_EQ(base::File::FILE_OK, result); File 176 content/browser/fileapi/file_system_dir_url_request_job_unittest.cc ASSERT_EQ(base::File::FILE_OK, file_util()->CreateDirectory( File 186 content/browser/fileapi/file_system_dir_url_request_job_unittest.cc ASSERT_EQ(base::File::FILE_OK, file_util()->EnsureFileExists( File 193 content/browser/fileapi/file_system_dir_url_request_job_unittest.cc ASSERT_EQ(base::File::FILE_OK, file_util()->Truncate( File 197 content/browser/fileapi/file_system_dir_url_request_job_unittest.cc base::File::Error GetFileInfo(const base::FilePath& path, File 198 content/browser/fileapi/file_system_dir_url_request_job_unittest.cc base::File::Info* file_info, File 112 content/browser/fileapi/file_system_file_stream_reader_unittest.cc ASSERT_EQ(base::File::FILE_OK, File 116 content/browser/fileapi/file_system_file_stream_reader_unittest.cc base::File::Info file_info; File 117 content/browser/fileapi/file_system_file_stream_reader_unittest.cc ASSERT_EQ(base::File::FILE_OK, File 127 content/browser/fileapi/file_system_file_stream_reader_unittest.cc base::File::Error result) { File 128 content/browser/fileapi/file_system_file_stream_reader_unittest.cc ASSERT_EQ(base::File::FILE_OK, result); File 48 content/browser/fileapi/file_system_operation_impl_unittest.cc base::File::Error expected, File 49 content/browser/fileapi/file_system_operation_impl_unittest.cc base::File::Error actual) { File 95 content/browser/fileapi/file_system_operation_impl_unittest.cc const base::File::Info& info() const { return info_; } File 153 content/browser/fileapi/file_system_operation_impl_unittest.cc EXPECT_EQ(base::File::FILE_OK, File 162 content/browser/fileapi/file_system_operation_impl_unittest.cc EXPECT_EQ(base::File::FILE_OK, File 169 content/browser/fileapi/file_system_operation_impl_unittest.cc base::File::Info info; File 196 content/browser/fileapi/file_system_operation_impl_unittest.cc void DidFinish(base::File::Error status) { File 201 content/browser/fileapi/file_system_operation_impl_unittest.cc base::File::Error status, File 208 content/browser/fileapi/file_system_operation_impl_unittest.cc void DidGetMetadata(base::File::Error status, File 209 content/browser/fileapi/file_system_operation_impl_unittest.cc const base::File::Info& info) { File 215 content/browser/fileapi/file_system_operation_impl_unittest.cc base::File::Error status, File 216 content/browser/fileapi/file_system_operation_impl_unittest.cc const base::File::Info& info, File 249 content/browser/fileapi/file_system_operation_impl_unittest.cc base::File::FILE_OK)); File 292 content/browser/fileapi/file_system_operation_impl_unittest.cc base::File::Info info_; File 311 content/browser/fileapi/file_system_operation_impl_unittest.cc EXPECT_EQ(base::File::FILE_ERROR_NOT_FOUND, status()); File 323 content/browser/fileapi/file_system_operation_impl_unittest.cc EXPECT_EQ(base::File::FILE_ERROR_INVALID_OPERATION, status()); File 337 content/browser/fileapi/file_system_operation_impl_unittest.cc EXPECT_EQ(base::File::FILE_ERROR_INVALID_OPERATION, status()); File 352 content/browser/fileapi/file_system_operation_impl_unittest.cc EXPECT_EQ(base::File::FILE_ERROR_NOT_EMPTY, status()); File 366 content/browser/fileapi/file_system_operation_impl_unittest.cc EXPECT_EQ(base::File::FILE_ERROR_INVALID_OPERATION, status()); File 377 content/browser/fileapi/file_system_operation_impl_unittest.cc EXPECT_EQ(base::File::FILE_ERROR_NOT_FOUND, status()); File 389 content/browser/fileapi/file_system_operation_impl_unittest.cc EXPECT_EQ(base::File::FILE_OK, status()); File 406 content/browser/fileapi/file_system_operation_impl_unittest.cc EXPECT_EQ(base::File::FILE_OK, status()); File 422 content/browser/fileapi/file_system_operation_impl_unittest.cc EXPECT_EQ(base::File::FILE_OK, status()); File 442 content/browser/fileapi/file_system_operation_impl_unittest.cc EXPECT_EQ(base::File::FILE_OK, status()); File 462 content/browser/fileapi/file_system_operation_impl_unittest.cc EXPECT_EQ(base::File::FILE_OK, status()); File 482 content/browser/fileapi/file_system_operation_impl_unittest.cc EXPECT_EQ(base::File::FILE_OK, status()); File 499 content/browser/fileapi/file_system_operation_impl_unittest.cc EXPECT_EQ(base::File::FILE_ERROR_NOT_FOUND, status()); File 512 content/browser/fileapi/file_system_operation_impl_unittest.cc EXPECT_EQ(base::File::FILE_ERROR_INVALID_OPERATION, status()); File 527 content/browser/fileapi/file_system_operation_impl_unittest.cc EXPECT_EQ(base::File::FILE_ERROR_INVALID_OPERATION, status()); File 543 content/browser/fileapi/file_system_operation_impl_unittest.cc EXPECT_EQ(base::File::FILE_ERROR_NOT_EMPTY, status()); File 557 content/browser/fileapi/file_system_operation_impl_unittest.cc EXPECT_EQ(base::File::FILE_ERROR_INVALID_OPERATION, status()); File 570 content/browser/fileapi/file_system_operation_impl_unittest.cc EXPECT_EQ(base::File::FILE_ERROR_NOT_FOUND, status()); File 580 content/browser/fileapi/file_system_operation_impl_unittest.cc EXPECT_EQ(base::File::FILE_OK, status()); File 593 content/browser/fileapi/file_system_operation_impl_unittest.cc EXPECT_EQ(base::File::FILE_ERROR_NO_SPACE, status()); File 606 content/browser/fileapi/file_system_operation_impl_unittest.cc EXPECT_EQ(base::File::FILE_OK, status()); File 622 content/browser/fileapi/file_system_operation_impl_unittest.cc EXPECT_EQ(base::File::FILE_OK, status()); File 639 content/browser/fileapi/file_system_operation_impl_unittest.cc EXPECT_EQ(base::File::FILE_OK, status()); File 660 content/browser/fileapi/file_system_operation_impl_unittest.cc EXPECT_EQ(base::File::FILE_OK, status()); File 681 content/browser/fileapi/file_system_operation_impl_unittest.cc EXPECT_EQ(base::File::FILE_OK, status()); File 705 content/browser/fileapi/file_system_operation_impl_unittest.cc EXPECT_EQ(base::File::FILE_OK, status()); File 734 content/browser/fileapi/file_system_operation_impl_unittest.cc EXPECT_EQ(base::File::FILE_OK, status()); File 765 content/browser/fileapi/file_system_operation_impl_unittest.cc EXPECT_EQ(base::File::FILE_ERROR_NO_SPACE, status()); File 773 content/browser/fileapi/file_system_operation_impl_unittest.cc EXPECT_EQ(base::File::FILE_ERROR_EXISTS, status()); File 782 content/browser/fileapi/file_system_operation_impl_unittest.cc EXPECT_EQ(base::File::FILE_OK, status()); File 794 content/browser/fileapi/file_system_operation_impl_unittest.cc EXPECT_EQ(base::File::FILE_OK, status()); File 804 content/browser/fileapi/file_system_operation_impl_unittest.cc EXPECT_EQ(base::File::FILE_OK, status()); File 815 content/browser/fileapi/file_system_operation_impl_unittest.cc EXPECT_EQ(base::File::FILE_ERROR_NOT_FOUND, status()); File 825 content/browser/fileapi/file_system_operation_impl_unittest.cc EXPECT_EQ(base::File::FILE_ERROR_EXISTS, status()); File 835 content/browser/fileapi/file_system_operation_impl_unittest.cc EXPECT_EQ(base::File::FILE_ERROR_EXISTS, status()); File 845 content/browser/fileapi/file_system_operation_impl_unittest.cc EXPECT_EQ(base::File::FILE_OK, status()); File 852 content/browser/fileapi/file_system_operation_impl_unittest.cc EXPECT_EQ(base::File::FILE_OK, status()); File 862 content/browser/fileapi/file_system_operation_impl_unittest.cc EXPECT_EQ(base::File::FILE_OK, status()); File 872 content/browser/fileapi/file_system_operation_impl_unittest.cc EXPECT_EQ(base::File::FILE_ERROR_NOT_FOUND, status()); File 877 content/browser/fileapi/file_system_operation_impl_unittest.cc EXPECT_EQ(base::File::FILE_ERROR_NOT_FOUND, status()); File 882 content/browser/fileapi/file_system_operation_impl_unittest.cc EXPECT_EQ(base::File::FILE_ERROR_NOT_FOUND, status()); File 893 content/browser/fileapi/file_system_operation_impl_unittest.cc EXPECT_EQ(base::File::FILE_OK, status()); File 898 content/browser/fileapi/file_system_operation_impl_unittest.cc EXPECT_EQ(base::File::FILE_OK, status()); File 904 content/browser/fileapi/file_system_operation_impl_unittest.cc EXPECT_EQ(base::File::FILE_OK, status()); File 909 content/browser/fileapi/file_system_operation_impl_unittest.cc EXPECT_EQ(base::File::FILE_OK, status()); File 922 content/browser/fileapi/file_system_operation_impl_unittest.cc EXPECT_EQ(base::File::FILE_ERROR_NOT_A_FILE, status()); File 927 content/browser/fileapi/file_system_operation_impl_unittest.cc EXPECT_EQ(base::File::FILE_ERROR_NOT_A_DIRECTORY, status()); File 935 content/browser/fileapi/file_system_operation_impl_unittest.cc EXPECT_EQ(base::File::FILE_ERROR_NOT_FOUND, status()); File 941 content/browser/fileapi/file_system_operation_impl_unittest.cc EXPECT_EQ(base::File::FILE_ERROR_NOT_A_DIRECTORY, status()); File 956 content/browser/fileapi/file_system_operation_impl_unittest.cc EXPECT_EQ(base::File::FILE_OK, status()); File 974 content/browser/fileapi/file_system_operation_impl_unittest.cc EXPECT_EQ(base::File::FILE_ERROR_NOT_FOUND, status()); File 989 content/browser/fileapi/file_system_operation_impl_unittest.cc EXPECT_EQ(base::File::FILE_ERROR_NOT_EMPTY, status()); File 999 content/browser/fileapi/file_system_operation_impl_unittest.cc EXPECT_EQ(base::File::FILE_OK, status()); File 1025 content/browser/fileapi/file_system_operation_impl_unittest.cc EXPECT_EQ(base::File::FILE_OK, status()); File 1045 content/browser/fileapi/file_system_operation_impl_unittest.cc EXPECT_EQ(base::File::FILE_OK, status()); File 1053 content/browser/fileapi/file_system_operation_impl_unittest.cc EXPECT_EQ(base::File::FILE_OK, status()); File 1074 content/browser/fileapi/file_system_operation_impl_unittest.cc EXPECT_EQ(base::File::FILE_OK, status()); File 1099 content/browser/fileapi/file_system_operation_impl_unittest.cc EXPECT_EQ(base::File::FILE_OK, status()); File 1107 content/browser/fileapi/file_system_operation_impl_unittest.cc EXPECT_EQ(base::File::FILE_ERROR_NO_SPACE, status()); File 1117 content/browser/fileapi/file_system_operation_impl_unittest.cc base::File::Info info; File 1133 content/browser/fileapi/file_system_operation_impl_unittest.cc EXPECT_EQ(base::File::FILE_OK, status()); File 1152 content/browser/fileapi/file_system_operation_impl_unittest.cc EXPECT_EQ(base::File::FILE_OK, status()); File 1160 content/browser/fileapi/file_system_operation_impl_unittest.cc EXPECT_EQ(base::File::FILE_OK, status()); File 1187 content/browser/fileapi/file_system_operation_impl_unittest.cc base::Bind(&AssertFileErrorEq, FROM_HERE, base::File::FILE_OK)); File 1190 content/browser/fileapi/file_system_operation_impl_unittest.cc base::Bind(&AssertFileErrorEq, FROM_HERE, base::File::FILE_OK)); File 1193 content/browser/fileapi/file_system_operation_impl_unittest.cc base::Bind(&AssertFileErrorEq, FROM_HERE, base::File::FILE_OK)); File 1196 content/browser/fileapi/file_system_operation_impl_unittest.cc base::Bind(&AssertFileErrorEq, FROM_HERE, base::File::FILE_OK)); File 1205 content/browser/fileapi/file_system_operation_impl_unittest.cc base::Bind(&AssertFileErrorEq, FROM_HERE, base::File::FILE_OK)); File 1240 content/browser/fileapi/file_system_operation_impl_unittest.cc base::Bind(&AssertFileErrorEq, FROM_HERE, base::File::FILE_OK)); File 1243 content/browser/fileapi/file_system_operation_impl_unittest.cc base::Bind(&AssertFileErrorEq, FROM_HERE, base::File::FILE_OK)); File 1246 content/browser/fileapi/file_system_operation_impl_unittest.cc base::Bind(&AssertFileErrorEq, FROM_HERE, base::File::FILE_OK)); File 1249 content/browser/fileapi/file_system_operation_impl_unittest.cc base::Bind(&AssertFileErrorEq, FROM_HERE, base::File::FILE_OK)); File 1265 content/browser/fileapi/file_system_operation_impl_unittest.cc base::Bind(&AssertFileErrorEq, FROM_HERE, base::File::FILE_OK)); File 1281 content/browser/fileapi/file_system_operation_impl_unittest.cc base::Bind(&AssertFileErrorEq, FROM_HERE, base::File::FILE_OK)); File 46 content/browser/fileapi/file_system_operation_impl_write_unittest.cc void AssertStatusEq(base::File::Error expected, File 47 content/browser/fileapi/file_system_operation_impl_write_unittest.cc base::File::Error actual) { File 57 content/browser/fileapi/file_system_operation_impl_write_unittest.cc : status_(base::File::FILE_OK), File 58 content/browser/fileapi/file_system_operation_impl_write_unittest.cc cancel_status_(base::File::FILE_ERROR_FAILED), File 84 content/browser/fileapi/file_system_operation_impl_write_unittest.cc base::Bind(&AssertStatusEq, base::File::FILE_OK)); File 97 content/browser/fileapi/file_system_operation_impl_write_unittest.cc base::File::Error status() const { return status_; } File 98 content/browser/fileapi/file_system_operation_impl_write_unittest.cc base::File::Error cancel_status() const { return cancel_status_; } File 132 content/browser/fileapi/file_system_operation_impl_write_unittest.cc void DidWrite(base::File::Error status, int64 bytes, bool complete) { File 133 content/browser/fileapi/file_system_operation_impl_write_unittest.cc if (status == base::File::FILE_OK) { File 139 content/browser/fileapi/file_system_operation_impl_write_unittest.cc EXPECT_EQ(status_, base::File::FILE_OK); File 147 content/browser/fileapi/file_system_operation_impl_write_unittest.cc void DidCancel(base::File::Error status) { File 164 content/browser/fileapi/file_system_operation_impl_write_unittest.cc base::File::Error status_; File 165 content/browser/fileapi/file_system_operation_impl_write_unittest.cc base::File::Error cancel_status_; File 190 content/browser/fileapi/file_system_operation_impl_write_unittest.cc EXPECT_EQ(base::File::FILE_OK, status()); File 204 content/browser/fileapi/file_system_operation_impl_write_unittest.cc EXPECT_EQ(base::File::FILE_OK, status()); File 219 content/browser/fileapi/file_system_operation_impl_write_unittest.cc EXPECT_EQ(base::File::FILE_ERROR_FAILED, status()); File 235 content/browser/fileapi/file_system_operation_impl_write_unittest.cc EXPECT_EQ(base::File::FILE_ERROR_NOT_FOUND, status()); File 246 content/browser/fileapi/file_system_operation_impl_write_unittest.cc base::Bind(&AssertStatusEq, base::File::FILE_OK)); File 258 content/browser/fileapi/file_system_operation_impl_write_unittest.cc EXPECT_TRUE(status() == base::File::FILE_ERROR_NOT_A_FILE || File 259 content/browser/fileapi/file_system_operation_impl_write_unittest.cc status() == base::File::FILE_ERROR_ACCESS_DENIED || File 260 content/browser/fileapi/file_system_operation_impl_write_unittest.cc status() == base::File::FILE_ERROR_FAILED); File 277 content/browser/fileapi/file_system_operation_impl_write_unittest.cc EXPECT_EQ(base::File::FILE_ERROR_NO_SPACE, status()); File 299 content/browser/fileapi/file_system_operation_impl_write_unittest.cc EXPECT_EQ(base::File::FILE_ERROR_ABORT, status()); File 300 content/browser/fileapi/file_system_operation_impl_write_unittest.cc EXPECT_EQ(base::File::FILE_OK, cancel_status()); File 323 content/browser/fileapi/file_system_operation_impl_write_unittest.cc EXPECT_EQ(base::File::FILE_ERROR_ABORT, status()); File 324 content/browser/fileapi/file_system_operation_impl_write_unittest.cc EXPECT_EQ(base::File::FILE_OK, cancel_status()); File 23 content/browser/fileapi/file_system_operation_runner_unittest.cc base::File::Error *status_out, File 24 content/browser/fileapi/file_system_operation_runner_unittest.cc base::File::Error status) { File 32 content/browser/fileapi/file_system_operation_runner_unittest.cc base::File::Error *status_out, File 33 content/browser/fileapi/file_system_operation_runner_unittest.cc base::File::Error status) { File 78 content/browser/fileapi/file_system_operation_runner_unittest.cc base::File::Error status = base::File::FILE_ERROR_FAILED; File 86 content/browser/fileapi/file_system_operation_runner_unittest.cc ASSERT_EQ(base::File::FILE_ERROR_NOT_FOUND, status); File 91 content/browser/fileapi/file_system_operation_runner_unittest.cc base::File::Error status = base::File::FILE_ERROR_FAILED; File 101 content/browser/fileapi/file_system_operation_runner_unittest.cc ASSERT_EQ(base::File::FILE_ERROR_INVALID_URL, status); File 107 content/browser/fileapi/file_system_operation_runner_unittest.cc base::File::Error status = base::File::FILE_ERROR_FAILED; File 108 content/browser/fileapi/file_system_operation_runner_unittest.cc base::File::Error cancel_status = base::File::FILE_ERROR_FAILED; File 125 content/browser/fileapi/file_system_operation_runner_unittest.cc ASSERT_EQ(base::File::FILE_ERROR_NOT_FOUND, status); File 126 content/browser/fileapi/file_system_operation_runner_unittest.cc ASSERT_EQ(base::File::FILE_ERROR_INVALID_OPERATION, cancel_status); File 132 content/browser/fileapi/file_system_operation_runner_unittest.cc base::File::Error status = base::File::FILE_ERROR_FAILED; File 133 content/browser/fileapi/file_system_operation_runner_unittest.cc base::File::Error cancel_status = base::File::FILE_ERROR_FAILED; File 150 content/browser/fileapi/file_system_operation_runner_unittest.cc ASSERT_EQ(base::File::FILE_ERROR_INVALID_URL, status); File 151 content/browser/fileapi/file_system_operation_runner_unittest.cc ASSERT_EQ(base::File::FILE_ERROR_INVALID_OPERATION, cancel_status); File 158 content/browser/fileapi/file_system_operation_runner_unittest.cc base::File::Error cancel_status = base::File::FILE_ERROR_FAILED; File 164 content/browser/fileapi/file_system_operation_runner_unittest.cc ASSERT_EQ(base::File::FILE_ERROR_INVALID_OPERATION, cancel_status); File 129 content/browser/fileapi/file_system_quota_client_unittest.cc base::File::Error result = File 131 content/browser/fileapi/file_system_quota_client_unittest.cc return result == base::File::FILE_OK; File 146 content/browser/fileapi/file_system_quota_client_unittest.cc base::File::Error result = File 148 content/browser/fileapi/file_system_quota_client_unittest.cc if (result != base::File::FILE_OK) File 153 content/browser/fileapi/file_system_quota_client_unittest.cc return result == base::File::FILE_OK; File 66 content/browser/fileapi/file_system_url_request_job_unittest.cc const base::Callback<void(base::File::Error result)>& callback) { File 77 content/browser/fileapi/file_system_url_request_job_unittest.cc callback.Run(base::File::FILE_OK); File 79 content/browser/fileapi/file_system_url_request_job_unittest.cc callback.Run(base::File::FILE_ERROR_NOT_FOUND); File 142 content/browser/fileapi/file_system_url_request_job_unittest.cc base::File::Error result) { File 143 content/browser/fileapi/file_system_url_request_job_unittest.cc ASSERT_EQ(base::File::FILE_OK, result); File 192 content/browser/fileapi/file_system_url_request_job_unittest.cc ASSERT_EQ(base::File::FILE_OK, AsyncFileTestHelper::CreateDirectory( File 202 content/browser/fileapi/file_system_url_request_job_unittest.cc ASSERT_EQ(base::File::FILE_OK, File 46 content/browser/fileapi/file_writer_delegate_unittest.cc : status_(base::File::FILE_OK), File 50 content/browser/fileapi/file_writer_delegate_unittest.cc base::File::Error status() const { return status_; } File 56 content/browser/fileapi/file_writer_delegate_unittest.cc void DidWrite(base::File::Error status, int64 bytes, File 59 content/browser/fileapi/file_writer_delegate_unittest.cc if (status == base::File::FILE_OK) { File 64 content/browser/fileapi/file_writer_delegate_unittest.cc EXPECT_EQ(base::File::FILE_OK, status_); File 72 content/browser/fileapi/file_writer_delegate_unittest.cc base::File::Error status_; File 100 content/browser/fileapi/file_writer_delegate_unittest.cc base::File::Info file_info; File 101 content/browser/fileapi/file_writer_delegate_unittest.cc EXPECT_EQ(base::File::FILE_OK, File 226 content/browser/fileapi/file_writer_delegate_unittest.cc ASSERT_EQ(base::File::FILE_OK, File 255 content/browser/fileapi/file_writer_delegate_unittest.cc EXPECT_EQ(base::File::FILE_OK, result.status()); File 275 content/browser/fileapi/file_writer_delegate_unittest.cc EXPECT_EQ(base::File::FILE_OK, result.status()); File 295 content/browser/fileapi/file_writer_delegate_unittest.cc EXPECT_EQ(base::File::FILE_ERROR_NO_SPACE, result.status()); File 316 content/browser/fileapi/file_writer_delegate_unittest.cc EXPECT_EQ(base::File::FILE_OK, result.status()); File 324 content/browser/fileapi/file_writer_delegate_unittest.cc ASSERT_EQ(base::File::FILE_OK, File 357 content/browser/fileapi/file_writer_delegate_unittest.cc EXPECT_EQ(base::File::FILE_OK, result.status()); File 359 content/browser/fileapi/file_writer_delegate_unittest.cc EXPECT_EQ(base::File::FILE_OK, result2.status()); File 383 content/browser/fileapi/file_writer_delegate_unittest.cc EXPECT_EQ(base::File::FILE_OK, result.status()); File 398 content/browser/fileapi/file_writer_delegate_unittest.cc EXPECT_EQ(base::File::FILE_OK, result.status()); File 418 content/browser/fileapi/file_writer_delegate_unittest.cc EXPECT_EQ(base::File::FILE_OK, result.status()); File 437 content/browser/fileapi/file_writer_delegate_unittest.cc EXPECT_EQ(base::File::FILE_OK, result.status()); File 457 content/browser/fileapi/file_writer_delegate_unittest.cc EXPECT_EQ(base::File::FILE_ERROR_NO_SPACE, result.status()); File 232 content/browser/fileapi/fileapi_message_filter.cc base::File::FILE_ERROR_SECURITY)); File 262 content/browser/fileapi/fileapi_message_filter.cc base::File::FILE_ERROR_SECURITY)); File 284 content/browser/fileapi/fileapi_message_filter.cc base::File::FILE_ERROR_SECURITY)); File 303 content/browser/fileapi/fileapi_message_filter.cc base::File::FILE_ERROR_SECURITY)); File 320 content/browser/fileapi/fileapi_message_filter.cc base::File::FILE_ERROR_SECURITY)); File 337 content/browser/fileapi/fileapi_message_filter.cc base::File::FILE_ERROR_SECURITY)); File 360 content/browser/fileapi/fileapi_message_filter.cc base::File::FILE_ERROR_SECURITY)); File 383 content/browser/fileapi/fileapi_message_filter.cc base::File::FILE_ERROR_SECURITY)); File 409 content/browser/fileapi/fileapi_message_filter.cc base::File::FILE_ERROR_SECURITY)); File 430 content/browser/fileapi/fileapi_message_filter.cc base::File::FILE_ERROR_SECURITY)); File 450 content/browser/fileapi/fileapi_message_filter.cc base::File::FILE_ERROR_SECURITY)); File 474 content/browser/fileapi/fileapi_message_filter.cc request_id, base::File::FILE_ERROR_INVALID_OPERATION)); File 495 content/browser/fileapi/fileapi_message_filter.cc base::File::FILE_ERROR_SECURITY)); File 696 content/browser/fileapi/fileapi_message_filter.cc base::File::Error result) { File 697 content/browser/fileapi/fileapi_message_filter.cc if (result == base::File::FILE_OK) File 706 content/browser/fileapi/fileapi_message_filter.cc base::File::Error result, File 707 content/browser/fileapi/fileapi_message_filter.cc const base::File::Info& info) { File 708 content/browser/fileapi/fileapi_message_filter.cc if (result == base::File::FILE_OK) File 717 content/browser/fileapi/fileapi_message_filter.cc base::File::Error result, File 718 content/browser/fileapi/fileapi_message_filter.cc const base::File::Info& info) { File 719 content/browser/fileapi/fileapi_message_filter.cc if (result == base::File::FILE_OK) { File 732 content/browser/fileapi/fileapi_message_filter.cc base::File::Error result, File 735 content/browser/fileapi/fileapi_message_filter.cc if (result == base::File::FILE_OK) { File 747 content/browser/fileapi/fileapi_message_filter.cc base::File::Error result, File 750 content/browser/fileapi/fileapi_message_filter.cc if (result == base::File::FILE_OK) { File 763 content/browser/fileapi/fileapi_message_filter.cc base::File::Error result) { File 765 content/browser/fileapi/fileapi_message_filter.cc if (result == base::File::FILE_OK) { File 776 content/browser/fileapi/fileapi_message_filter.cc base::File::Error result, File 781 content/browser/fileapi/fileapi_message_filter.cc if (result == base::File::FILE_OK) { File 793 content/browser/fileapi/fileapi_message_filter.cc base::File::Error result) { File 794 content/browser/fileapi/fileapi_message_filter.cc if (result == base::File::FILE_OK) File 805 content/browser/fileapi/fileapi_message_filter.cc base::File::Error result, File 806 content/browser/fileapi/fileapi_message_filter.cc const base::File::Info& info, File 812 content/browser/fileapi/fileapi_message_filter.cc if (result != base::File::FILE_OK) { File 855 content/browser/fileapi/fileapi_message_filter.cc base::File::FILE_ERROR_INVALID_URL)); File 864 content/browser/fileapi/fileapi_message_filter.cc base::File::FILE_ERROR_SECURITY)); File 164 content/browser/fileapi/fileapi_message_filter.h void DidFinish(int request_id, base::File::Error result); File 166 content/browser/fileapi/fileapi_message_filter.h base::File::Error result, File 167 content/browser/fileapi/fileapi_message_filter.h const base::File::Info& info); File 169 content/browser/fileapi/fileapi_message_filter.h base::File::Error result, File 170 content/browser/fileapi/fileapi_message_filter.h const base::File::Info& info); File 172 content/browser/fileapi/fileapi_message_filter.h base::File::Error result, File 176 content/browser/fileapi/fileapi_message_filter.h base::File::Error result, File 182 content/browser/fileapi/fileapi_message_filter.h base::File::Error result); File 184 content/browser/fileapi/fileapi_message_filter.h base::File::Error result, File 189 content/browser/fileapi/fileapi_message_filter.h base::File::Error result); File 193 content/browser/fileapi/fileapi_message_filter.h base::File::Error result, File 194 content/browser/fileapi/fileapi_message_filter.h const base::File::Info& info, File 96 content/browser/fileapi/local_file_util_unittest.cc base::File::Info info; File 101 content/browser/fileapi/local_file_util_unittest.cc base::File::Error CreateFile(const char* file_name, File 114 content/browser/fileapi/local_file_util_unittest.cc base::File::Error EnsureFileExists(const char* file_name, File 138 content/browser/fileapi/local_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, File 146 content/browser/fileapi/local_file_util_unittest.cc EXPECT_EQ(base::File::FILE_OK, File 157 content/browser/fileapi/local_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, File 174 content/browser/fileapi/local_file_util_unittest.cc EXPECT_EQ(base::File::FILE_ERROR_NOT_FOUND, File 184 content/browser/fileapi/local_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, EnsureFileExists(file_name, &created)); File 190 content/browser/fileapi/local_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, EnsureFileExists(file_name, &created)); File 198 content/browser/fileapi/local_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, File 204 content/browser/fileapi/local_file_util_unittest.cc base::File::Info info; File 211 content/browser/fileapi/local_file_util_unittest.cc EXPECT_EQ(base::File::FILE_OK, File 219 content/browser/fileapi/local_file_util_unittest.cc EXPECT_EQ(base::File::FILE_OK, File 226 content/browser/fileapi/local_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, File 232 content/browser/fileapi/local_file_util_unittest.cc base::File::Info info; File 239 content/browser/fileapi/local_file_util_unittest.cc EXPECT_EQ(base::File::FILE_OK, File 251 content/browser/fileapi/local_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, EnsureFileExists(file_name, &created)); File 257 content/browser/fileapi/local_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, File 269 content/browser/fileapi/local_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, EnsureFileExists(from_file, &created)); File 274 content/browser/fileapi/local_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, File 280 content/browser/fileapi/local_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, File 286 content/browser/fileapi/local_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, File 308 content/browser/fileapi/local_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, File 311 content/browser/fileapi/local_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, EnsureFileExists(from_file, &created)); File 315 content/browser/fileapi/local_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, File 324 content/browser/fileapi/local_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, File 340 content/browser/fileapi/local_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, EnsureFileExists(from_file, &created)); File 345 content/browser/fileapi/local_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, File 352 content/browser/fileapi/local_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, File 371 content/browser/fileapi/local_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, File 374 content/browser/fileapi/local_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, EnsureFileExists(from_file, &created)); File 378 content/browser/fileapi/local_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, File 387 content/browser/fileapi/local_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, File 297 content/browser/fileapi/obfuscated_file_util_unittest.cc base::File::Info file_info; File 299 content/browser/fileapi/obfuscated_file_util_unittest.cc base::File::Error error = ofu()->GetFileInfo( File 301 content/browser/fileapi/obfuscated_file_util_unittest.cc return error == base::File::FILE_OK; File 329 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_OK, File 332 content/browser/fileapi/obfuscated_file_util_unittest.cc base::File::Info file_info0; File 334 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_OK, File 344 content/browser/fileapi/obfuscated_file_util_unittest.cc base::File file(data_path, File 345 content/browser/fileapi/obfuscated_file_util_unittest.cc base::File::FLAG_OPEN | base::File::FLAG_WRITE); File 353 content/browser/fileapi/obfuscated_file_util_unittest.cc base::File::Info file_info1; File 356 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_OK, File 369 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_OK, File 374 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_OK, File 388 content/browser/fileapi/obfuscated_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, File 449 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_OK, File 466 content/browser/fileapi/obfuscated_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, File 476 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_OK, File 492 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_OK, File 520 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_OK, File 526 content/browser/fileapi/obfuscated_file_util_unittest.cc base::File::Info file_info; File 528 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_OK, ofu()->GetFileInfo( File 538 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_OK, File 543 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_OK, File 558 content/browser/fileapi/obfuscated_file_util_unittest.cc base::File file(src_file_path, File 559 content/browser/fileapi/obfuscated_file_util_unittest.cc base::File::FLAG_CREATE | base::File::FLAG_WRITE); File 570 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_OK, File 585 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_ERROR_NO_SPACE, File 592 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_OK, File 600 content/browser/fileapi/obfuscated_file_util_unittest.cc base::File::Info file_info; File 602 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_OK, File 609 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_OK, File 615 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_OK, File 623 content/browser/fileapi/obfuscated_file_util_unittest.cc base::File::Info file_info; File 625 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_OK, File 646 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_OK, File 649 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_OK, File 654 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_OK, File 658 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_OK, File 666 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_OK, File 775 content/browser/fileapi/obfuscated_file_util_unittest.cc base::File::Error error = base::File::FILE_ERROR_FAILED; File 778 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_OK, error); File 831 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_ERROR_NOT_FOUND, File 836 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_ERROR_NOT_FOUND, File 847 content/browser/fileapi/obfuscated_file_util_unittest.cc ASSERT_EQ(base::File::FILE_ERROR_NO_SPACE, File 854 content/browser/fileapi/obfuscated_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, File 865 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_OK, File 873 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_OK, ofu()->DeleteFile(context.get(), url)); File 885 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_OK, File 893 content/browser/fileapi/obfuscated_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, File 903 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_OK, File 908 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_OK, ofu()->DeleteFile(context.get(), url)); File 921 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_ERROR_NOT_FOUND, File 925 content/browser/fileapi/obfuscated_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, File 932 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_OK, File 937 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_OK, ofu()->Truncate(context.get(), url, 10)); File 942 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_OK, ofu()->Truncate(context.get(), url, 1)); File 957 content/browser/fileapi/obfuscated_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, File 964 content/browser/fileapi/obfuscated_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, File 968 content/browser/fileapi/obfuscated_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, File 972 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_ERROR_NO_SPACE, File 977 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_OK, File 981 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_OK, File 990 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_OK, File 997 content/browser/fileapi/obfuscated_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, File 1003 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_ERROR_NOT_FOUND, File 1012 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_ERROR_NOT_FOUND, File 1022 content/browser/fileapi/obfuscated_file_util_unittest.cc ASSERT_EQ(base::File::FILE_ERROR_NO_SPACE, File 1030 content/browser/fileapi/obfuscated_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, File 1038 content/browser/fileapi/obfuscated_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, File 1048 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_OK, File 1055 content/browser/fileapi/obfuscated_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, File 1069 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_ERROR_NOT_FOUND, File 1073 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_ERROR_NOT_FOUND, File 1085 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_OK, File 1102 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_ERROR_NOT_EMPTY, File 1107 content/browser/fileapi/obfuscated_file_util_unittest.cc base::File::Info file_info; File 1109 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_OK, File 1117 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_OK, File 1124 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_ERROR_EXISTS, File 1132 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_OK, ofu()->DeleteDirectory(context.get(), url)); File 1144 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_ERROR_NOT_FOUND, File 1153 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_ERROR_NO_SPACE, File 1160 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_OK, File 1170 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_ERROR_EXISTS, File 1178 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_ERROR_EXISTS, File 1190 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_OK, File 1200 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_ERROR_EXISTS, File 1210 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_OK, File 1228 content/browser/fileapi/obfuscated_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, File 1233 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_ERROR_NOT_A_DIRECTORY, File 1248 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_ERROR_NOT_FOUND, File 1255 content/browser/fileapi/obfuscated_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, File 1265 content/browser/fileapi/obfuscated_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, File 1277 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_ERROR_NO_SPACE, File 1281 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_OK, File 1302 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_OK, File 1313 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_ERROR_NOT_FOUND, File 1320 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_ERROR_NOT_FOUND, File 1329 content/browser/fileapi/obfuscated_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, File 1335 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_ERROR_NOT_FOUND, File 1342 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_ERROR_NOT_FOUND, File 1372 content/browser/fileapi/obfuscated_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, File 1377 content/browser/fileapi/obfuscated_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, File 1384 content/browser/fileapi/obfuscated_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, File 1388 content/browser/fileapi/obfuscated_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, File 1394 content/browser/fileapi/obfuscated_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, File 1398 content/browser/fileapi/obfuscated_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, File 1403 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_OK, File 1409 content/browser/fileapi/obfuscated_file_util_unittest.cc base::File::Info file_info; File 1412 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_OK, File 1416 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_OK, File 1419 content/browser/fileapi/obfuscated_file_util_unittest.cc base::File::Info file_info; File 1422 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_ERROR_NOT_FOUND, File 1426 content/browser/fileapi/obfuscated_file_util_unittest.cc base::File::Info file_info; File 1428 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_OK, File 1433 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_OK, File 1443 content/browser/fileapi/obfuscated_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, File 1450 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_ERROR_NO_SPACE, File 1456 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_OK, File 1463 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_OK, File 1473 content/browser/fileapi/obfuscated_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, File 1482 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_ERROR_NO_SPACE, File 1489 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_OK, File 1494 content/browser/fileapi/obfuscated_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, File 1500 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_OK, File 1509 content/browser/fileapi/obfuscated_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, File 1516 content/browser/fileapi/obfuscated_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, File 1528 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_OK, File 1535 content/browser/fileapi/obfuscated_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, File 1539 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_OK, File 1558 content/browser/fileapi/obfuscated_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, File 1569 content/browser/fileapi/obfuscated_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, File 1577 content/browser/fileapi/obfuscated_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, File 1612 content/browser/fileapi/obfuscated_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, File 1625 content/browser/fileapi/obfuscated_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, File 1686 content/browser/fileapi/obfuscated_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, File 1691 content/browser/fileapi/obfuscated_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, File 1695 content/browser/fileapi/obfuscated_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, File 1724 content/browser/fileapi/obfuscated_file_util_unittest.cc base::File::Info file_info; File 1730 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_OK, File 1734 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_OK, File 1737 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_OK, File 1748 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_OK, File 1752 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_OK, File 1759 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_OK, File 1768 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_ERROR_NOT_FOUND, File 1771 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_OK, File 1777 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_OK, File 1784 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_OK, File 1791 content/browser/fileapi/obfuscated_file_util_unittest.cc base::File base_file(file); File 1808 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_OK, File 1814 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_OK, File 1820 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_OK, File 1825 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_OK, File 1836 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_OK, File 1845 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_OK, File 1854 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_OK, File 1862 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_OK, File 1867 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_ERROR_NOT_A_FILE, File 1877 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_OK, File 1892 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_OK, File 1906 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_ERROR_EXISTS, File 1920 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_OK, File 1931 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_OK, File 1941 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_ERROR_EXISTS, File 1951 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_OK, File 1956 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_OK, File 1961 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_OK, File 1973 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_OK, File 1981 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_OK, File 1987 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_OK, File 1994 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_ERROR_NOT_FOUND, File 2002 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_OK, File 2006 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_OK, File 2012 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_ERROR_NOT_EMPTY, File 2018 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_OK, File 2023 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_OK, ofu()->DeleteDirectory(context.get(), url)); File 2044 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_OK, File 2049 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_OK, File 2054 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_OK, File 2059 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_OK, File 2064 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_OK, File 2077 content/browser/fileapi/obfuscated_file_util_unittest.cc base::File::Info file_info; File 2079 content/browser/fileapi/obfuscated_file_util_unittest.cc EXPECT_EQ(base::File::FILE_OK, File 2108 content/browser/fileapi/obfuscated_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, File 2115 content/browser/fileapi/obfuscated_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, File 2124 content/browser/fileapi/obfuscated_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, File 2132 content/browser/fileapi/obfuscated_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, File 2140 content/browser/fileapi/obfuscated_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, File 2149 content/browser/fileapi/obfuscated_file_util_unittest.cc ASSERT_EQ(base::File::FILE_ERROR_NO_SPACE, File 2160 content/browser/fileapi/obfuscated_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, File 2172 content/browser/fileapi/obfuscated_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, File 2188 content/browser/fileapi/obfuscated_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, File 2205 content/browser/fileapi/obfuscated_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, File 2214 content/browser/fileapi/obfuscated_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, File 2222 content/browser/fileapi/obfuscated_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, File 2231 content/browser/fileapi/obfuscated_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, File 2238 content/browser/fileapi/obfuscated_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, File 2247 content/browser/fileapi/obfuscated_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, File 2255 content/browser/fileapi/obfuscated_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, File 2265 content/browser/fileapi/obfuscated_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, File 2274 content/browser/fileapi/obfuscated_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, File 2283 content/browser/fileapi/obfuscated_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, File 2296 content/browser/fileapi/obfuscated_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, File 2312 content/browser/fileapi/obfuscated_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, File 2319 content/browser/fileapi/obfuscated_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, File 2325 content/browser/fileapi/obfuscated_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, File 2332 content/browser/fileapi/obfuscated_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, File 2339 content/browser/fileapi/obfuscated_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, File 2345 content/browser/fileapi/obfuscated_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, File 2351 content/browser/fileapi/obfuscated_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, File 2357 content/browser/fileapi/obfuscated_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, File 2363 content/browser/fileapi/obfuscated_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, File 2375 content/browser/fileapi/obfuscated_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, File 2383 content/browser/fileapi/obfuscated_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, File 2392 content/browser/fileapi/obfuscated_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, File 2398 content/browser/fileapi/obfuscated_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, File 2407 content/browser/fileapi/obfuscated_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, File 2413 content/browser/fileapi/obfuscated_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, File 2447 content/browser/fileapi/obfuscated_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, File 2454 content/browser/fileapi/obfuscated_file_util_unittest.cc ASSERT_EQ(base::File::FILE_ERROR_NOT_A_DIRECTORY, File 2463 content/browser/fileapi/obfuscated_file_util_unittest.cc ASSERT_EQ(base::File::FILE_ERROR_NOT_A_DIRECTORY, File 2477 content/browser/fileapi/obfuscated_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, File 2481 content/browser/fileapi/obfuscated_file_util_unittest.cc ASSERT_EQ(base::File::FILE_ERROR_NOT_A_DIRECTORY, File 2486 content/browser/fileapi/obfuscated_file_util_unittest.cc ASSERT_EQ(base::File::FILE_ERROR_NOT_A_DIRECTORY, File 37 content/browser/fileapi/plugin_private_file_system_backend_unittest.cc void DidOpenFileSystem(base::File::Error* error_out, File 38 content/browser/fileapi/plugin_private_file_system_backend_unittest.cc base::File::Error error) { File 80 content/browser/fileapi/plugin_private_file_system_backend_unittest.cc base::File::Error error = base::File::FILE_ERROR_FAILED; File 86 content/browser/fileapi/plugin_private_file_system_backend_unittest.cc ASSERT_EQ(base::File::FILE_OK, error); File 90 content/browser/fileapi/plugin_private_file_system_backend_unittest.cc error = base::File::FILE_ERROR_FAILED; File 96 content/browser/fileapi/plugin_private_file_system_backend_unittest.cc ASSERT_EQ(base::File::FILE_OK, error); File 103 content/browser/fileapi/plugin_private_file_system_backend_unittest.cc EXPECT_EQ(base::File::FILE_OK, File 105 content/browser/fileapi/plugin_private_file_system_backend_unittest.cc EXPECT_EQ(base::File::FILE_OK, File 115 content/browser/fileapi/plugin_private_file_system_backend_unittest.cc base::File::Error error = base::File::FILE_ERROR_FAILED; File 121 content/browser/fileapi/plugin_private_file_system_backend_unittest.cc ASSERT_EQ(base::File::FILE_OK, error); File 124 content/browser/fileapi/plugin_private_file_system_backend_unittest.cc error = base::File::FILE_ERROR_FAILED; File 130 content/browser/fileapi/plugin_private_file_system_backend_unittest.cc ASSERT_EQ(base::File::FILE_OK, error); File 138 content/browser/fileapi/plugin_private_file_system_backend_unittest.cc EXPECT_EQ(base::File::FILE_OK, File 74 content/browser/fileapi/recursive_operation_delegate_unittest.cc callback.Run(base::File::FILE_OK); File 80 content/browser/fileapi/recursive_operation_delegate_unittest.cc callback.Run(base::File::FILE_OK); File 92 content/browser/fileapi/recursive_operation_delegate_unittest.cc base::File::Error result, File 93 content/browser/fileapi/recursive_operation_delegate_unittest.cc const base::File::Info& file_info) { File 94 content/browser/fileapi/recursive_operation_delegate_unittest.cc if (result != base::File::FILE_OK) { File 100 content/browser/fileapi/recursive_operation_delegate_unittest.cc base::File::FILE_ERROR_NOT_A_FILE : File 101 content/browser/fileapi/recursive_operation_delegate_unittest.cc base::File::FILE_OK); File 112 content/browser/fileapi/recursive_operation_delegate_unittest.cc void ReportStatus(base::File::Error* out_error, File 113 content/browser/fileapi/recursive_operation_delegate_unittest.cc base::File::Error error) { File 164 content/browser/fileapi/recursive_operation_delegate_unittest.cc EXPECT_EQ(base::File::FILE_OK, File 173 content/browser/fileapi/recursive_operation_delegate_unittest.cc EXPECT_EQ(base::File::FILE_OK, File 190 content/browser/fileapi/recursive_operation_delegate_unittest.cc base::File::Error error = base::File::FILE_ERROR_FAILED; File 198 content/browser/fileapi/recursive_operation_delegate_unittest.cc ASSERT_EQ(base::File::FILE_OK, error); File 215 content/browser/fileapi/recursive_operation_delegate_unittest.cc base::File::Error error = base::File::FILE_ERROR_FAILED; File 223 content/browser/fileapi/recursive_operation_delegate_unittest.cc ASSERT_EQ(base::File::FILE_OK, error); File 271 content/browser/fileapi/recursive_operation_delegate_unittest.cc base::File::Error error = base::File::FILE_ERROR_FAILED; File 282 content/browser/fileapi/recursive_operation_delegate_unittest.cc ASSERT_EQ(base::File::FILE_ERROR_ABORT, error); File 73 content/browser/fileapi/sandbox_file_system_backend_unittest.cc void DidOpenFileSystem(base::File::Error* error_out, File 76 content/browser/fileapi/sandbox_file_system_backend_unittest.cc base::File::Error error) { File 120 content/browser/fileapi/sandbox_file_system_backend_unittest.cc base::File::Error error = base::File::FILE_OK; File 126 content/browser/fileapi/sandbox_file_system_backend_unittest.cc if (error != base::File::FILE_OK) File 86 content/browser/fileapi/transient_file_util_unittest.cc base::File::Error error; File 87 content/browser/fileapi/transient_file_util_unittest.cc base::File::Info file_info; File 103 content/browser/fileapi/transient_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, error); File 109 content/browser/fileapi/transient_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, File 121 content/browser/fileapi/transient_file_util_unittest.cc ASSERT_EQ(base::File::FILE_ERROR_NOT_FOUND, File 97 content/browser/fileapi/upload_file_system_file_element_reader_unittest.cc ASSERT_EQ(base::File::FILE_OK, File 101 content/browser/fileapi/upload_file_system_file_element_reader_unittest.cc base::File::Info file_info; File 102 content/browser/fileapi/upload_file_system_file_element_reader_unittest.cc ASSERT_EQ(base::File::FILE_OK, File 110 content/browser/fileapi/upload_file_system_file_element_reader_unittest.cc base::File::Error result) { File 111 content/browser/fileapi/upload_file_system_file_element_reader_unittest.cc ASSERT_EQ(base::File::FILE_OK, result); File 151 content/browser/indexed_db/indexed_db_cleanup_on_io_error_unittest.cc MockErrorLevelDBFactory<base::File::Error> mock_leveldb_factory2( File 152 content/browser/indexed_db/indexed_db_cleanup_on_io_error_unittest.cc base::File::FILE_ERROR_NO_MEMORY, false); File 174 content/browser/indexed_db/indexed_db_cleanup_on_io_error_unittest.cc MockErrorLevelDBFactory<base::File::Error> mock_leveldb_factory4( File 175 content/browser/indexed_db/indexed_db_cleanup_on_io_error_unittest.cc base::File::FILE_ERROR_FAILED, false); File 302 content/browser/indexed_db/indexed_db_context_impl.cc base::File::Info file_info; File 197 content/browser/indexed_db/leveldb/leveldb_database.cc -base::File::FILE_ERROR_MAX, File 198 content/browser/indexed_db/leveldb/leveldb_database.cc -base::File::FILE_ERROR_MAX + 1, File 66 content/browser/indexed_db/leveldb/leveldb_unittest.cc base::File file(file_path, base::File::FLAG_OPEN | base::File::FLAG_WRITE); File 253 content/browser/loader/redirect_to_file_resource_handler.cc base::File::Error error_code, File 257 content/browser/loader/redirect_to_file_resource_handler.cc if (error_code != base::File::FILE_OK) { File 80 content/browser/loader/redirect_to_file_resource_handler.h base::File::Error error_code, File 234 content/browser/loader/resource_loader_unittest.cc base::File::Error error, File 434 content/browser/loader/resource_loader_unittest.cc int flags = base::File::FLAG_WRITE | base::File::FLAG_TEMPORARY | File 435 content/browser/loader/resource_loader_unittest.cc base::File::FLAG_CREATE_ALWAYS | base::File::FLAG_ASYNC; File 436 content/browser/loader/resource_loader_unittest.cc base::File file(temp_path_, flags); File 468 content/browser/loader/resource_loader_unittest.cc base::Bind(callback, base::File::FILE_OK, File 514 content/browser/loader/resource_loader_unittest.cc base::Bind(&CreateTemporaryError, base::File::FILE_ERROR_FAILED)); File 23 content/browser/loader/temporary_file_stream.cc base::File::Error error_code, File 28 content/browser/loader/temporary_file_stream.cc if (error_code != base::File::FILE_OK) { File 24 content/browser/loader/temporary_file_stream.h typedef base::Callback<void(base::File::Error, File 35 content/browser/loader/temporary_file_stream_unittest.cc base::File::Error error() const { return error_; } File 41 content/browser/loader/temporary_file_stream_unittest.cc void OnFileStreamCreated(base::File::Error error, File 60 content/browser/loader/temporary_file_stream_unittest.cc base::File::Error error_; File 77 content/browser/loader/temporary_file_stream_unittest.cc EXPECT_EQ(base::File::FILE_OK, file_stream_waiter.error()); File 208 content/browser/media/media_browsertest.cc INSTANTIATE_TEST_CASE_P(File, MediaTest, ::testing::Values(false)); File 341 content/browser/net/sqlite_persistent_cookie_store_unittest.cc base::File::Info info; File 122 content/browser/renderer_host/database_message_filter.cc base::File file; File 40 content/browser/renderer_host/file_utilities_message_filter.cc base::File::Info* result, File 41 content/browser/renderer_host/file_utilities_message_filter.cc base::File::Error* status) { File 42 content/browser/renderer_host/file_utilities_message_filter.cc *result = base::File::Info(); File 43 content/browser/renderer_host/file_utilities_message_filter.cc *status = base::File::FILE_OK; File 53 content/browser/renderer_host/file_utilities_message_filter.cc *status = base::File::FILE_ERROR_FAILED; File 33 content/browser/renderer_host/file_utilities_message_filter.h const base::File::Info& file_info); File 36 content/browser/renderer_host/file_utilities_message_filter.h base::File::Info* result, File 37 content/browser/renderer_host/file_utilities_message_filter.h base::File::Error* status); File 136 content/browser/renderer_host/pepper/pepper_external_file_ref_backend.cc base::File::Error error) { File 143 content/browser/renderer_host/pepper/pepper_external_file_ref_backend.cc const base::File::Error error, File 144 content/browser/renderer_host/pepper/pepper_external_file_ref_backend.cc const base::File::Info& file_info) { File 148 content/browser/renderer_host/pepper/pepper_external_file_ref_backend.cc if (error == base::File::FILE_OK) { File 56 content/browser/renderer_host/pepper/pepper_external_file_ref_backend.h base::File::Error error); File 61 content/browser/renderer_host/pepper/pepper_external_file_ref_backend.h base::File::Error error, File 62 content/browser/renderer_host/pepper/pepper_external_file_ref_backend.h const base::File::Info& file_info); File 230 content/browser/renderer_host/pepper/pepper_file_io_host.cc base::File::Error result, File 233 content/browser/renderer_host/pepper/pepper_file_io_host.cc if (result == base::File::FILE_OK) { File 363 content/browser/renderer_host/pepper/pepper_file_io_host.cc reply_context, base::File::FILE_OK, base::PassPlatformFile(&file), File 367 content/browser/renderer_host/pepper/pepper_file_io_host.cc void PepperFileIOHost::DidCloseFile(base::File::Error error) { File 412 content/browser/renderer_host/pepper/pepper_file_io_host.cc base::File::Error error_code) { File 421 content/browser/renderer_host/pepper/pepper_file_io_host.cc base::File::Error error_code, File 36 content/browser/renderer_host/pepper/pepper_file_io_host.h typedef base::Callback<void (base::File::Error)> File 80 content/browser/renderer_host/pepper/pepper_file_io_host.h base::File::Error error_code); File 83 content/browser/renderer_host/pepper/pepper_file_io_host.h base::File::Error error_code, File 93 content/browser/renderer_host/pepper/pepper_file_io_host.h base::File::Error result, File 108 content/browser/renderer_host/pepper/pepper_file_io_host.h void DidCloseFile(base::File::Error error); File 223 content/browser/renderer_host/pepper/pepper_file_system_browser_host.cc reply_context, GURL(), std::string(), base::File::FILE_ERROR_FAILED); File 242 content/browser/renderer_host/pepper/pepper_file_system_browser_host.cc base::File::Error error) { File 322 content/browser/renderer_host/pepper/pepper_file_system_browser_host.cc base::File::Error error) { File 93 content/browser/renderer_host/pepper/pepper_file_system_browser_host.h base::File::Error error); File 106 content/browser/renderer_host/pepper/pepper_file_system_browser_host.h base::File::Error error); File 118 content/browser/renderer_host/pepper/pepper_flash_file_message_filter.cc base::File::FILE_ERROR_ACCESS_DENIED); File 124 content/browser/renderer_host/pepper/pepper_flash_file_message_filter.cc return base::File::FILE_ERROR_FAILED; File 127 content/browser/renderer_host/pepper/pepper_flash_file_message_filter.cc base::File file(full_path, platform_file_flags); File 134 content/browser/renderer_host/pepper/pepper_flash_file_message_filter.cc base::File::Info info; File 138 content/browser/renderer_host/pepper/pepper_flash_file_message_filter.cc base::File::FILE_ERROR_ACCESS_DENIED); File 161 content/browser/renderer_host/pepper/pepper_flash_file_message_filter.cc base::File::FILE_ERROR_ACCESS_DENIED); File 166 content/browser/renderer_host/pepper/pepper_flash_file_message_filter.cc base::File::FILE_OK : base::File::FILE_ERROR_ACCESS_DENIED); File 177 content/browser/renderer_host/pepper/pepper_flash_file_message_filter.cc base::File::FILE_ERROR_ACCESS_DENIED); File 182 content/browser/renderer_host/pepper/pepper_flash_file_message_filter.cc base::File::FILE_OK : base::File::FILE_ERROR_ACCESS_DENIED); File 191 content/browser/renderer_host/pepper/pepper_flash_file_message_filter.cc base::File::FILE_ERROR_ACCESS_DENIED); File 196 content/browser/renderer_host/pepper/pepper_flash_file_message_filter.cc base::File::FILE_OK : base::File::FILE_ERROR_ACCESS_DENIED); File 206 content/browser/renderer_host/pepper/pepper_flash_file_message_filter.cc base::File::FILE_ERROR_ACCESS_DENIED); File 209 content/browser/renderer_host/pepper/pepper_flash_file_message_filter.cc base::File::Info info; File 213 content/browser/renderer_host/pepper/pepper_flash_file_message_filter.cc base::File::FILE_OK : base::File::FILE_ERROR_ACCESS_DENIED); File 223 content/browser/renderer_host/pepper/pepper_flash_file_message_filter.cc base::File::FILE_ERROR_ACCESS_DENIED); File 255 content/browser/renderer_host/pepper/pepper_flash_file_message_filter.cc base::File::FILE_ERROR_ACCESS_DENIED); File 261 content/browser/renderer_host/pepper/pepper_flash_file_message_filter.cc base::File::FILE_ERROR_FAILED); File 264 content/browser/renderer_host/pepper/pepper_flash_file_message_filter.cc base::File file(file_path, File 265 content/browser/renderer_host/pepper/pepper_flash_file_message_filter.cc base::File::FLAG_CREATE_ALWAYS | base::File::FLAG_READ | File 266 content/browser/renderer_host/pepper/pepper_flash_file_message_filter.cc base::File::FLAG_WRITE | base::File::FLAG_TEMPORARY | File 267 content/browser/renderer_host/pepper/pepper_flash_file_message_filter.cc base::File::FLAG_DELETE_ON_CLOSE); File 88 content/browser/renderer_host/pepper/pepper_internal_file_ref_backend.cc base::File::Error error) { File 181 content/browser/renderer_host/pepper/pepper_internal_file_ref_backend.cc base::File::Error error, File 182 content/browser/renderer_host/pepper/pepper_internal_file_ref_backend.cc const base::File::Info& file_info) { File 186 content/browser/renderer_host/pepper/pepper_internal_file_ref_backend.cc if (error == base::File::FILE_OK) File 214 content/browser/renderer_host/pepper/pepper_internal_file_ref_backend.cc base::File::Error error, File 226 content/browser/renderer_host/pepper/pepper_internal_file_ref_backend.cc if (error == base::File::FILE_OK && fs_host_.get()) { File 59 content/browser/renderer_host/pepper/pepper_internal_file_ref_backend.h base::File::Error error); File 64 content/browser/renderer_host/pepper/pepper_internal_file_ref_backend.h base::File::Error error, File 65 content/browser/renderer_host/pepper/pepper_internal_file_ref_backend.h const base::File::Info& file_info); File 69 content/browser/renderer_host/pepper/pepper_internal_file_ref_backend.h base::File::Error error, File 56 content/browser/renderer_host/pepper/quota_reservation.cc base::File::Error error = File 59 content/browser/renderer_host/pepper/quota_reservation.cc if (error != base::File::FILE_OK) { File 123 content/browser/renderer_host/pepper/quota_reservation.cc base::File::Error error) { File 83 content/browser/renderer_host/pepper/quota_reservation.h base::File::Error error); File 46 content/browser/renderer_host/pepper/quota_reservation_unittest.cc base::Bind(base::IgnoreResult(callback), base::File::FILE_OK, delta)); File 107 content/browser/renderer_host/pepper/quota_reservation_unittest.cc base::File file(MakeFilePath(file_name), File 108 content/browser/renderer_host/pepper/quota_reservation_unittest.cc base::File::FLAG_OPEN_ALWAYS | base::File::FLAG_WRITE); File 214 content/browser/renderer_host/render_process_host_impl.cc base::File dump_file(file_path, File 215 content/browser/renderer_host/render_process_host_impl.cc base::File::FLAG_OPEN_ALWAYS | base::File::FLAG_APPEND); File 286 content/browser/web_contents/web_contents_view_aura.cc base::File(), File 222 content/browser/web_contents/web_drag_source_gtk.cc base::File file(CreateFileForDrop(&file_path)); File 12 content/child/blink_glue.cc void FileInfoToWebFileInfo(const base::File::Info& file_info, File 18 content/child/blink_glue.h CONTENT_EXPORT void FileInfoToWebFileInfo(const base::File::Info& file_info, File 80 content/child/fileapi/file_system_dispatcher.cc status_callback_.Run(base::File::FILE_OK); File 83 content/child/fileapi/file_system_dispatcher.cc void DidFail(base::File::Error error_code) { File 88 content/child/fileapi/file_system_dispatcher.cc const base::File::Info& file_info) { File 93 content/child/fileapi/file_system_dispatcher.cc const base::File::Info& file_info, File 153 content/child/fileapi/file_system_dispatcher.cc dispatcher->DidFail(base::File::FILE_ERROR_ABORT); File 370 content/child/fileapi/file_system_dispatcher.cc int request_id, const base::File::Info& file_info) { File 378 content/child/fileapi/file_system_dispatcher.cc int request_id, const base::File::Info& file_info, File 398 content/child/fileapi/file_system_dispatcher.cc int request_id, base::File::Error error_code) { File 38 content/child/fileapi/file_system_dispatcher.h typedef base::Callback<void(base::File::Error error)> StatusCallback; File 40 content/child/fileapi/file_system_dispatcher.h const base::File::Info& file_info)> MetadataCallback; File 42 content/child/fileapi/file_system_dispatcher.h const base::File::Info& file_info, File 141 content/child/fileapi/file_system_dispatcher.h const base::File::Info& file_info); File 143 content/child/fileapi/file_system_dispatcher.h const base::File::Info& file_info, File 148 content/child/fileapi/file_system_dispatcher.h void OnDidFail(int request_id, base::File::Error error_code); File 206 content/child/fileapi/webfilesystem_impl.cc base::File::Error error) { File 207 content/child/fileapi/webfilesystem_impl.cc if (error == base::File::FILE_OK) { File 223 content/child/fileapi/webfilesystem_impl.cc const base::File::Info& file_info) { File 255 content/child/fileapi/webfilesystem_impl.cc const base::File::Info& file_info) { File 282 content/child/fileapi/webfilesystem_impl.cc const base::File::Info& file_info) { File 292 content/child/fileapi/webfilesystem_impl.cc const base::File::Info& file_info, File 318 content/child/fileapi/webfilesystem_impl.cc const base::File::Info& file_info, File 66 content/child/fileapi/webfilewriter_base.cc void WebFileWriterBase::DidFinish(base::File::Error error_code) { File 67 content/child/fileapi/webfilewriter_base.cc if (error_code == base::File::FILE_OK) File 120 content/child/fileapi/webfilewriter_base.cc void WebFileWriterBase::DidFail(base::File::Error error_code) { File 33 content/child/fileapi/webfilewriter_base.h void DidFinish(base::File::Error error_code); File 37 content/child/fileapi/webfilewriter_base.h void DidFail(base::File::Error error_code); File 76 content/child/fileapi/webfilewriter_base_unittest.cc DidFail(base::File::FILE_ERROR_NOT_FOUND); File 83 content/child/fileapi/webfilewriter_base_unittest.cc DidFail(base::File::FILE_ERROR_NOT_FOUND); // truncate completion File 101 content/child/fileapi/webfilewriter_base_unittest.cc DidFail(base::File::FILE_ERROR_NOT_FOUND); File 111 content/child/fileapi/webfilewriter_base_unittest.cc DidFail(base::File::FILE_ERROR_FAILED); // write completion File 119 content/child/fileapi/webfilewriter_base_unittest.cc DidFail(base::File::FILE_ERROR_FAILED); // cancel completion File 94 content/child/fileapi/webfilewriter_impl.cc void DidFinish(base::File::Error status) { File 478 content/child/npapi/plugin_host.cc base::File::Info post_file_info; File 34 content/child/webfileutilities_impl.cc base::File::Info file_info; File 36 content/child/webfileutilities_impl.cc reinterpret_cast<base::File::Info*>(&file_info))) File 18 content/common/file_utilities_messages.h base::File::Info /* result */, File 19 content/common/file_utilities_messages.h base::File::Error /* status */) File 52 content/common/fileapi/file_system_messages.h base::File::Info) File 55 content/common/fileapi/file_system_messages.h base::File::Info, File 72 content/common/fileapi/file_system_messages.h base::File::Error /* error_code */) File 400 content/common/gpu/media/video_decode_accelerator_unittest.cc void OutputFrameDeliveryTimes(base::File* output); File 725 content/common/gpu/media/video_decode_accelerator_unittest.cc void GLRenderingVDAClient::OutputFrameDeliveryTimes(base::File* output) { File 1144 content/common/gpu/media/video_decode_accelerator_unittest.cc base::File file(base::FilePath(log_path), File 1145 content/common/gpu/media/video_decode_accelerator_unittest.cc base::File::FLAG_CREATE_ALWAYS | base::File::FLAG_WRITE); File 1384 content/common/gpu/media/video_decode_accelerator_unittest.cc base::File output_file( File 1386 content/common/gpu/media/video_decode_accelerator_unittest.cc base::File::FLAG_CREATE_ALWAYS | base::File::FLAG_WRITE); File 544 content/common/plugin_list_posix.cc base::File::Info info; File 20 content/public/android/java/src/org/chromium/content/browser/MediaResourceGetter.java import java.io.File; File 98 content/public/android/java/src/org/chromium/content/browser/MediaResourceGetter.java File file = new File(uri.getPath()); File 19 content/public/android/java/src/org/chromium/content/browser/ResourceExtractor.java import java.io.File; File 76 content/public/android/java/src/org/chromium/content/browser/ResourceExtractor.java if (!new File(mOutputDir, file).exists()) { File 115 content/public/android/java/src/org/chromium/content/browser/ResourceExtractor.java File output = new File(isICUData ? mAppDataDir : mOutputDir, file); File 173 content/public/android/java/src/org/chromium/content/browser/ResourceExtractor.java new File(mOutputDir, timestampFile).createNewFile(); File 212 content/public/android/java/src/org/chromium/content/browser/ResourceExtractor.java public boolean accept(File dir, String name) { File 234 content/public/android/java/src/org/chromium/content/browser/ResourceExtractor.java private final File mAppDataDir; File 235 content/public/android/java/src/org/chromium/content/browser/ResourceExtractor.java private final File mOutputDir; File 316 content/public/android/java/src/org/chromium/content/browser/ResourceExtractor.java private File getAppDataDir() { File 317 content/public/android/java/src/org/chromium/content/browser/ResourceExtractor.java return new File(PathUtils.getDataDirectory(mContext)); File 320 content/public/android/java/src/org/chromium/content/browser/ResourceExtractor.java private File getOutputDir() { File 321 content/public/android/java/src/org/chromium/content/browser/ResourceExtractor.java return new File(getAppDataDir(), "paks"); File 332 content/public/android/java/src/org/chromium/content/browser/ResourceExtractor.java File icudata = new File(getAppDataDir(), ICU_DATA_FILENAME); File 336 content/public/android/java/src/org/chromium/content/browser/ResourceExtractor.java File dir = getOutputDir(); File 338 content/public/android/java/src/org/chromium/content/browser/ResourceExtractor.java File[] files = dir.listFiles(); File 339 content/public/android/java/src/org/chromium/content/browser/ResourceExtractor.java for (File file : files) { File 21 content/public/android/java/src/org/chromium/content/browser/TracingControllerAndroid.java import java.io.File; File 137 content/public/android/java/src/org/chromium/content/browser/TracingControllerAndroid.java File dir = Environment.getExternalStoragePublicDirectory( File 139 content/public/android/java/src/org/chromium/content/browser/TracingControllerAndroid.java File file = new File( File 17 content/public/android/javatests/src/org/chromium/content/browser/ImportantFileWriterAndroidTest.java import java.io.File; File 45 content/public/android/javatests/src/org/chromium/content/browser/ImportantFileWriterAndroidTest.java private void checkFile(File testFile, byte[] data) { File 71 content/public/android/javatests/src/org/chromium/content/browser/ImportantFileWriterAndroidTest.java File dir = getInstrumentation().getTargetContext().getFilesDir(); File 72 content/public/android/javatests/src/org/chromium/content/browser/ImportantFileWriterAndroidTest.java File testFile = new File(dir, "ImportantFileTest"); File 17 content/public/android/javatests/src/org/chromium/content/browser/TracingControllerAndroidTest.java import java.io.File; File 41 content/public/android/javatests/src/org/chromium/content/browser/TracingControllerAndroidTest.java File file = new File(tracingController.getOutputPath()); File 32 content/public/browser/download_save_info.h base::File file; File 101 content/public/browser/download_url_parameters.h void set_file(base::File file) { File 140 content/public/browser/download_url_parameters.h base::File GetFile() { return save_info_.file.Pass(); } File 25 content/public/test/async_file_test_helper.cc base::File::Error* result_out, File 26 content/public/test/async_file_test_helper.cc base::File::Error result) { File 31 content/public/test/async_file_test_helper.cc base::Callback<void(base::File::Error)> File 33 content/public/test/async_file_test_helper.cc base::File::Error* result) { File 38 content/public/test/async_file_test_helper.cc base::File::Error* result_out, File 39 content/public/test/async_file_test_helper.cc base::File::Info* file_info_out, File 40 content/public/test/async_file_test_helper.cc base::File::Error result, File 41 content/public/test/async_file_test_helper.cc const base::File::Info& file_info) { File 50 content/public/test/async_file_test_helper.cc base::File::Error* result_out, File 52 content/public/test/async_file_test_helper.cc base::File::Error result, File 53 content/public/test/async_file_test_helper.cc const base::File::Info& file_info, File 64 content/public/test/async_file_test_helper.cc base::File::Error* result_out, File 66 content/public/test/async_file_test_helper.cc base::File::Error result, File 71 content/public/test/async_file_test_helper.cc if (result != base::File::FILE_OK || !has_more) File 93 content/public/test/async_file_test_helper.cc base::File::Error AsyncFileTestHelper::Copy( File 100 content/public/test/async_file_test_helper.cc base::File::Error AsyncFileTestHelper::CopyWithProgress( File 105 content/public/test/async_file_test_helper.cc base::File::Error result = base::File::FILE_ERROR_FAILED; File 114 content/public/test/async_file_test_helper.cc base::File::Error AsyncFileTestHelper::Move( File 118 content/public/test/async_file_test_helper.cc base::File::Error result = base::File::FILE_ERROR_FAILED; File 127 content/public/test/async_file_test_helper.cc base::File::Error AsyncFileTestHelper::Remove( File 131 content/public/test/async_file_test_helper.cc base::File::Error result = base::File::FILE_ERROR_FAILED; File 139 content/public/test/async_file_test_helper.cc base::File::Error AsyncFileTestHelper::ReadDirectory( File 143 content/public/test/async_file_test_helper.cc base::File::Error result = base::File::FILE_ERROR_FAILED; File 153 content/public/test/async_file_test_helper.cc base::File::Error AsyncFileTestHelper::CreateDirectory( File 156 content/public/test/async_file_test_helper.cc base::File::Error result = base::File::FILE_ERROR_FAILED; File 167 content/public/test/async_file_test_helper.cc base::File::Error AsyncFileTestHelper::CreateFile( File 170 content/public/test/async_file_test_helper.cc base::File::Error result = base::File::FILE_ERROR_FAILED; File 179 content/public/test/async_file_test_helper.cc base::File::Error AsyncFileTestHelper::CreateFileWithData( File 186 content/public/test/async_file_test_helper.cc return base::File::FILE_ERROR_FAILED; File 189 content/public/test/async_file_test_helper.cc return base::File::FILE_ERROR_FAILED; File 190 content/public/test/async_file_test_helper.cc base::File::Error result = base::File::FILE_ERROR_FAILED; File 198 content/public/test/async_file_test_helper.cc base::File::Error AsyncFileTestHelper::TruncateFile( File 203 content/public/test/async_file_test_helper.cc base::File::Error result = base::File::FILE_ERROR_FAILED; File 210 content/public/test/async_file_test_helper.cc base::File::Error AsyncFileTestHelper::GetMetadata( File 213 content/public/test/async_file_test_helper.cc base::File::Info* file_info) { File 214 content/public/test/async_file_test_helper.cc base::File::Error result = base::File::FILE_ERROR_FAILED; File 223 content/public/test/async_file_test_helper.cc base::File::Error AsyncFileTestHelper::GetPlatformPath( File 227 content/public/test/async_file_test_helper.cc base::File::Error result = base::File::FILE_ERROR_FAILED; File 240 content/public/test/async_file_test_helper.cc base::File::Info file_info; File 241 content/public/test/async_file_test_helper.cc base::File::Error result = GetMetadata(context, url, &file_info); File 242 content/public/test/async_file_test_helper.cc if (result != base::File::FILE_OK || file_info.is_directory) File 250 content/public/test/async_file_test_helper.cc base::File::Info file_info; File 251 content/public/test/async_file_test_helper.cc base::File::Error result = GetMetadata(context, url, &file_info); File 252 content/public/test/async_file_test_helper.cc return (result == base::File::FILE_OK) && file_info.is_directory; File 34 content/public/test/async_file_test_helper.h static base::File::Error Copy(fileapi::FileSystemContext* context, File 39 content/public/test/async_file_test_helper.h static base::File::Error CopyWithProgress( File 46 content/public/test/async_file_test_helper.h static base::File::Error Move(fileapi::FileSystemContext* context, File 51 content/public/test/async_file_test_helper.h static base::File::Error Remove(fileapi::FileSystemContext* context, File 56 content/public/test/async_file_test_helper.h static base::File::Error ReadDirectory(fileapi::FileSystemContext* context, File 61 content/public/test/async_file_test_helper.h static base::File::Error CreateDirectory(fileapi::FileSystemContext* context, File 65 content/public/test/async_file_test_helper.h static base::File::Error CreateFile(fileapi::FileSystemContext* context, File 69 content/public/test/async_file_test_helper.h static base::File::Error CreateFileWithData( File 76 content/public/test/async_file_test_helper.h static base::File::Error TruncateFile(fileapi::FileSystemContext* context, File 81 content/public/test/async_file_test_helper.h static base::File::Error GetMetadata(fileapi::FileSystemContext* context, File 83 content/public/test/async_file_test_helper.h base::File::Info* file_info); File 86 content/public/test/async_file_test_helper.h static base::File::Error GetPlatformPath(fileapi::FileSystemContext* context, File 43 content/public/test/test_file_system_backend.cc virtual base::File::Error GetLocalFilePath( File 48 content/public/test/test_file_system_backend.cc return base::File::FILE_OK; File 70 content/public/test/test_file_system_backend.cc virtual base::File::Error DeleteOriginDataOnFileTaskRunner( File 76 content/public/test/test_file_system_backend.cc return base::File::FILE_OK; File 186 content/public/test/test_file_system_backend.cc base::File::FILE_OK); File 196 content/public/test/test_file_system_backend.cc FileSystemType type, base::File::Error* error_code) { File 198 content/public/test/test_file_system_backend.cc *error_code = base::File::FILE_OK; File 201 content/public/test/test_file_system_backend.cc *error_code = base::File::FILE_ERROR_SECURITY; File 216 content/public/test/test_file_system_backend.cc base::File::Error* error_code) const { File 47 content/public/test/test_file_system_backend.h base::File::Error* error_code) OVERRIDE; File 51 content/public/test/test_file_system_backend.h base::File::Error* error_code) const OVERRIDE; File 84 content/renderer/pepper/pepper_file_system_host.cc void PepperFileSystemHost::DidFailOpenFileSystem(base::File::Error error) { File 58 content/renderer/pepper/pepper_file_system_host.h void DidFailOpenFileSystem(base::File::Error error); File 528 content/renderer/renderer_webkitplatformsupport_impl.cc base::File::Info file_info; File 529 content/renderer/renderer_webkitplatformsupport_impl.cc base::File::Error status; File 532 content/renderer/renderer_webkitplatformsupport_impl.cc status != base::File::FILE_OK) { File 257 content/shell/app/shell_main_delegate.cc ui::ResourceBundle::InitSharedInstanceWithPakFile(base::File(pak_fd), File 260 content/shell/app/shell_main_delegate.cc base::File(pak_fd), ui::SCALE_FACTOR_100P); File 296 content/shell/browser/shell_content_browser_client.cc base::File f(pak_file, flags); File 48 content/test/fileapi_test_file_set.cc base::File file(path, File 49 content/test/fileapi_test_file_set.cc base::File::FLAG_CREATE_ALWAYS | base::File::FLAG_WRITE); File 64 content/worker/worker_webkitplatformsupport_impl.cc base::File::Info file_info; File 65 content/worker/worker_webkitplatformsupport_impl.cc base::File::Error status; File 69 content/worker/worker_webkitplatformsupport_impl.cc status != base::File::FILE_OK) { File 19 courgette/memory_allocator.cc base::File CreateTempFile() { File 22 courgette/memory_allocator.cc return base::File(); File 24 courgette/memory_allocator.cc int flags = base::File::FLAG_OPEN_ALWAYS | base::File::FLAG_READ | File 25 courgette/memory_allocator.cc base::File::FLAG_WRITE | base::File::FLAG_DELETE_ON_CLOSE | File 26 courgette/memory_allocator.cc base::File::FLAG_TEMPORARY; File 27 courgette/memory_allocator.cc return base::File(path, flags); File 109 courgette/memory_allocator.h base::File file_; File 61 device/hid/hid_connection_linux.cc int flags = base::File::FLAG_OPEN | File 62 device/hid/hid_connection_linux.cc base::File::FLAG_READ | File 63 device/hid/hid_connection_linux.cc base::File::FLAG_WRITE; File 65 device/hid/hid_connection_linux.cc base::File device_file(base::FilePath(dev_node), flags); File 47 device/hid/hid_connection_linux.h base::File device_file_; File 59 extensions/common/user_script.cc UserScript::File::File(const base::FilePath& extension_root, File 67 extensions/common/user_script.cc UserScript::File::File() {} File 69 extensions/common/user_script.cc UserScript::File::~File() {} File 111 extensions/common/user_script.cc void UserScript::File::Pickle(::Pickle* pickle) const { File 117 extensions/common/user_script.cc void UserScript::File::Unpickle(const ::Pickle& pickle, PickleIterator* iter) { File 230 extensions/common/user_script.cc File file; File 52 extensions/common/user_script.h class File { File 54 extensions/common/user_script.h File(const base::FilePath& extension_root, File 57 extensions/common/user_script.h File(); File 58 extensions/common/user_script.h ~File(); File 103 extensions/common/user_script.h typedef std::vector<File> FileList; File 172 extensions/common/user_script_unittest.cc script1.js_scripts().push_back(UserScript::File( File 176 extensions/common/user_script_unittest.cc script1.css_scripts().push_back(UserScript::File( File 180 extensions/common/user_script_unittest.cc script1.css_scripts().push_back(UserScript::File( File 558 ipc/ipc_message_utils.cc void ParamTraits<base::File::Info>::Write(Message* m, File 567 ipc/ipc_message_utils.cc bool ParamTraits<base::File::Info>::Read(const Message* m, File 587 ipc/ipc_message_utils.cc void ParamTraits<base::File::Info>::Log(const param_type& p, File 478 ipc/ipc_message_utils.h struct IPC_EXPORT ParamTraits<base::File::Info> { File 479 ipc/ipc_message_utils.h typedef base::File::Info param_type; File 486 ipc/ipc_message_utils.h struct SimilarTypeTraits<base::File::Error> { File 48 ipc/ipc_platform_file.cc PlatformFileForTransit TakeFileHandleForProcess(base::File file, File 43 ipc/ipc_platform_file.h inline base::File PlatformFileForTransitToFile( File 46 ipc/ipc_platform_file.h return base::File(transit); File 48 ipc/ipc_platform_file.h return base::File(transit.fd); File 61 ipc/ipc_platform_file.h base::File file, File 21 media/base/android/java/src/org/chromium/media/MediaPlayerBridge.java import java.io.File; File 180 media/base/android/java/src/org/chromium/media/MediaPlayerBridge.java private File mTempFile; File 191 media/base/android/java/src/org/chromium/media/MediaPlayerBridge.java mTempFile = File.createTempFile("decoded", "mediadata"); File 18 media/base/android/java/src/org/chromium/media/WebAudioMediaCodecBridge.java import java.io.File; File 29 media/base/android/java/src/org/chromium/media/WebAudioMediaCodecBridge.java File outputDirectory = ctx.getCacheDir(); File 30 media/base/android/java/src/org/chromium/media/WebAudioMediaCodecBridge.java File outputFile = File.createTempFile("webaudio", ".dat", outputDirectory); File 24 media/base/media_file_checker.cc MediaFileChecker::MediaFileChecker(base::File file) : file_(file.Pass()) { File 23 media/base/media_file_checker.h explicit MediaFileChecker(base::File file); File 32 media/base/media_file_checker.h base::File file_; File 15 media/base/media_file_checker_unittest.cc base::File file(GetTestDataFilePath(filename), File 16 media/base/media_file_checker_unittest.cc base::File::FLAG_OPEN | base::File::FLAG_READ); File 18 media/filters/file_data_source.cc FileDataSource::FileDataSource(base::File file) File 22 media/filters/file_data_source.h explicit FileDataSource(base::File file); File 114 media/video/capture/file_video_capture_device.cc base::File* file, File 128 media/video/capture/file_video_capture_device.cc base::File OpenFileForRead(const base::FilePath& file_path) { File 129 media/video/capture/file_video_capture_device.cc base::File file(file_path, base::File::FLAG_OPEN | base::File::FLAG_READ); File 159 media/video/capture/file_video_capture_device.cc base::File file = OpenFileForRead(GetFilePathFromCommandLine()); File 67 media/video/capture/file_video_capture_device.h base::File file_; File 37 native_client_sdk/src/tests/nacl_io_test/fuse_fs_test.cc typedef std::vector<File> Files; File 53 native_client_sdk/src/tests/nacl_io_test/fuse_fs_test.cc File* FindFile(const char* path) { File 73 native_client_sdk/src/tests/nacl_io_test/fuse_fs_test.cc File* file = FindFile(path); File 102 native_client_sdk/src/tests/nacl_io_test/fuse_fs_test.cc File* file = FindFile(path); File 107 native_client_sdk/src/tests/nacl_io_test/fuse_fs_test.cc g_files.push_back(File()); File 127 native_client_sdk/src/tests/nacl_io_test/fuse_fs_test.cc File* file = FindFile(path); File 148 native_client_sdk/src/tests/nacl_io_test/fuse_fs_test.cc File* file = FindFile(path); File 208 native_client_sdk/src/tests/nacl_io_test/fuse_fs_test.cc File hello; File 68 native_client_sdk/src/tests/nacl_io_test/mem_fs_node_test.cc TEST(MemFsNodeTest, File) { File 112 net/base/directory_lister_unittest.cc base::File file(file_path, File 113 net/base/directory_lister_unittest.cc base::File::FLAG_CREATE | base::File::FLAG_WRITE); File 41 net/base/file_stream.cc context_(new Context(base::File(file), flags, bound_net_log_, File 48 net/base/file_stream.cc context_(new Context(base::File(file), flags, bound_net_log_, File 53 net/base/file_stream.cc FileStream::FileStream(base::File file, File 61 net/base/file_stream.cc FileStream::FileStream(base::File file, net::NetLog* net_log) File 86 net/base/file_stream.cc DCHECK(open_flags & base::File::FLAG_ASYNC); File 292 net/base/file_stream.cc const base::File& FileStream::GetFileForTesting() const { File 61 net/base/file_stream.h FileStream(base::File file, File 64 net/base/file_stream.h FileStream(base::File file, net::NetLog* net_log); File 252 net/base/file_stream.h const base::File& GetFileForTesting() const; File 49 net/base/file_stream_context.cc FileStream::Context::OpenResult::OpenResult(base::File file, File 118 net/base/file_stream_context.cc if (open_flags & base::File::FLAG_ASYNC) File 224 net/base/file_stream_context.cc open_flags &= ~base::File::FLAG_ASYNC; File 226 net/base/file_stream_context.cc base::File file; File 230 net/base/file_stream_context.cc DCHECK_EQ(open_flags & ~base::File::FLAG_ASYNC, File 231 net/base/file_stream_context.cc base::File::FLAG_OPEN | base::File::FLAG_READ); File 241 net/base/file_stream_context.cc open_flags |= base::File::FLAG_SHARE_DELETE; File 247 net/base/file_stream_context.cc return OpenResult(base::File(), IOResult::FromOSError(GetLastErrno())); File 65 net/base/file_stream_context.h Context(base::File file, File 71 net/base/file_stream_context.h Context(base::File file, File 100 net/base/file_stream_context.h const base::File& file() const { return file_; } File 148 net/base/file_stream_context.h OpenResult(base::File file, IOResult error_code); File 153 net/base/file_stream_context.h base::File file; File 229 net/base/file_stream_context.h base::File file_; File 57 net/base/file_stream_context_posix.cc FileStream::Context::Context(base::File file, File 69 net/base/file_stream_context_posix.cc FileStream::Context::Context(base::File file, File 77 net/base/file_stream_context_posix.cc async_((flags & base::File::FLAG_ASYNC) == base::File::FLAG_ASYNC), File 54 net/base/file_stream_context_win.cc FileStream::Context::Context(base::File file, File 72 net/base/file_stream_context_win.cc FileStream::Context::Context(base::File file, File 81 net/base/file_stream_context_win.cc async_((flags & base::File::FLAG_ASYNC) == base::File::FLAG_ASYNC), File 87 net/base/file_stream_context_win.cc if (file_.IsValid() && (file_.async() || flags & base::File::FLAG_ASYNC)) File 72 net/base/file_stream_unittest.cc base::File::FLAG_OPEN | base::File::FLAG_READ); File 84 net/base/file_stream_unittest.cc int flags = base::File::FLAG_OPEN | File 85 net/base/file_stream_unittest.cc base::File::FLAG_READ | File 86 net/base/file_stream_unittest.cc base::File::FLAG_ASYNC; File 102 net/base/file_stream_unittest.cc int flags = base::File::FLAG_OPEN | base::File::FLAG_READ | File 103 net/base/file_stream_unittest.cc base::File::FLAG_ASYNC; File 122 net/base/file_stream_unittest.cc int flags = base::File::FLAG_OPEN_ALWAYS | base::File::FLAG_READ; File 123 net/base/file_stream_unittest.cc base::File file(temp_file_path(), flags); File 139 net/base/file_stream_unittest.cc flags = base::File::FLAG_OPEN_ALWAYS | base::File::FLAG_WRITE; File 179 net/base/file_stream_unittest.cc int flags = base::File::FLAG_OPEN | base::File::FLAG_READ; File 207 net/base/file_stream_unittest.cc int flags = base::File::FLAG_OPEN | base::File::FLAG_READ | File 208 net/base/file_stream_unittest.cc base::File::FLAG_ASYNC; File 241 net/base/file_stream_unittest.cc int flags = base::File::FLAG_OPEN | base::File::FLAG_READ | File 242 net/base/file_stream_unittest.cc base::File::FLAG_ASYNC; File 269 net/base/file_stream_unittest.cc int flags = base::File::FLAG_OPEN | base::File::FLAG_READ; File 302 net/base/file_stream_unittest.cc int flags = base::File::FLAG_OPEN | base::File::FLAG_READ | File 303 net/base/file_stream_unittest.cc base::File::FLAG_ASYNC; File 339 net/base/file_stream_unittest.cc int flags = base::File::FLAG_OPEN | base::File::FLAG_READ; File 361 net/base/file_stream_unittest.cc int flags = base::File::FLAG_OPEN | base::File::FLAG_ASYNC | File 362 net/base/file_stream_unittest.cc base::File::FLAG_READ; File 397 net/base/file_stream_unittest.cc int flags = base::File::FLAG_CREATE_ALWAYS | base::File::FLAG_WRITE; File 415 net/base/file_stream_unittest.cc int flags = base::File::FLAG_CREATE_ALWAYS | base::File::FLAG_WRITE | File 416 net/base/file_stream_unittest.cc base::File::FLAG_ASYNC; File 449 net/base/file_stream_unittest.cc int flags = base::File::FLAG_CREATE_ALWAYS | base::File::FLAG_WRITE | File 450 net/base/file_stream_unittest.cc base::File::FLAG_ASYNC; File 477 net/base/file_stream_unittest.cc int flags = base::File::FLAG_OPEN | base::File::FLAG_WRITE; File 502 net/base/file_stream_unittest.cc int flags = base::File::FLAG_OPEN | base::File::FLAG_WRITE | File 503 net/base/file_stream_unittest.cc base::File::FLAG_ASYNC; File 542 net/base/file_stream_unittest.cc int flags = base::File::FLAG_OPEN | base::File::FLAG_READ | File 543 net/base/file_stream_unittest.cc base::File::FLAG_WRITE; File 579 net/base/file_stream_unittest.cc int flags = base::File::FLAG_OPEN | base::File::FLAG_READ | File 580 net/base/file_stream_unittest.cc base::File::FLAG_WRITE; File 625 net/base/file_stream_unittest.cc int flags = base::File::FLAG_OPEN | base::File::FLAG_READ | File 626 net/base/file_stream_unittest.cc base::File::FLAG_WRITE | base::File::FLAG_ASYNC; File 681 net/base/file_stream_unittest.cc int flags = base::File::FLAG_OPEN | base::File::FLAG_READ | File 682 net/base/file_stream_unittest.cc base::File::FLAG_WRITE | base::File::FLAG_ASYNC; File 844 net/base/file_stream_unittest.cc int flags = base::File::FLAG_OPEN | base::File::FLAG_READ | File 845 net/base/file_stream_unittest.cc base::File::FLAG_WRITE | base::File::FLAG_ASYNC; File 950 net/base/file_stream_unittest.cc int flags = base::File::FLAG_OPEN | base::File::FLAG_READ | File 951 net/base/file_stream_unittest.cc base::File::FLAG_WRITE | base::File::FLAG_ASYNC; File 981 net/base/file_stream_unittest.cc int flags = base::File::FLAG_CREATE_ALWAYS | base::File::FLAG_WRITE; File 1010 net/base/file_stream_unittest.cc int flags = base::File::FLAG_OPEN | base::File::FLAG_WRITE | File 1011 net/base/file_stream_unittest.cc base::File::FLAG_ASYNC; File 1027 net/base/file_stream_unittest.cc uint32 flags = base::File::FLAG_OPEN | base::File::FLAG_READ | File 1028 net/base/file_stream_unittest.cc base::File::FLAG_ASYNC; File 1030 net/base/file_stream_unittest.cc base::File file(temp_file_path(), flags); File 1052 net/base/file_stream_unittest.cc uint32 flags = base::File::FLAG_OPEN | base::File::FLAG_WRITE | File 1053 net/base/file_stream_unittest.cc base::File::FLAG_ASYNC; File 1055 net/base/file_stream_unittest.cc base::File file(temp_file_path(), flags); File 1092 net/base/file_stream_unittest.cc int flags = base::File::FLAG_OPEN | base::File::FLAG_READ | File 1093 net/base/file_stream_unittest.cc base::File::FLAG_ASYNC; File 22 net/base/mock_file_stream.cc MockFileStream::MockFileStream(base::File file, net::NetLog* net_log) File 31 net/base/mock_file_stream.cc base::File file, File 26 net/base/mock_file_stream.h MockFileStream(base::File file, net::NetLog* net_log); File 27 net/base/mock_file_stream.h MockFileStream(base::File file, net::NetLog* net_log, File 47 net/base/net_errors.cc Error FileErrorToNetError(base::File::Error file_error) { File 49 net/base/net_errors.cc case base::File::FILE_OK: File 51 net/base/net_errors.cc case base::File::FILE_ERROR_ACCESS_DENIED: File 53 net/base/net_errors.cc case base::File::FILE_ERROR_INVALID_URL: File 55 net/base/net_errors.cc case base::File::FILE_ERROR_NOT_FOUND: File 58 net/base/net_errors.h NET_EXPORT Error FileErrorToNetError(base::File::Error file_error); File 172 net/base/upload_data_stream_unittest.cc TEST_F(UploadDataStreamTest, File) { File 557 net/base/upload_data_stream_unittest.cc base::File::Info file_info; File 56 net/base/upload_file_element_reader.cc base::File::FLAG_OPEN | base::File::FLAG_READ | File 57 net/base/upload_file_element_reader.cc base::File::FLAG_ASYNC, File 141 net/base/upload_file_element_reader.cc base::File::Info* file_info = new base::File::Info; File 157 net/base/upload_file_element_reader.cc base::File::Info* file_info, File 69 net/base/upload_file_element_reader.h base::File::Info* file_info, File 207 net/base/upload_file_element_reader_unittest.cc base::File::Info info; File 3065 net/disk_cache/backend_unittest.cc scoped_refptr<disk_cache::File> file(new disk_cache::File(false)); File 312 net/disk_cache/blockfile/backend_impl.cc File::WaitForPendingIO(&num_pending_io_); File 315 net/disk_cache/blockfile/backend_impl.cc File::DropPendingIO(); File 672 net/disk_cache/blockfile/backend_impl.cc int flags = base::File::FLAG_READ | base::File::FLAG_WRITE | File 673 net/disk_cache/blockfile/backend_impl.cc base::File::FLAG_CREATE | base::File::FLAG_EXCLUSIVE_WRITE; File 674 net/disk_cache/blockfile/backend_impl.cc base::File file(name, flags); File 676 net/disk_cache/blockfile/backend_impl.cc base::File::Error error = file.error_details(); File 677 net/disk_cache/blockfile/backend_impl.cc if (error != base::File::FILE_ERROR_EXISTS) { File 776 net/disk_cache/blockfile/backend_impl.cc CacheEntryBlock entry(File(address), address); File 1243 net/disk_cache/blockfile/backend_impl.cc bool BackendImpl::CreateBackingStore(disk_cache::File* file) { File 1267 net/disk_cache/blockfile/backend_impl.cc int flags = base::File::FLAG_READ | base::File::FLAG_WRITE | File 1268 net/disk_cache/blockfile/backend_impl.cc base::File::FLAG_OPEN_ALWAYS | base::File::FLAG_EXCLUSIVE_WRITE; File 1269 net/disk_cache/blockfile/backend_impl.cc base::File base_file(index_name, flags); File 1276 net/disk_cache/blockfile/backend_impl.cc scoped_refptr<disk_cache::File> file(new disk_cache::File(base_file.Pass())); File 1354 net/disk_cache/blockfile/backend_impl.cc MappedFile* file = File(address); File 1380 net/disk_cache/blockfile/backend_impl.cc MappedFile* file = File(address); File 94 net/disk_cache/blockfile/backend_impl.h MappedFile* File(Addr address); File 284 net/disk_cache/blockfile/backend_impl.h bool CreateBackingStore(disk_cache::File* file); File 785 net/disk_cache/blockfile/backend_impl_v3.cc MappedFile* file = File(address); File 811 net/disk_cache/blockfile/backend_impl_v3.cc MappedFile* file = File(address); File 874 net/disk_cache/blockfile/backend_impl_v3.cc File::WaitForPendingIO(&num_pending_io_); File 877 net/disk_cache/blockfile/backend_impl_v3.cc File::DropPendingIO(); File 264 net/disk_cache/blockfile/backend_worker_v3.cc File::WaitForPendingIO(&num_pending_io_); File 267 net/disk_cache/blockfile/backend_worker_v3.cc File::DropPendingIO(); File 289 net/disk_cache/blockfile/backend_worker_v3.cc bool BackendImpl::CreateBackingStore(disk_cache::File* file) { File 317 net/disk_cache/blockfile/backend_worker_v3.cc scoped_refptr<disk_cache::File> file(new disk_cache::File( File 442 net/disk_cache/blockfile/backend_worker_v3.cc MappedFile* file = File(address); File 35 net/disk_cache/blockfile/backend_worker_v3.h bool CreateBackingStore(disk_cache::File* file); File 448 net/disk_cache/blockfile/block_files.cc int flags = force ? base::File::FLAG_CREATE_ALWAYS : base::File::FLAG_CREATE; File 449 net/disk_cache/blockfile/block_files.cc flags |= base::File::FLAG_WRITE | base::File::FLAG_EXCLUSIVE_WRITE; File 451 net/disk_cache/blockfile/block_files.cc scoped_refptr<File> file(new File(base::File(name, flags))); File 631 net/disk_cache/blockfile/block_files.cc scoped_refptr<File> this_file(new File(false)); File 169 net/disk_cache/blockfile/block_files_unittest.cc scoped_refptr<File> file(new File); File 192 net/disk_cache/blockfile/block_files_unittest.cc scoped_refptr<File> file(new File); File 302 net/disk_cache/blockfile/entry_impl.cc entry_.LazyInit(backend->File(address), address); File 413 net/disk_cache/blockfile/entry_impl.cc if (!node_.LazyInit(backend_->File(node_address), node_address)) File 428 net/disk_cache/blockfile/entry_impl.cc File* key_file = GetBackingFile(address, kKeyFileIndex); File 530 net/disk_cache/blockfile/entry_impl.cc if (!node_.LazyInit(backend_->File(address), address)) File 780 net/disk_cache/blockfile/entry_impl.cc File* key_file = const_cast<EntryImpl*>(this)->GetBackingFile(address, File 1018 net/disk_cache/blockfile/entry_impl.cc File* file = GetBackingFile(address, index); File 1119 net/disk_cache/blockfile/entry_impl.cc File* file = GetBackingFile(address, index); File 1237 net/disk_cache/blockfile/entry_impl.cc File* EntryImpl::GetBackingFile(Addr address, int index) { File 1241 net/disk_cache/blockfile/entry_impl.cc File* file; File 1245 net/disk_cache/blockfile/entry_impl.cc file = backend_->File(address); File 1249 net/disk_cache/blockfile/entry_impl.cc File* EntryImpl::GetExternalFile(Addr address, int index) { File 1253 net/disk_cache/blockfile/entry_impl.cc scoped_refptr<File> file(new File(kKeyFileIndex == index)); File 1369 net/disk_cache/blockfile/entry_impl.cc File* file = GetBackingFile(address, index); File 1469 net/disk_cache/blockfile/entry_impl.cc File* file = GetBackingFile(address, index); File 202 net/disk_cache/blockfile/entry_impl.h File* GetBackingFile(Addr address, int index); File 205 net/disk_cache/blockfile/entry_impl.h File* GetExternalFile(Addr address, int index); File 263 net/disk_cache/blockfile/entry_impl.h scoped_refptr<File> files_[kNumStreams + 1]; File 268 net/disk_cache/blockfile/entry_impl_v3.cc if (!node_.LazyInit(backend_->File(node_address), node_address)) File 283 net/disk_cache/blockfile/entry_impl_v3.cc File* key_file = GetBackingFile(address, kKeyFileIndex); File 493 net/disk_cache/blockfile/entry_impl_v3.cc File* key_file = const_cast<EntryImpl*>(this)->GetBackingFile(address, File 817 net/disk_cache/blockfile/entry_impl_v3.cc File* file = GetBackingFile(address, index); File 918 net/disk_cache/blockfile/entry_impl_v3.cc File* file = GetBackingFile(address, index); File 1191 net/disk_cache/blockfile/entry_impl_v3.cc File* file = GetBackingFile(address, index); File 1291 net/disk_cache/blockfile/entry_impl_v3.cc File* file = GetBackingFile(address, index); File 12 net/disk_cache/blockfile/file.cc File::File() : init_(false), mixed_(false) {} File 14 net/disk_cache/blockfile/file.cc File::File(bool mixed_mode) : init_(false), mixed_(mixed_mode) {} File 32 net/disk_cache/blockfile/file.h class NET_EXPORT_PRIVATE File : public base::RefCounted<File> { File 33 net/disk_cache/blockfile/file.h friend class base::RefCounted<File>; File 35 net/disk_cache/blockfile/file.h File(); File 37 net/disk_cache/blockfile/file.h explicit File(bool mixed_mode); File 42 net/disk_cache/blockfile/file.h explicit File(base::File file); File 74 net/disk_cache/blockfile/file.h virtual ~File(); File 92 net/disk_cache/blockfile/file.h base::File base_file_; // Regular, asynchronous IO handle. File 93 net/disk_cache/blockfile/file.h base::File sync_base_file_; // Synchronous IO handle. File 95 net/disk_cache/blockfile/file.h DISALLOW_COPY_AND_ASSIGN(File); File 26 net/disk_cache/blockfile/file_ios.cc FileBackgroundIO(disk_cache::File* file, const void* buf, size_t buf_len, File 37 net/disk_cache/blockfile/file_ios.cc disk_cache::File* file() { File 54 net/disk_cache/blockfile/file_ios.cc disk_cache::File* file_; File 72 net/disk_cache/blockfile/file_ios.cc void PostRead(disk_cache::File* file, void* buf, size_t buf_len, File 74 net/disk_cache/blockfile/file_ios.cc void PostWrite(disk_cache::File* file, const void* buf, size_t buf_len, File 111 net/disk_cache/blockfile/file_ios.cc void FileInFlightIO::PostRead(disk_cache::File *file, void* buf, size_t buf_len, File 122 net/disk_cache/blockfile/file_ios.cc void FileInFlightIO::PostWrite(disk_cache::File* file, const void* buf, File 169 net/disk_cache/blockfile/file_ios.cc File::File(base::File file) File 175 net/disk_cache/blockfile/file_ios.cc bool File::Init(const base::FilePath& name) { File 179 net/disk_cache/blockfile/file_ios.cc int flags = base::File::FLAG_OPEN | base::File::FLAG_READ | File 180 net/disk_cache/blockfile/file_ios.cc base::File::FLAG_WRITE; File 185 net/disk_cache/blockfile/file_ios.cc bool File::IsValid() const { File 189 net/disk_cache/blockfile/file_ios.cc bool File::Read(void* buffer, size_t buffer_len, size_t offset) { File 200 net/disk_cache/blockfile/file_ios.cc bool File::Write(const void* buffer, size_t buffer_len, size_t offset) { File 215 net/disk_cache/blockfile/file_ios.cc bool File::Read(void* buffer, size_t buffer_len, size_t offset, File 233 net/disk_cache/blockfile/file_ios.cc bool File::Write(const void* buffer, size_t buffer_len, size_t offset, File 245 net/disk_cache/blockfile/file_ios.cc bool File::SetLength(size_t length) { File 253 net/disk_cache/blockfile/file_ios.cc size_t File::GetLength() { File 264 net/disk_cache/blockfile/file_ios.cc void File::WaitForPendingIO(int* num_pending_io) { File 272 net/disk_cache/blockfile/file_ios.cc void File::DropPendingIO() { File 277 net/disk_cache/blockfile/file_ios.cc File::~File() { File 280 net/disk_cache/blockfile/file_ios.cc base::PlatformFile File::platform_file() const { File 284 net/disk_cache/blockfile/file_ios.cc bool File::AsyncWrite(const void* buffer, size_t buffer_len, size_t offset, File 37 net/disk_cache/blockfile/file_posix.cc File::File(base::File file) File 43 net/disk_cache/blockfile/file_posix.cc bool File::Init(const base::FilePath& name) { File 47 net/disk_cache/blockfile/file_posix.cc int flags = base::File::FLAG_OPEN | base::File::FLAG_READ | File 48 net/disk_cache/blockfile/file_posix.cc base::File::FLAG_WRITE; File 53 net/disk_cache/blockfile/file_posix.cc bool File::IsValid() const { File 57 net/disk_cache/blockfile/file_posix.cc bool File::Read(void* buffer, size_t buffer_len, size_t offset) { File 68 net/disk_cache/blockfile/file_posix.cc bool File::Write(const void* buffer, size_t buffer_len, size_t offset) { File 80 net/disk_cache/blockfile/file_posix.cc bool File::Read(void* buffer, size_t buffer_len, size_t offset, File 96 net/disk_cache/blockfile/file_posix.cc base::Bind(&File::DoRead, this, buffer, buffer_len, offset), File 97 net/disk_cache/blockfile/file_posix.cc base::Bind(&File::OnOperationComplete, this, callback)); File 103 net/disk_cache/blockfile/file_posix.cc bool File::Write(const void* buffer, size_t buffer_len, size_t offset, File 119 net/disk_cache/blockfile/file_posix.cc base::Bind(&File::DoWrite, this, buffer, buffer_len, offset), File 120 net/disk_cache/blockfile/file_posix.cc base::Bind(&File::OnOperationComplete, this, callback)); File 126 net/disk_cache/blockfile/file_posix.cc bool File::SetLength(size_t length) { File 134 net/disk_cache/blockfile/file_posix.cc size_t File::GetLength() { File 145 net/disk_cache/blockfile/file_posix.cc void File::WaitForPendingIO(int* num_pending_io) { File 154 net/disk_cache/blockfile/file_posix.cc void File::DropPendingIO() { File 158 net/disk_cache/blockfile/file_posix.cc File::~File() { File 161 net/disk_cache/blockfile/file_posix.cc base::PlatformFile File::platform_file() const { File 166 net/disk_cache/blockfile/file_posix.cc int File::DoRead(void* buffer, size_t buffer_len, size_t offset) { File 174 net/disk_cache/blockfile/file_posix.cc int File::DoWrite(const void* buffer, size_t buffer_len, size_t offset) { File 183 net/disk_cache/blockfile/file_posix.cc void File::OnOperationComplete(FileIOCallback* callback, int result) { File 17 net/disk_cache/blockfile/file_win.cc MyOverlapped(disk_cache::File* file, size_t offset, File 25 net/disk_cache/blockfile/file_win.cc scoped_refptr<disk_cache::File> file_; File 59 net/disk_cache/blockfile/file_win.cc MyOverlapped::MyOverlapped(disk_cache::File* file, size_t offset, File 72 net/disk_cache/blockfile/file_win.cc File::File(base::File file) File 78 net/disk_cache/blockfile/file_win.cc bool File::Init(const base::FilePath& name) { File 86 net/disk_cache/blockfile/file_win.cc base::File(CreateFile(name.value().c_str(), access, sharing, NULL, File 97 net/disk_cache/blockfile/file_win.cc base::File(CreateFile(name.value().c_str(), access, sharing, NULL, File 106 net/disk_cache/blockfile/file_win.cc bool File::IsValid() const { File 112 net/disk_cache/blockfile/file_win.cc bool File::Read(void* buffer, size_t buffer_len, size_t offset) { File 122 net/disk_cache/blockfile/file_win.cc bool File::Write(const void* buffer, size_t buffer_len, size_t offset) { File 135 net/disk_cache/blockfile/file_win.cc bool File::Read(void* buffer, size_t buffer_len, size_t offset, File 168 net/disk_cache/blockfile/file_win.cc bool File::Write(const void* buffer, size_t buffer_len, size_t offset, File 180 net/disk_cache/blockfile/file_win.cc File::~File() { File 183 net/disk_cache/blockfile/file_win.cc base::PlatformFile File::platform_file() const { File 189 net/disk_cache/blockfile/file_win.cc bool File::AsyncWrite(const void* buffer, size_t buffer_len, size_t offset, File 218 net/disk_cache/blockfile/file_win.cc bool File::SetLength(size_t length) { File 231 net/disk_cache/blockfile/file_win.cc size_t File::GetLength() { File 244 net/disk_cache/blockfile/file_win.cc void File::WaitForPendingIO(int* num_pending_io) { File 254 net/disk_cache/blockfile/file_win.cc void File::DropPendingIO() { File 24 net/disk_cache/blockfile/mapped_file.h class NET_EXPORT_PRIVATE MappedFile : public File { File 26 net/disk_cache/blockfile/mapped_file.h MappedFile() : File(true), init_(false) {} File 16 net/disk_cache/blockfile/mapped_file_avoid_mmap_posix.cc if (init_ || !File::Init(name)) File 18 net/disk_cache/blockfile/mapped_file_posix.cc if (init_ || !File::Init(name)) File 16 net/disk_cache/blockfile/mapped_file_win.cc if (init_ || !File::Init(name)) File 253 net/disk_cache/blockfile/rankings.cc CacheRankingsBlock head(backend_->File(my_head), my_head); File 336 net/disk_cache/blockfile/rankings.cc CacheRankingsBlock next(backend_->File(next_addr), next_addr); File 337 net/disk_cache/blockfile/rankings.cc CacheRankingsBlock prev(backend_->File(prev_addr), prev_addr); File 423 net/disk_cache/blockfile/rankings.cc next.reset(new CacheRankingsBlock(backend_->File(my_head), my_head)); File 435 net/disk_cache/blockfile/rankings.cc next.reset(new CacheRankingsBlock(backend_->File(address), address)); File 456 net/disk_cache/blockfile/rankings.cc prev.reset(new CacheRankingsBlock(backend_->File(my_tail), my_tail)); File 468 net/disk_cache/blockfile/rankings.cc prev.reset(new CacheRankingsBlock(backend_->File(address), address)); File 645 net/disk_cache/blockfile/rankings.cc CacheRankingsBlock node(backend_->File(node_addr), node_addr); File 702 net/disk_cache/blockfile/rankings.cc CacheRankingsBlock next(backend_->File(next_addr), next_addr); File 703 net/disk_cache/blockfile/rankings.cc CacheRankingsBlock prev(backend_->File(prev_addr), prev_addr); File 827 net/disk_cache/blockfile/rankings.cc node.reset(new CacheRankingsBlock(backend_->File(current), current)); File 110 net/disk_cache/blockfile/sparse_control.cc disk_cache::File* file(backend_->File(address)); File 110 net/disk_cache/blockfile/sparse_control_v3.cc disk_cache::File* file(backend_->File(address)); File 46 net/disk_cache/disk_cache_test_util.cc int flags = base::File::FLAG_CREATE_ALWAYS | base::File::FLAG_READ | File 47 net/disk_cache/disk_cache_test_util.cc base::File::FLAG_WRITE; File 49 net/disk_cache/disk_cache_test_util.cc base::File file(name, flags); File 2512 net/disk_cache/entry_unittest.cc base::File entry_file0(entry_file0_path, File 2513 net/disk_cache/entry_unittest.cc base::File::FLAG_WRITE | base::File::FLAG_OPEN); File 2571 net/disk_cache/entry_unittest.cc base::File file(file_path, base::File::FLAG_WRITE | base::File::FLAG_OPEN); File 3085 net/disk_cache/entry_unittest.cc base::File::Info info; File 3587 net/disk_cache/entry_unittest.cc base::File entry_file0(entry_file0_path, File 3588 net/disk_cache/entry_unittest.cc base::File::FLAG_READ | base::File::FLAG_OPEN); File 98 net/disk_cache/simple/simple_index_file.cc base::File::Info file_info; File 272 net/disk_cache/simple/simple_index_file_unittest.cc base::File file(cache_path.AppendASCII("index"), File 273 net/disk_cache/simple/simple_index_file_unittest.cc base::File::FLAG_CREATE | base::File::FLAG_WRITE); File 26 net/disk_cache/simple/simple_synchronous_entry.cc using base::File; File 289 net/disk_cache/simple/simple_synchronous_entry.cc File* file = const_cast<File*>(&files_[file_index]); File 332 net/disk_cache/simple/simple_synchronous_entry.cc File::Error error; File 721 net/disk_cache/simple/simple_synchronous_entry.cc File::Error* out_error) { File 725 net/disk_cache/simple/simple_synchronous_entry.cc int flags = File::FLAG_OPEN | File::FLAG_READ | File::FLAG_WRITE; File 730 net/disk_cache/simple/simple_synchronous_entry.cc *out_error == File::FILE_ERROR_NOT_FOUND) { File 741 net/disk_cache/simple/simple_synchronous_entry.cc File::Error* out_error) { File 750 net/disk_cache/simple/simple_synchronous_entry.cc int flags = File::FLAG_CREATE | File::FLAG_READ | File::FLAG_WRITE; File 763 net/disk_cache/simple/simple_synchronous_entry.cc File::Error error; File 771 net/disk_cache/simple/simple_synchronous_entry.cc -error, -base::File::FILE_ERROR_MAX); File 775 net/disk_cache/simple/simple_synchronous_entry.cc -error, -base::File::FILE_ERROR_MAX); File 780 net/disk_cache/simple/simple_synchronous_entry.cc -error, -base::File::FILE_ERROR_MAX); File 797 net/disk_cache/simple/simple_synchronous_entry.cc File::Info file_info; File 843 net/disk_cache/simple/simple_synchronous_entry.cc File::Error error; File 850 net/disk_cache/simple/simple_synchronous_entry.cc -error, -base::File::FILE_ERROR_MAX); File 854 net/disk_cache/simple/simple_synchronous_entry.cc -error, -base::File::FILE_ERROR_MAX); File 859 net/disk_cache/simple/simple_synchronous_entry.cc -error, -base::File::FILE_ERROR_MAX); File 1078 net/disk_cache/simple/simple_synchronous_entry.cc File* file = const_cast<File*>(&files_[0]); File 1109 net/disk_cache/simple/simple_synchronous_entry.cc File* file = const_cast<File*>(&files_[file_index]); File 1187 net/disk_cache/simple/simple_synchronous_entry.cc int flags = File::FLAG_OPEN | File::FLAG_READ | File::FLAG_WRITE; File 1192 net/disk_cache/simple/simple_synchronous_entry.cc return sparse_file_.error_details() == File::FILE_ERROR_NOT_FOUND; File 1200 net/disk_cache/simple/simple_synchronous_entry.cc int flags = File::FLAG_CREATE | File::FLAG_READ | File::FLAG_WRITE; File 216 net/disk_cache/simple/simple_synchronous_entry.h base::File::Error* out_error); File 222 net/disk_cache/simple/simple_synchronous_entry.h base::File::Error* out_error); File 319 net/disk_cache/simple/simple_synchronous_entry.h base::File files_[kSimpleEntryFileCount]; File 328 net/disk_cache/simple/simple_synchronous_entry.h base::File sparse_file_; File 18 net/disk_cache/simple/simple_test_util.cc int flags = base::File::FLAG_CREATE_ALWAYS | base::File::FLAG_WRITE; File 19 net/disk_cache/simple/simple_test_util.cc base::File entry_file(entry_file_path, flags); File 130 net/disk_cache/simple/simple_util.cc base::File::Info file_info; File 33 net/disk_cache/simple/simple_version_upgrade.cc base::File file(file_name, base::File::FLAG_CREATE | base::File::FLAG_WRITE); File 136 net/disk_cache/simple/simple_version_upgrade.cc base::File fake_index_file(fake_index, File 137 net/disk_cache/simple/simple_version_upgrade.cc base::File::FLAG_OPEN | base::File::FLAG_READ); File 140 net/disk_cache/simple/simple_version_upgrade.cc if (fake_index_file.error_details() == base::File::FILE_ERROR_NOT_FOUND) { File 888 net/proxy/proxy_config_service_linux.cc base::File::Info kde3_info; File 889 net/proxy/proxy_config_service_linux.cc base::File::Info kde4_info; File 34 net/tools/dump_cache/dump_files.cc base::File file(name, base::File::FLAG_OPEN | base::File::FLAG_READ); File 83 net/url_request/url_fetcher_response_writer.cc base::File::FLAG_WRITE | base::File::FLAG_ASYNC | File 84 net/url_request/url_fetcher_response_writer.cc base::File::FLAG_CREATE_ALWAYS, File 165 net/url_request/url_fetcher_response_writer.cc base::File::FLAG_WRITE | base::File::FLAG_ASYNC | File 166 net/url_request/url_fetcher_response_writer.cc base::File::FLAG_OPEN, File 200 net/url_request/url_request_file_job.cc base::File::Info file_info; File 232 net/url_request/url_request_file_job.cc int flags = base::File::FLAG_OPEN | File 233 net/url_request/url_request_file_job.cc base::File::FLAG_READ | File 234 net/url_request/url_request_file_job.cc base::File::FLAG_ASYNC; File 1009 net/url_request/url_request_unittest.cc base::File::Info info; File 61 ppapi/proxy/file_io_resource.cc base::File file(file_handle_->raw_handle()); File 194 ppapi/proxy/file_io_resource.cc base::File::Info file_info; File 202 ppapi/proxy/file_io_resource.cc base::File file(file_handle_->raw_handle()); File 118 ppapi/proxy/file_io_resource.h const base::File::Info& file_info() const { return file_info_; } File 125 ppapi/proxy/file_io_resource.h base::File::Info file_info_; File 209 ppapi/proxy/flash_file_resource.cc base::File::Info file_info; File 1972 ppapi/proxy/ppapi_messages.h base::File::Info /* file_info */) File 15 ppapi/shared_impl/file_type_conversion.cc int FileErrorToPepperError(base::File::Error error_code) { File 17 ppapi/shared_impl/file_type_conversion.cc case base::File::FILE_OK: File 19 ppapi/shared_impl/file_type_conversion.cc case base::File::FILE_ERROR_EXISTS: File 21 ppapi/shared_impl/file_type_conversion.cc case base::File::FILE_ERROR_NOT_FOUND: File 23 ppapi/shared_impl/file_type_conversion.cc case base::File::FILE_ERROR_ACCESS_DENIED: File 24 ppapi/shared_impl/file_type_conversion.cc case base::File::FILE_ERROR_SECURITY: File 26 ppapi/shared_impl/file_type_conversion.cc case base::File::FILE_ERROR_NO_MEMORY: File 28 ppapi/shared_impl/file_type_conversion.cc case base::File::FILE_ERROR_NO_SPACE: File 30 ppapi/shared_impl/file_type_conversion.cc case base::File::FILE_ERROR_NOT_A_DIRECTORY: File 32 ppapi/shared_impl/file_type_conversion.cc case base::File::FILE_ERROR_NOT_A_FILE: File 84 ppapi/shared_impl/file_type_conversion.cc void FileInfoToPepperFileInfo(const base::File::Info& info, File 16 ppapi/shared_impl/file_type_conversion.h PPAPI_SHARED_EXPORT int FileErrorToPepperError(base::File::Error error_code); File 25 ppapi/shared_impl/file_type_conversion.h PPAPI_SHARED_EXPORT void FileInfoToPepperFileInfo(const base::File::Info& info, File 111 remoting/host/pairing_registry_delegate_linux.cc base::File::Error error; File 103 remoting/host/policy_hack/policy_watcher_linux.cc base::File::Info file_info; File 35 third_party/leveldatabase/env_chromium.cc ::base::File file_; File 49 third_party/leveldatabase/env_chromium.cc last_error_(base::File::FILE_OK), File 54 third_party/leveldatabase/env_chromium.cc if (last_error_ != base::File::FILE_OK) { File 60 third_party/leveldatabase/env_chromium.cc bool ShouldKeepTrying(base::File::Error last_error) { File 61 third_party/leveldatabase/env_chromium.cc DCHECK_NE(last_error, base::File::FILE_OK); File 79 third_party/leveldatabase/env_chromium.cc base::File::Error last_error_; File 184 third_party/leveldatabase/env_chromium.cc base::File::Error error) { File 305 third_party/leveldatabase/env_chromium.cc static_cast<base::File::Error>(error) == File 306 third_party/leveldatabase/env_chromium.cc base::File::FILE_ERROR_NO_SPACE) || File 370 third_party/leveldatabase/env_chromium.cc const char* ChromiumEnv::FileErrorString(::base::File::Error error) { File 372 third_party/leveldatabase/env_chromium.cc case ::base::File::FILE_ERROR_FAILED: File 374 third_party/leveldatabase/env_chromium.cc case ::base::File::FILE_ERROR_IN_USE: File 376 third_party/leveldatabase/env_chromium.cc case ::base::File::FILE_ERROR_EXISTS: File 378 third_party/leveldatabase/env_chromium.cc case ::base::File::FILE_ERROR_NOT_FOUND: File 380 third_party/leveldatabase/env_chromium.cc case ::base::File::FILE_ERROR_ACCESS_DENIED: File 382 third_party/leveldatabase/env_chromium.cc case ::base::File::FILE_ERROR_TOO_MANY_OPENED: File 384 third_party/leveldatabase/env_chromium.cc case ::base::File::FILE_ERROR_NO_MEMORY: File 386 third_party/leveldatabase/env_chromium.cc case ::base::File::FILE_ERROR_NO_SPACE: File 388 third_party/leveldatabase/env_chromium.cc case ::base::File::FILE_ERROR_NOT_A_DIRECTORY: File 390 third_party/leveldatabase/env_chromium.cc case ::base::File::FILE_ERROR_INVALID_OPERATION: File 392 third_party/leveldatabase/env_chromium.cc case ::base::File::FILE_ERROR_SECURITY: File 394 third_party/leveldatabase/env_chromium.cc case ::base::File::FILE_ERROR_ABORT: File 396 third_party/leveldatabase/env_chromium.cc case ::base::File::FILE_ERROR_NOT_A_FILE: File 398 third_party/leveldatabase/env_chromium.cc case ::base::File::FILE_ERROR_NOT_EMPTY: File 400 third_party/leveldatabase/env_chromium.cc case ::base::File::FILE_ERROR_INVALID_URL: File 402 third_party/leveldatabase/env_chromium.cc case ::base::File::FILE_ERROR_IO: File 404 third_party/leveldatabase/env_chromium.cc case ::base::File::FILE_OK: File 406 third_party/leveldatabase/env_chromium.cc case ::base::File::FILE_ERROR_MAX: File 469 third_party/leveldatabase/env_chromium.cc base::File::Error error = File 471 third_party/leveldatabase/env_chromium.cc if (error != base::File::FILE_OK) { File 505 third_party/leveldatabase/env_chromium.cc base::File::Error error = base::File::FILE_OK; File 547 third_party/leveldatabase/env_chromium.cc base::File::Error error = base::File::FILE_OK; File 553 third_party/leveldatabase/env_chromium.cc DCHECK(error != base::File::FILE_OK); File 566 third_party/leveldatabase/env_chromium.cc int flags = ::base::File::FLAG_OPEN_ALWAYS | File 567 third_party/leveldatabase/env_chromium.cc ::base::File::FLAG_READ | File 568 third_party/leveldatabase/env_chromium.cc ::base::File::FLAG_WRITE; File 569 third_party/leveldatabase/env_chromium.cc ::base::File::Error error_code; File 570 third_party/leveldatabase/env_chromium.cc ::base::File file; File 579 third_party/leveldatabase/env_chromium.cc if (error_code == ::base::File::FILE_ERROR_NOT_FOUND) { File 607 third_party/leveldatabase/env_chromium.cc } while (error_code != ::base::File::FILE_OK && File 610 third_party/leveldatabase/env_chromium.cc if (error_code != ::base::File::FILE_OK) { File 629 third_party/leveldatabase/env_chromium.cc ::base::File::Error error_code = my_lock->file_.Unlock(); File 630 third_party/leveldatabase/env_chromium.cc if (error_code != ::base::File::FILE_OK) { File 675 third_party/leveldatabase/env_chromium.cc base::File::Error error) const { File 678 third_party/leveldatabase/env_chromium.cc GetOSErrorHistogram(method, -base::File::FILE_ERROR_MAX)->Add(-error); File 54 third_party/leveldatabase/env_chromium.h base::File::Error error); File 82 third_party/leveldatabase/env_chromium.h base::File::Error error) const = 0; File 108 third_party/leveldatabase/env_chromium.h static const char* FileErrorString(::base::File::Error error); File 136 third_party/leveldatabase/env_chromium.h virtual base::File::Error GetDirectoryEntries( File 142 third_party/leveldatabase/env_chromium.h base::File::Error error) const; File 109 third_party/leveldatabase/env_chromium_stdio.cc mutable ::base::File file_; File 114 third_party/leveldatabase/env_chromium_stdio.cc ::base::File file, File 276 third_party/leveldatabase/env_chromium_stdio.cc int flags = ::base::File::FLAG_READ | ::base::File::FLAG_OPEN; File 277 third_party/leveldatabase/env_chromium_stdio.cc ::base::File file(ChromiumEnv::CreateFilePath(fname), flags); File 283 third_party/leveldatabase/env_chromium_stdio.cc ::base::File::Error error_code = file.error_details(); File 284 third_party/leveldatabase/env_chromium_stdio.cc if (error_code == ::base::File::FILE_ERROR_TOO_MANY_OPENED) File 312 third_party/leveldatabase/env_chromium_stdio.cc base::File::Error ChromiumEnvStdio::GetDirectoryEntries( File 322 third_party/leveldatabase/env_chromium_stdio.cc return base::File::FILE_OK; File 323 third_party/leveldatabase/env_chromium_stdio.cc return base::File::OSErrorToFileError(last_error); File 334 third_party/leveldatabase/env_chromium_stdio.cc base::File::Error return_value = base::File::FILE_OK; File 336 third_party/leveldatabase/env_chromium_stdio.cc return_value = base::File::OSErrorToFileError(last_error); File 341 third_party/leveldatabase/env_chromium_stdio.cc base::File::Error ChromiumEnvStdio::GetDirectoryEntries( File 348 third_party/leveldatabase/env_chromium_stdio.cc return base::File::OSErrorToFileError(errno); File 360 third_party/leveldatabase/env_chromium_stdio.cc return base::File::OSErrorToFileError(saved_errno); File 361 third_party/leveldatabase/env_chromium_stdio.cc return base::File::FILE_OK; File 58 third_party/leveldatabase/env_chromium_stdio.h virtual base::File::Error GetDirectoryEntries( File 37 third_party/leveldatabase/env_chromium_unittest.cc const base::File::Error fe = base::File::FILE_ERROR_INVALID_OPERATION; File 94 third_party/leveldatabase/env_chromium_win.cc mutable ::base::File file_; File 99 third_party/leveldatabase/env_chromium_win.cc ::base::File file, File 189 third_party/leveldatabase/env_chromium_win.cc base::File::OSErrorToFileError(err)); File 267 third_party/leveldatabase/env_chromium_win.cc int flags = ::base::File::FLAG_READ | ::base::File::FLAG_OPEN; File 268 third_party/leveldatabase/env_chromium_win.cc ::base::File file(ChromiumEnv::CreateFilePath(fname), flags); File 274 third_party/leveldatabase/env_chromium_win.cc ::base::File::Error error_code = file.error_details(); File 275 third_party/leveldatabase/env_chromium_win.cc if (error_code == ::base::File::FILE_ERROR_TOO_MANY_OPENED) File 308 third_party/leveldatabase/env_chromium_win.cc base::File::Error ChromiumEnvWin::GetDirectoryEntries( File 318 third_party/leveldatabase/env_chromium_win.cc return base::File::FILE_OK; File 319 third_party/leveldatabase/env_chromium_win.cc return base::File::OSErrorToFileError(last_error); File 330 third_party/leveldatabase/env_chromium_win.cc base::File::Error return_value = base::File::FILE_OK; File 332 third_party/leveldatabase/env_chromium_win.cc return_value = base::File::OSErrorToFileError(last_error); File 63 third_party/leveldatabase/env_chromium_win.h virtual base::File::Error GetDirectoryEntries( File 247 third_party/protobuf/java/src/test/java/com/google/protobuf/TestUtil.java import java.io.File; File 3863 third_party/protobuf/java/src/test/java/com/google/protobuf/TestUtil.java private static File getTestDataDir() { File 3865 third_party/protobuf/java/src/test/java/com/google/protobuf/TestUtil.java File ancestor = new File("."); File 3873 third_party/protobuf/java/src/test/java/com/google/protobuf/TestUtil.java if (new File(ancestor, "src/google/protobuf").exists()) { File 3874 third_party/protobuf/java/src/test/java/com/google/protobuf/TestUtil.java return new File(ancestor, "src/google/protobuf/testdata"); File 3890 third_party/protobuf/java/src/test/java/com/google/protobuf/TestUtil.java File fullPath = new File(getTestDataDir(), filename); File 1264 third_party/protobuf/src/google/protobuf/compiler/command_line_interface.cc const CodeGeneratorResponse::File& output_file = response.file(i); File 222 third_party/protobuf/src/google/protobuf/compiler/command_line_interface_unittest.cc if (File::Exists(temp_directory_)) { File 223 third_party/protobuf/src/google/protobuf/compiler/command_line_interface_unittest.cc File::DeleteRecursively(temp_directory_, NULL, NULL); File 227 third_party/protobuf/src/google/protobuf/compiler/command_line_interface_unittest.cc GOOGLE_CHECK(File::CreateDir(temp_directory_.c_str(), DEFAULT_FILE_MODE)); File 248 third_party/protobuf/src/google/protobuf/compiler/command_line_interface_unittest.cc File::DeleteRecursively(temp_directory_, NULL, NULL); File 321 third_party/protobuf/src/google/protobuf/compiler/command_line_interface_unittest.cc File::RecursivelyCreateDir(temp_directory_ + "/" + dir, 0777); File 326 third_party/protobuf/src/google/protobuf/compiler/command_line_interface_unittest.cc File::WriteStringToFileOrDie(contents, full_name); File 330 third_party/protobuf/src/google/protobuf/compiler/command_line_interface_unittest.cc File::RecursivelyCreateDir(temp_directory_ + "/" + name, 0777); File 417 third_party/protobuf/src/google/protobuf/compiler/command_line_interface_unittest.cc if (!File::ReadFileToString(path, &file_contents)) { File 1415 third_party/protobuf/src/google/protobuf/compiler/command_line_interface_unittest.cc File::WriteStringToFileOrDie(input, filename); File 1470 third_party/protobuf/src/google/protobuf/compiler/command_line_interface_unittest.cc ASSERT_TRUE(File::ReadFileToString(filename, &expected_output)); File 1479 third_party/protobuf/src/google/protobuf/compiler/command_line_interface_unittest.cc ASSERT_TRUE(File::ReadFileToString(filename, &expected_output)); File 96 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_bootstrap_unittest.cc File::ReadFileToStringOrDie( File 86 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_plugin_unittest.cc File::WriteStringToFileOrDie( File 336 third_party/protobuf/src/google/protobuf/compiler/importer_unittest.cc if (File::Exists(dirnames_[i])) { File 337 third_party/protobuf/src/google/protobuf/compiler/importer_unittest.cc File::DeleteRecursively(dirnames_[i], NULL, NULL); File 339 third_party/protobuf/src/google/protobuf/compiler/importer_unittest.cc GOOGLE_CHECK(File::CreateDir(dirnames_[i].c_str(), DEFAULT_FILE_MODE)); File 345 third_party/protobuf/src/google/protobuf/compiler/importer_unittest.cc File::DeleteRecursively(dirnames_[i], NULL, NULL); File 350 third_party/protobuf/src/google/protobuf/compiler/importer_unittest.cc File::WriteStringToFileOrDie(contents, filename); File 354 third_party/protobuf/src/google/protobuf/compiler/importer_unittest.cc GOOGLE_CHECK(File::CreateDir(dirname.c_str(), DEFAULT_FILE_MODE)); File 456 third_party/protobuf/src/google/protobuf/compiler/importer_unittest.cc ASSERT_TRUE(File::CreateDir((dirnames_[0] + "/bar").c_str(), File 84 third_party/protobuf/src/google/protobuf/compiler/java/java_plugin_unittest.cc File::WriteStringToFileOrDie( File 80 third_party/protobuf/src/google/protobuf/compiler/mock_code_generator.cc ASSERT_TRUE(File::ReadFileToString( File 73 third_party/protobuf/src/google/protobuf/compiler/plugin.cc CodeGeneratorResponse::File* file = response_->add_file(); File 80 third_party/protobuf/src/google/protobuf/compiler/plugin.cc CodeGeneratorResponse::File* file = response_->add_file(); File 81 third_party/protobuf/src/google/protobuf/compiler/python/python_plugin_unittest.cc File::WriteStringToFileOrDie( File 563 third_party/protobuf/src/google/protobuf/io/zero_copy_stream_unittest.cc File::ReadFileToStringOrDie( File 61 third_party/protobuf/src/google/protobuf/testing/file.cc bool File::Exists(const string& name) { File 65 third_party/protobuf/src/google/protobuf/testing/file.cc bool File::ReadFileToString(const string& name, string* output) { File 81 third_party/protobuf/src/google/protobuf/testing/file.cc void File::ReadFileToStringOrDie(const string& name, string* output) { File 85 third_party/protobuf/src/google/protobuf/testing/file.cc void File::WriteStringToFileOrDie(const string& contents, const string& name) { File 96 third_party/protobuf/src/google/protobuf/testing/file.cc bool File::CreateDir(const string& name, int mode) { File 100 third_party/protobuf/src/google/protobuf/testing/file.cc bool File::RecursivelyCreateDir(const string& path, int mode) { File 116 third_party/protobuf/src/google/protobuf/testing/file.cc void File::DeleteRecursively(const string& name, File 46 third_party/protobuf/src/google/protobuf/testing/file.h class File { File 77 third_party/protobuf/src/google/protobuf/testing/file.h GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(File); File 72 third_party/protobuf/src/google/protobuf/testing/googletest.cc while (!File::Exists(prefix + "/src/google/protobuf")) { File 73 third_party/protobuf/src/google/protobuf/testing/googletest.cc if (!File::Exists(prefix)) { File 118 third_party/protobuf/src/google/protobuf/testing/googletest.cc File::DeleteRecursively(name_, NULL, NULL); File 129 third_party/protobuf/src/google/protobuf/testing/googletest.cc File::WriteStringToFileOrDie("", name_ + "/TEMP_DIR_FOR_PROTOBUF_TESTS"); File 191 third_party/protobuf/src/google/protobuf/testing/googletest.cc File::ReadFileToStringOrDie(stdout_capture_filename_, &result); File 206 third_party/protobuf/src/google/protobuf/testing/googletest.cc File::ReadFileToStringOrDie(stderr_capture_filename_, &result); File 77 third_party/protobuf/src/google/protobuf/text_format_unittest.cc File::ReadFileToStringOrDie( File 98 third_party/protobuf/src/google/protobuf/text_format_unittest.cc File::ReadFileToStringOrDie( File 55 third_party/zlib/google/zip.cc base::File::Info file_info; File 62 third_party/zlib/google/zip.cc base::File file(src_dir, base::File::FLAG_OPEN | base::File::FLAG_READ); File 208 third_party/zlib/google/zip_reader.cc base::File file(output_file_path, File 209 third_party/zlib/google/zip_reader.cc base::File::FLAG_CREATE_ALWAYS | base::File::FLAG_WRITE); File 277 third_party/zlib/google/zip_reader.cc const int flags = base::File::FLAG_CREATE_ALWAYS | base::File::FLAG_WRITE; File 278 third_party/zlib/google/zip_reader.cc base::File output_file(output_file_path, flags); File 370 third_party/zlib/google/zip_reader.cc void ZipReader::ExtractChunk(base::File output_file, File 202 third_party/zlib/google/zip_reader.h void ExtractChunk(base::File target_file, File 36 third_party/zlib/google/zip_reader_unittest.cc int flags = base::File::FLAG_READ; File 38 third_party/zlib/google/zip_reader_unittest.cc flags |= base::File::FLAG_OPEN; File 40 third_party/zlib/google/zip_reader_unittest.cc flags |= base::File::FLAG_WRITE | base::File::FLAG_CREATE_ALWAYS; File 50 third_party/zlib/google/zip_reader_unittest.cc base::File file_; File 148 third_party/zlib/google/zip_unittest.cc base::File::Info file_info; File 286 third_party/zlib/google/zip_unittest.cc base::File zip_file(zip_name, File 287 third_party/zlib/google/zip_unittest.cc base::File::FLAG_CREATE | base::File::FLAG_WRITE); File 7 tools/binary_size/java/src/org/chromium/tools/binary_size/Addr2LineWorkerPool.java import java.io.File; File 87 tools/binary_size/java/src/org/chromium/tools/binary_size/Addr2LineWorkerPool.java String canonical = new File(libraryPath).getCanonicalPath(); File 304 tools/binary_size/java/src/org/chromium/tools/binary_size/Addr2LineWorkerPool.java location = new File(location).getCanonicalPath(); File 373 tools/binary_size/java/src/org/chromium/tools/binary_size/Addr2LineWorkerPool.java final File libraryOutputDirectory = new File(mLibraryPath) File 377 tools/binary_size/java/src/org/chromium/tools/binary_size/Addr2LineWorkerPool.java final File root = libraryOutputDirectory File 384 tools/binary_size/java/src/org/chromium/tools/binary_size/Addr2LineWorkerPool.java for (File file : root.listFiles()) { File 388 tools/binary_size/java/src/org/chromium/tools/binary_size/Addr2LineWorkerPool.java if (new File(file, "Release").exists() || new File(file, "Debug").exists()) { File 405 tools/binary_size/java/src/org/chromium/tools/binary_size/Addr2LineWorkerPool.java findInterestingFiles(new File(libraryOutputDirectory, "gen"), dupes); File 406 tools/binary_size/java/src/org/chromium/tools/binary_size/Addr2LineWorkerPool.java findInterestingFiles(new File(libraryOutputDirectory, "obj"), dupes); File 419 tools/binary_size/java/src/org/chromium/tools/binary_size/Addr2LineWorkerPool.java private void findInterestingFiles(File directory, Set<String> dupes) { File 420 tools/binary_size/java/src/org/chromium/tools/binary_size/Addr2LineWorkerPool.java for (File file : directory.listFiles()) { File 6 tools/binary_size/java/src/org/chromium/tools/binary_size/NmDumper.java import java.io.File; File 94 tools/binary_size/java/src/org/chromium/tools/binary_size/NmDumper.java new File(mOutPath).getParentFile().mkdirs(); File 102 tools/binary_size/java/src/org/chromium/tools/binary_size/NmDumper.java new File(mFailPath).getParentFile().mkdirs(); File 113 tools/binary_size/java/src/org/chromium/tools/binary_size/NmDumper.java new File(mSkipPath).getParentFile().mkdirs(); File 7 tools/binary_size/java/src/org/chromium/tools/binary_size/ParallelAddress2Line.java import java.io.File; File 116 tools/binary_size/java/src/org/chromium/tools/binary_size/ParallelAddress2Line.java final File libraryFile = new File(libraryPath); File 122 tools/binary_size/java/src/org/chromium/tools/binary_size/ParallelAddress2Line.java private static final File findFile(File directory, String target) { File 123 tools/binary_size/java/src/org/chromium/tools/binary_size/ParallelAddress2Line.java for (File file : directory.listFiles()) { File 125 tools/binary_size/java/src/org/chromium/tools/binary_size/ParallelAddress2Line.java File result = findFile(file, target); File 310 tools/binary_size/java/src/org/chromium/tools/binary_size/ParallelAddress2Line.java final File libraryOutputDirectory = new File(mLibraryPath) File 312 tools/binary_size/java/src/org/chromium/tools/binary_size/ParallelAddress2Line.java final File icuDir = new File( File 315 tools/binary_size/java/src/org/chromium/tools/binary_size/ParallelAddress2Line.java final File icuFile = findFile(icuDir, "icudata.icudt46l_dat.o"); File 338 tools/binary_size/java/src/org/chromium/tools/binary_size/ParallelAddress2Line.java final File tempFile = File.createTempFile("ParallelAddress2Line", "nm"); File 46 tools/ipc_fuzzer/message_lib/message_file_writer.cc base::File file_; File 58 tools/ipc_fuzzer/message_lib/message_file_writer.cc base::File::FLAG_CREATE_ALWAYS | base::File::FLAG_WRITE); File 460 tools/ipc_fuzzer/mutate/generate.cc struct GenerateTraits<base::File::Error> { File 461 tools/ipc_fuzzer/mutate/generate.cc static bool Generate(base::File::Error* p, Generator* generator) { File 465 tools/ipc_fuzzer/mutate/generate.cc *p = static_cast<base::File::Error>(temporary); File 471 tools/ipc_fuzzer/mutate/generate.cc struct GenerateTraits<base::File::Info> { File 472 tools/ipc_fuzzer/mutate/generate.cc static bool Generate(base::File::Info* p, Generator* generator) { File 20 ui/android/java/src/org/chromium/ui/base/SelectFileDialog.java import java.io.File; File 119 ui/android/java/src/org/chromium/ui/base/SelectFileDialog.java private File getFileForImageCapture() { File 120 ui/android/java/src/org/chromium/ui/base/SelectFileDialog.java File externalDataDir = Environment.getExternalStoragePublicDirectory( File 122 ui/android/java/src/org/chromium/ui/base/SelectFileDialog.java File cameraDataDir = new File(externalDataDir.getAbsolutePath() + File 123 ui/android/java/src/org/chromium/ui/base/SelectFileDialog.java File.separator + CAPTURE_IMAGE_DIRECTORY); File 127 ui/android/java/src/org/chromium/ui/base/SelectFileDialog.java File photoFile = new File(cameraDataDir.getAbsolutePath() + File 128 ui/android/java/src/org/chromium/ui/base/SelectFileDialog.java File.separator + System.currentTimeMillis() + ".jpg"); File 87 ui/base/resource/data_pack.cc bool DataPack::LoadFromFile(base::File file) { File 39 ui/base/resource/data_pack.h bool LoadFromFile(base::File file); File 66 ui/base/resource/data_pack_unittest.cc base::File file(data_path, base::File::FLAG_OPEN | base::File::FLAG_READ); File 168 ui/base/resource/resource_bundle.cc base::File pak_file, bool should_load_common_resources) { File 225 ui/base/resource/resource_bundle.cc void ResourceBundle::AddDataPackFromFile(base::File file, File 28 ui/base/resource/resource_bundle.h class File; File 137 ui/base/resource/resource_bundle.h static void InitSharedInstanceWithPakFile(base::File file, File 166 ui/base/resource/resource_bundle.h void AddDataPackFromFile(base::File file, ScaleFactor scale_factor); File 88 ui/shell_dialogs/select_file_dialog_win.cc base::File::Info file_info; File 14 webkit/browser/blob/file_stream_reader.cc const base::File::Info& file_info) { File 63 webkit/browser/blob/file_stream_reader.h const base::File::Info& file_info); File 153 webkit/browser/blob/local_file_stream_reader.cc base::File::Error error, File 154 webkit/browser/blob/local_file_stream_reader.cc const base::File::Info& file_info) { File 159 webkit/browser/blob/local_file_stream_reader.cc if (error != base::File::FILE_OK) { File 63 webkit/browser/blob/local_file_stream_reader.h base::File::Error error, File 64 webkit/browser/blob/local_file_stream_reader.h const base::File::Info& file_info); File 70 webkit/browser/blob/local_file_stream_reader_unittest.cc base::File::Info info; File 138 webkit/browser/blob/local_file_stream_reader_unittest.cc base::File file(empty_path, base::File::FLAG_CREATE | base::File::FLAG_READ); File 694 webkit/browser/database/database_tracker.cc base::File::Info file_info; File 831 webkit/browser/database/database_tracker.cc base::File file(GetFullDBFilePath(*origin, *database), File 832 webkit/browser/database/database_tracker.cc base::File::FLAG_OPEN_ALWAYS | File 833 webkit/browser/database/database_tracker.cc base::File::FLAG_SHARE_DELETE | File 834 webkit/browser/database/database_tracker.cc base::File::FLAG_DELETE_ON_CLOSE | File 835 webkit/browser/database/database_tracker.cc base::File::FLAG_READ); File 176 webkit/browser/database/database_tracker_unittest.cc base::File file(file_path, File 177 webkit/browser/database/database_tracker_unittest.cc base::File::FLAG_OPEN_ALWAYS | base::File::FLAG_WRITE); File 58 webkit/browser/database/vfs_backend.cc base::File VfsBackend::OpenFile(const base::FilePath& file_path, File 66 webkit/browser/database/vfs_backend.cc return base::File(); File 70 webkit/browser/database/vfs_backend.cc flags |= base::File::FLAG_READ; File 72 webkit/browser/database/vfs_backend.cc flags |= base::File::FLAG_WRITE; File 75 webkit/browser/database/vfs_backend.cc flags |= base::File::FLAG_EXCLUSIVE_READ | base::File::FLAG_EXCLUSIVE_WRITE; File 78 webkit/browser/database/vfs_backend.cc base::File::FLAG_OPEN_ALWAYS : base::File::FLAG_OPEN); File 81 webkit/browser/database/vfs_backend.cc flags |= base::File::FLAG_EXCLUSIVE_READ | base::File::FLAG_EXCLUSIVE_WRITE; File 84 webkit/browser/database/vfs_backend.cc flags |= base::File::FLAG_TEMPORARY | base::File::FLAG_HIDDEN | File 85 webkit/browser/database/vfs_backend.cc base::File::FLAG_DELETE_ON_CLOSE; File 90 webkit/browser/database/vfs_backend.cc flags |= base::File::FLAG_SHARE_DELETE; File 93 webkit/browser/database/vfs_backend.cc return base::File(file_path, flags); File 97 webkit/browser/database/vfs_backend.cc base::File VfsBackend::OpenTempFileInDirectory(const base::FilePath& dir_path, File 103 webkit/browser/database/vfs_backend.cc return base::File(); File 109 webkit/browser/database/vfs_backend.cc return base::File(); File 124 webkit/browser/database/vfs_backend.cc base::File dir(file_path.DirName(), base::File::FLAG_READ); File 21 webkit/browser/database/vfs_backend.h static base::File OpenFile(const base::FilePath& file_path, File 24 webkit/browser/database/vfs_backend.h static base::File OpenTempFileInDirectory(const base::FilePath& dir_path, File 51 webkit/browser/fileapi/async_file_util.h typedef base::Callback<void(base::File::Error result)> StatusCallback; File 57 webkit/browser/fileapi/async_file_util.h void(base::File::Error result, File 62 webkit/browser/fileapi/async_file_util.h void(base::File::Error result, File 66 webkit/browser/fileapi/async_file_util.h void(base::File::Error result, File 67 webkit/browser/fileapi/async_file_util.h const base::File::Info& file_info)> GetFileInfoCallback; File 71 webkit/browser/fileapi/async_file_util.h void(base::File::Error result, File 76 webkit/browser/fileapi/async_file_util.h void(base::File::Error result, File 77 webkit/browser/fileapi/async_file_util.h const base::File::Info& file_info, File 32 webkit/browser/fileapi/async_file_util_adapter.cc EnsureFileExistsHelper() : error_(base::File::FILE_OK), created_(false) {} File 45 webkit/browser/fileapi/async_file_util_adapter.cc base::File::Error error_; File 53 webkit/browser/fileapi/async_file_util_adapter.cc : error_(base::File::FILE_OK) {} File 79 webkit/browser/fileapi/async_file_util_adapter.cc base::File::Error error_; File 80 webkit/browser/fileapi/async_file_util_adapter.cc base::File::Info file_info_; File 91 webkit/browser/fileapi/async_file_util_adapter.cc base::File::Info file_info; File 93 webkit/browser/fileapi/async_file_util_adapter.cc base::File::Error error = file_util->GetFileInfo( File 96 webkit/browser/fileapi/async_file_util_adapter.cc if (error == base::File::FILE_OK && !file_info.is_directory) File 97 webkit/browser/fileapi/async_file_util_adapter.cc error = base::File::FILE_ERROR_NOT_A_DIRECTORY; File 100 webkit/browser/fileapi/async_file_util_adapter.cc if (error != base::File::FILE_OK) { File 125 webkit/browser/fileapi/async_file_util_adapter.cc FROM_HERE, base::Bind(callback, base::File::FILE_OK, entries, File 131 webkit/browser/fileapi/async_file_util_adapter.cc FROM_HERE, base::Bind(callback, base::File::FILE_OK, entries, File 137 webkit/browser/fileapi/async_file_util_adapter.cc base::File::Error result, File 338 webkit/browser/fileapi/async_file_util_adapter.cc callback.Run(base::File::FILE_ERROR_INVALID_OPERATION); File 24 webkit/browser/fileapi/copy_or_move_file_validator.h typedef base::Callback<void(base::File::Error result)> ResultCallback; File 131 webkit/browser/fileapi/copy_or_move_operation_delegate.cc base::File::Error error, File 132 webkit/browser/fileapi/copy_or_move_operation_delegate.cc const base::File::Info& file_info, File 136 webkit/browser/fileapi/copy_or_move_operation_delegate.cc error = base::File::FILE_ERROR_ABORT; File 138 webkit/browser/fileapi/copy_or_move_operation_delegate.cc if (error != base::File::FILE_OK) { File 150 webkit/browser/fileapi/copy_or_move_operation_delegate.cc base::File::FILE_OK); File 164 webkit/browser/fileapi/copy_or_move_operation_delegate.cc const base::File::Info& file_info, File 167 webkit/browser/fileapi/copy_or_move_operation_delegate.cc base::File::Error error) { File 169 webkit/browser/fileapi/copy_or_move_operation_delegate.cc error = base::File::FILE_ERROR_ABORT; File 171 webkit/browser/fileapi/copy_or_move_operation_delegate.cc if (error != base::File::FILE_OK) { File 185 webkit/browser/fileapi/copy_or_move_operation_delegate.cc const base::File::Info& file_info, File 188 webkit/browser/fileapi/copy_or_move_operation_delegate.cc base::File::Error error) { File 190 webkit/browser/fileapi/copy_or_move_operation_delegate.cc error = base::File::FILE_ERROR_ABORT; File 192 webkit/browser/fileapi/copy_or_move_operation_delegate.cc if (error != base::File::FILE_OK) { File 200 webkit/browser/fileapi/copy_or_move_operation_delegate.cc RunAfterTouchFile(callback, base::File::FILE_OK); File 213 webkit/browser/fileapi/copy_or_move_operation_delegate.cc base::File::Error error) { File 217 webkit/browser/fileapi/copy_or_move_operation_delegate.cc callback.Run(base::File::FILE_ERROR_ABORT); File 225 webkit/browser/fileapi/copy_or_move_operation_delegate.cc RunAfterPostWriteValidation(callback, base::File::FILE_OK); File 236 webkit/browser/fileapi/copy_or_move_operation_delegate.cc base::File::Error error) { File 238 webkit/browser/fileapi/copy_or_move_operation_delegate.cc callback.Run(base::File::FILE_ERROR_ABORT); File 242 webkit/browser/fileapi/copy_or_move_operation_delegate.cc if (error != base::File::FILE_OK) { File 252 webkit/browser/fileapi/copy_or_move_operation_delegate.cc callback.Run(base::File::FILE_OK); File 267 webkit/browser/fileapi/copy_or_move_operation_delegate.cc base::File::Error error) { File 269 webkit/browser/fileapi/copy_or_move_operation_delegate.cc error = base::File::FILE_ERROR_ABORT; File 271 webkit/browser/fileapi/copy_or_move_operation_delegate.cc if (error == base::File::FILE_ERROR_NOT_FOUND) File 272 webkit/browser/fileapi/copy_or_move_operation_delegate.cc error = base::File::FILE_OK; File 277 webkit/browser/fileapi/copy_or_move_operation_delegate.cc base::File::Error prior_error, File 279 webkit/browser/fileapi/copy_or_move_operation_delegate.cc base::File::Error error) { File 280 webkit/browser/fileapi/copy_or_move_operation_delegate.cc if (error != base::File::FILE_OK) { File 310 webkit/browser/fileapi/copy_or_move_operation_delegate.cc base::File::Error error, File 311 webkit/browser/fileapi/copy_or_move_operation_delegate.cc const base::File::Info& file_info, File 315 webkit/browser/fileapi/copy_or_move_operation_delegate.cc error = base::File::FILE_ERROR_ABORT; File 317 webkit/browser/fileapi/copy_or_move_operation_delegate.cc if (error != base::File::FILE_OK) { File 336 webkit/browser/fileapi/copy_or_move_operation_delegate.cc base::File::Error error) { File 409 webkit/browser/fileapi/copy_or_move_operation_delegate.cc base::File::Error error, File 410 webkit/browser/fileapi/copy_or_move_operation_delegate.cc const base::File::Info& file_info) { File 412 webkit/browser/fileapi/copy_or_move_operation_delegate.cc error = base::File::FILE_ERROR_ABORT; File 414 webkit/browser/fileapi/copy_or_move_operation_delegate.cc if (error != base::File::FILE_OK) { File 421 webkit/browser/fileapi/copy_or_move_operation_delegate.cc callback.Run(base::File::FILE_ERROR_NOT_A_FILE); File 436 webkit/browser/fileapi/copy_or_move_operation_delegate.cc base::File::Error error) { File 438 webkit/browser/fileapi/copy_or_move_operation_delegate.cc error = base::File::FILE_ERROR_ABORT; File 440 webkit/browser/fileapi/copy_or_move_operation_delegate.cc if (error != base::File::FILE_OK) { File 465 webkit/browser/fileapi/copy_or_move_operation_delegate.cc base::File::Error error) { File 467 webkit/browser/fileapi/copy_or_move_operation_delegate.cc error = base::File::FILE_ERROR_ABORT; File 469 webkit/browser/fileapi/copy_or_move_operation_delegate.cc if (error != base::File::FILE_OK) { File 475 webkit/browser/fileapi/copy_or_move_operation_delegate.cc RunAfterTouchFile(callback, base::File::FILE_OK); File 487 webkit/browser/fileapi/copy_or_move_operation_delegate.cc base::File::Error error) { File 490 webkit/browser/fileapi/copy_or_move_operation_delegate.cc callback.Run(base::File::FILE_ERROR_ABORT); File 495 webkit/browser/fileapi/copy_or_move_operation_delegate.cc callback.Run(base::File::FILE_OK); File 510 webkit/browser/fileapi/copy_or_move_operation_delegate.cc base::File::Error error) { File 512 webkit/browser/fileapi/copy_or_move_operation_delegate.cc error = base::File::FILE_ERROR_ABORT; File 513 webkit/browser/fileapi/copy_or_move_operation_delegate.cc if (error == base::File::FILE_ERROR_NOT_FOUND) File 514 webkit/browser/fileapi/copy_or_move_operation_delegate.cc error = base::File::FILE_OK; File 582 webkit/browser/fileapi/copy_or_move_operation_delegate.cc callback.Run(base::File::FILE_ERROR_ABORT); File 596 webkit/browser/fileapi/copy_or_move_operation_delegate.cc callback.Run(base::File::FILE_OK); File 621 webkit/browser/fileapi/copy_or_move_operation_delegate.cc callback.Run(base::File::FILE_ERROR_ABORT); File 666 webkit/browser/fileapi/copy_or_move_operation_delegate.cc callback.Run(base::File::FILE_ERROR_ABORT); File 710 webkit/browser/fileapi/copy_or_move_operation_delegate.cc callback_.Run(base::File::FILE_ERROR_INVALID_OPERATION); File 718 webkit/browser/fileapi/copy_or_move_operation_delegate.cc callback_.Run(base::File::FILE_OK); File 746 webkit/browser/fileapi/copy_or_move_operation_delegate.cc base::File::Error error = base::File::FILE_ERROR_FAILED; File 750 webkit/browser/fileapi/copy_or_move_operation_delegate.cc if (error != base::File::FILE_OK) { File 815 webkit/browser/fileapi/copy_or_move_operation_delegate.cc src_url, callback, base::File::FILE_OK); File 838 webkit/browser/fileapi/copy_or_move_operation_delegate.cc base::File::Error error) { File 842 webkit/browser/fileapi/copy_or_move_operation_delegate.cc if (!progress_callback_.is_null() && error == base::File::FILE_OK) { File 852 webkit/browser/fileapi/copy_or_move_operation_delegate.cc base::File::Error error) { File 853 webkit/browser/fileapi/copy_or_move_operation_delegate.cc if (error == base::File::FILE_ERROR_NOT_A_DIRECTORY) { File 854 webkit/browser/fileapi/copy_or_move_operation_delegate.cc callback_.Run(base::File::FILE_ERROR_INVALID_OPERATION); File 857 webkit/browser/fileapi/copy_or_move_operation_delegate.cc if (error != base::File::FILE_OK && File 858 webkit/browser/fileapi/copy_or_move_operation_delegate.cc error != base::File::FILE_ERROR_NOT_FOUND) { File 884 webkit/browser/fileapi/copy_or_move_operation_delegate.cc base::File::Error error) { File 885 webkit/browser/fileapi/copy_or_move_operation_delegate.cc if (!progress_callback_.is_null() && error == base::File::FILE_OK) { File 896 webkit/browser/fileapi/copy_or_move_operation_delegate.cc base::File::Error error, File 897 webkit/browser/fileapi/copy_or_move_operation_delegate.cc const base::File::Info& file_info) { File 898 webkit/browser/fileapi/copy_or_move_operation_delegate.cc if (error != base::File::FILE_OK) { File 901 webkit/browser/fileapi/copy_or_move_operation_delegate.cc src_url, callback, base::File::FILE_OK); File 916 webkit/browser/fileapi/copy_or_move_operation_delegate.cc base::File::Error error) { File 920 webkit/browser/fileapi/copy_or_move_operation_delegate.cc callback.Run(base::File::FILE_OK); File 936 webkit/browser/fileapi/copy_or_move_operation_delegate.cc base::File::Error error) { File 937 webkit/browser/fileapi/copy_or_move_operation_delegate.cc if (error == base::File::FILE_ERROR_NOT_FOUND) File 938 webkit/browser/fileapi/copy_or_move_operation_delegate.cc error = base::File::FILE_OK; File 122 webkit/browser/fileapi/copy_or_move_operation_delegate.h base::File::Error error); File 124 webkit/browser/fileapi/copy_or_move_operation_delegate.h base::File::Error error); File 131 webkit/browser/fileapi/copy_or_move_operation_delegate.h base::File::Error error); File 135 webkit/browser/fileapi/copy_or_move_operation_delegate.h base::File::Error error, File 136 webkit/browser/fileapi/copy_or_move_operation_delegate.h const base::File::Info& file_info); File 139 webkit/browser/fileapi/copy_or_move_operation_delegate.h base::File::Error error); File 141 webkit/browser/fileapi/copy_or_move_operation_delegate.h base::File::Error error); File 51 webkit/browser/fileapi/dragged_file_util.cc base::File::Info file_info_; File 60 webkit/browser/fileapi/dragged_file_util.cc base::File::Error DraggedFileUtil::GetFileInfo( File 63 webkit/browser/fileapi/dragged_file_util.cc base::File::Info* file_info, File 77 webkit/browser/fileapi/dragged_file_util.cc return base::File::FILE_OK; File 79 webkit/browser/fileapi/dragged_file_util.cc base::File::Error error = File 83 webkit/browser/fileapi/dragged_file_util.cc return base::File::FILE_ERROR_NOT_FOUND; File 85 webkit/browser/fileapi/dragged_file_util.cc if (error == base::File::FILE_OK) File 26 webkit/browser/fileapi/dragged_file_util.h virtual base::File::Error GetFileInfo( File 29 webkit/browser/fileapi/dragged_file_util.h base::File::Info* file_info, File 47 webkit/browser/fileapi/file_system_backend.h base::File::Error error)> File 77 webkit/browser/fileapi/file_system_backend.h FileSystemType type, base::File::Error* error_code) = 0; File 88 webkit/browser/fileapi/file_system_backend.h base::File::Error* error_code) const = 0; File 51 webkit/browser/fileapi/file_system_context.cc base::File::Error error, File 52 webkit/browser/fileapi/file_system_context.cc const base::File::Info& file_info) { File 53 webkit/browser/fileapi/file_system_context.cc if (error != base::File::FILE_OK) { File 193 webkit/browser/fileapi/file_system_context.cc != base::File::FILE_OK) { File 242 webkit/browser/fileapi/file_system_context.cc FileSystemType type, base::File::Error* error_code) const { File 244 webkit/browser/fileapi/file_system_context.cc *error_code = base::File::FILE_OK; File 306 webkit/browser/fileapi/file_system_context.cc callback.Run(GURL(), std::string(), base::File::FILE_ERROR_SECURITY); File 312 webkit/browser/fileapi/file_system_context.cc callback.Run(GURL(), std::string(), base::File::FILE_ERROR_SECURITY); File 332 webkit/browser/fileapi/file_system_context.cc callback.Run(base::File::FILE_ERROR_SECURITY, File 359 webkit/browser/fileapi/file_system_context.cc callback.Run(base::File::FILE_ERROR_NOT_FOUND); File 372 webkit/browser/fileapi/file_system_context.cc callback.Run(base::File::FILE_ERROR_SECURITY); File 376 webkit/browser/fileapi/file_system_context.cc callback.Run(base::File::FILE_ERROR_INVALID_OPERATION); File 477 webkit/browser/fileapi/file_system_context.cc const FileSystemURL& url, base::File::Error* error_code) { File 480 webkit/browser/fileapi/file_system_context.cc *error_code = base::File::FILE_ERROR_INVALID_URL; File 487 webkit/browser/fileapi/file_system_context.cc *error_code = base::File::FILE_ERROR_FAILED; File 491 webkit/browser/fileapi/file_system_context.cc base::File::Error fs_error = base::File::FILE_OK; File 559 webkit/browser/fileapi/file_system_context.cc base::File::Error error) { File 562 webkit/browser/fileapi/file_system_context.cc if (error != base::File::FILE_OK) { File 81 webkit/browser/fileapi/file_system_context.h const base::Callback<void(base::File::Error result)>& callback)> File 158 webkit/browser/fileapi/file_system_context.h FileSystemType type, base::File::Error* error_code) const; File 187 webkit/browser/fileapi/file_system_context.h base::File::Error result)> File 191 webkit/browser/fileapi/file_system_context.h typedef base::Callback<void(base::File::Error result, File 197 webkit/browser/fileapi/file_system_context.h typedef base::Callback<void(base::File::Error result)> StatusCallback; File 327 webkit/browser/fileapi/file_system_context.h base::File::Error* error_code); File 347 webkit/browser/fileapi/file_system_context.h base::File::Error error); File 98 webkit/browser/fileapi/file_system_dir_url_request_job.cc DidReadDirectory(base::File::FILE_OK, File 112 webkit/browser/fileapi/file_system_dir_url_request_job.cc void FileSystemDirURLRequestJob::DidAttemptAutoMount(base::File::Error result) { File 123 webkit/browser/fileapi/file_system_dir_url_request_job.cc base::File::Error result, File 126 webkit/browser/fileapi/file_system_dir_url_request_job.cc if (result != base::File::FILE_OK) { File 128 webkit/browser/fileapi/file_system_dir_url_request_job.cc if (result == base::File::FILE_ERROR_INVALID_URL) File 53 webkit/browser/fileapi/file_system_dir_url_request_job.h void DidAttemptAutoMount(base::File::Error result); File 54 webkit/browser/fileapi/file_system_dir_url_request_job.h void DidReadDirectory(base::File::Error result, File 120 webkit/browser/fileapi/file_system_file_stream_reader.cc base::File::Error file_error, File 121 webkit/browser/fileapi/file_system_file_stream_reader.cc const base::File::Info& file_info, File 128 webkit/browser/fileapi/file_system_file_stream_reader.cc if (file_error != base::File::FILE_OK) { File 60 webkit/browser/fileapi/file_system_file_stream_reader.h base::File::Error file_error, File 61 webkit/browser/fileapi/file_system_file_stream_reader.h const base::File::Info& file_info, File 64 webkit/browser/fileapi/file_system_file_util.h virtual base::File::Error CreateOrOpen( File 73 webkit/browser/fileapi/file_system_file_util.h virtual base::File::Error Close( File 80 webkit/browser/fileapi/file_system_file_util.h virtual base::File::Error EnsureFileExists( File 86 webkit/browser/fileapi/file_system_file_util.h virtual base::File::Error CreateDirectory( File 94 webkit/browser/fileapi/file_system_file_util.h virtual base::File::Error GetFileInfo( File 97 webkit/browser/fileapi/file_system_file_util.h base::File::Info* file_info, File 114 webkit/browser/fileapi/file_system_file_util.h virtual base::File::Error GetLocalFilePath( File 121 webkit/browser/fileapi/file_system_file_util.h virtual base::File::Error Touch( File 129 webkit/browser/fileapi/file_system_file_util.h virtual base::File::Error Truncate( File 147 webkit/browser/fileapi/file_system_file_util.h virtual base::File::Error CopyOrMoveFile( File 157 webkit/browser/fileapi/file_system_file_util.h virtual base::File::Error CopyInForeignFile( File 164 webkit/browser/fileapi/file_system_file_util.h virtual base::File::Error DeleteFile( File 170 webkit/browser/fileapi/file_system_file_util.h virtual base::File::Error DeleteDirectory( File 182 webkit/browser/fileapi/file_system_file_util.h base::File::Error* error, File 183 webkit/browser/fileapi/file_system_file_util.h base::File::Info* file_info, File 70 webkit/browser/fileapi/file_system_operation.h typedef base::Callback<void(base::File::Error result)> StatusCallback; File 75 webkit/browser/fileapi/file_system_operation.h void(base::File::Error result, File 76 webkit/browser/fileapi/file_system_operation.h const base::File::Info& file_info)> GetMetadataCallback; File 82 webkit/browser/fileapi/file_system_operation.h void(base::File::Error result, File 93 webkit/browser/fileapi/file_system_operation.h void(base::File::Error result, File 119 webkit/browser/fileapi/file_system_operation.h void(base::File::Error result, File 120 webkit/browser/fileapi/file_system_operation.h const base::File::Info& file_info, File 225 webkit/browser/fileapi/file_system_operation.h typedef base::Callback<void(base::File::Error result, File 456 webkit/browser/fileapi/file_system_operation.h virtual base::File::Error SyncGetPlatformPath( File 53 webkit/browser/fileapi/file_system_operation_impl.cc base::Bind(callback, base::File::FILE_ERROR_FAILED)); File 66 webkit/browser/fileapi/file_system_operation_impl.cc base::Bind(callback, base::File::FILE_ERROR_FAILED)); File 185 webkit/browser/fileapi/file_system_operation_impl.cc base::Bind(callback, base::File::FILE_ERROR_FAILED)); File 207 webkit/browser/fileapi/file_system_operation_impl.cc callback.Run(base::File::FILE_ERROR_FAILED, File 217 webkit/browser/fileapi/file_system_operation_impl.cc base::Bind(callback, base::File::FILE_ERROR_FAILED, File 260 webkit/browser/fileapi/file_system_operation_impl.cc base::Bind(callback, base::File::FILE_ERROR_FAILED)); File 297 webkit/browser/fileapi/file_system_operation_impl.cc base::Bind(callback, base::File::FILE_ERROR_FAILED)); File 312 webkit/browser/fileapi/file_system_operation_impl.cc base::Bind(callback, base::File::FILE_ERROR_FAILED)); File 315 webkit/browser/fileapi/file_system_operation_impl.cc base::File::Error FileSystemOperationImpl::SyncGetPlatformPath( File 320 webkit/browser/fileapi/file_system_operation_impl.cc return base::File::FILE_ERROR_INVALID_OPERATION; File 324 webkit/browser/fileapi/file_system_operation_impl.cc return base::File::FILE_OK; File 459 webkit/browser/fileapi/file_system_operation_impl.cc base::File::Error rv, bool created) { File 460 webkit/browser/fileapi/file_system_operation_impl.cc if (rv == base::File::FILE_OK && !created) { File 461 webkit/browser/fileapi/file_system_operation_impl.cc callback.Run(base::File::FILE_ERROR_EXISTS); File 469 webkit/browser/fileapi/file_system_operation_impl.cc base::File::Error rv, bool /* created */) { File 475 webkit/browser/fileapi/file_system_operation_impl.cc base::File::Error rv) { File 481 webkit/browser/fileapi/file_system_operation_impl.cc cancel_callback.Run(rv == base::File::FILE_ERROR_ABORT ? File 482 webkit/browser/fileapi/file_system_operation_impl.cc base::File::FILE_OK : File 483 webkit/browser/fileapi/file_system_operation_impl.cc base::File::FILE_ERROR_INVALID_OPERATION); File 491 webkit/browser/fileapi/file_system_operation_impl.cc base::File::Error rv, File 492 webkit/browser/fileapi/file_system_operation_impl.cc const base::File::Info& file_info) { File 493 webkit/browser/fileapi/file_system_operation_impl.cc if (rv == base::File::FILE_OK && !file_info.is_directory) File 494 webkit/browser/fileapi/file_system_operation_impl.cc rv = base::File::FILE_ERROR_NOT_A_DIRECTORY; File 500 webkit/browser/fileapi/file_system_operation_impl.cc base::File::Error rv, File 501 webkit/browser/fileapi/file_system_operation_impl.cc const base::File::Info& file_info) { File 502 webkit/browser/fileapi/file_system_operation_impl.cc if (rv == base::File::FILE_OK && file_info.is_directory) File 503 webkit/browser/fileapi/file_system_operation_impl.cc rv = base::File::FILE_ERROR_NOT_A_FILE; File 510 webkit/browser/fileapi/file_system_operation_impl.cc base::File::Error rv) { File 511 webkit/browser/fileapi/file_system_operation_impl.cc if (rv == base::File::FILE_ERROR_INVALID_OPERATION) { File 529 webkit/browser/fileapi/file_system_operation_impl.cc base::File::Error rv, File 543 webkit/browser/fileapi/file_system_operation_impl.cc cancel_callback.Run(base::File::FILE_OK); File 548 webkit/browser/fileapi/file_system_operation_impl.cc base::File::Error rv, File 93 webkit/browser/fileapi/file_system_operation_impl.h virtual base::File::Error SyncGetPlatformPath( File 154 webkit/browser/fileapi/file_system_operation_impl.h base::File::Error rv, File 159 webkit/browser/fileapi/file_system_operation_impl.h base::File::Error rv, File 163 webkit/browser/fileapi/file_system_operation_impl.h base::File::Error rv); File 165 webkit/browser/fileapi/file_system_operation_impl.h base::File::Error rv, File 166 webkit/browser/fileapi/file_system_operation_impl.h const base::File::Info& file_info); File 168 webkit/browser/fileapi/file_system_operation_impl.h base::File::Error rv, File 169 webkit/browser/fileapi/file_system_operation_impl.h const base::File::Info& file_info); File 172 webkit/browser/fileapi/file_system_operation_impl.h base::File::Error rv); File 175 webkit/browser/fileapi/file_system_operation_impl.h base::File::Error rv, File 179 webkit/browser/fileapi/file_system_operation_impl.h base::File::Error rv, File 46 webkit/browser/fileapi/file_system_operation_runner.cc base::File::Error error = base::File::FILE_OK; File 69 webkit/browser/fileapi/file_system_operation_runner.cc base::File::Error error = base::File::FILE_OK; File 92 webkit/browser/fileapi/file_system_operation_runner.cc base::File::Error error = base::File::FILE_OK; File 119 webkit/browser/fileapi/file_system_operation_runner.cc base::File::Error error = base::File::FILE_OK; File 140 webkit/browser/fileapi/file_system_operation_runner.cc base::File::Error error = base::File::FILE_OK; File 160 webkit/browser/fileapi/file_system_operation_runner.cc base::File::Error error = base::File::FILE_OK; File 180 webkit/browser/fileapi/file_system_operation_runner.cc base::File::Error error = base::File::FILE_OK; File 186 webkit/browser/fileapi/file_system_operation_runner.cc DidGetMetadata(handle, callback, error, base::File::Info()); File 200 webkit/browser/fileapi/file_system_operation_runner.cc base::File::Error error = base::File::FILE_OK; File 221 webkit/browser/fileapi/file_system_operation_runner.cc base::File::Error error = base::File::FILE_OK; File 244 webkit/browser/fileapi/file_system_operation_runner.cc base::File::Error error = base::File::FILE_OK; File 259 webkit/browser/fileapi/file_system_operation_runner.cc DidWrite(handle, callback, base::File::FILE_ERROR_SECURITY, 0, true); File 283 webkit/browser/fileapi/file_system_operation_runner.cc base::File::Error error = base::File::FILE_OK; File 311 webkit/browser/fileapi/file_system_operation_runner.cc callback.Run(base::File::FILE_ERROR_INVALID_OPERATION); File 322 webkit/browser/fileapi/file_system_operation_runner.cc base::File::Error error = base::File::FILE_OK; File 343 webkit/browser/fileapi/file_system_operation_runner.cc base::File::Error error = base::File::FILE_OK; File 373 webkit/browser/fileapi/file_system_operation_runner.cc base::File::Error error = base::File::FILE_OK; File 379 webkit/browser/fileapi/file_system_operation_runner.cc DidCreateSnapshot(handle, callback, error, base::File::Info(), File 395 webkit/browser/fileapi/file_system_operation_runner.cc base::File::Error error = base::File::FILE_OK; File 414 webkit/browser/fileapi/file_system_operation_runner.cc base::File::Error error = base::File::FILE_OK; File 433 webkit/browser/fileapi/file_system_operation_runner.cc base::File::Error error = base::File::FILE_OK; File 455 webkit/browser/fileapi/file_system_operation_runner.cc base::File::Error error = base::File::FILE_OK; File 476 webkit/browser/fileapi/file_system_operation_runner.cc base::File::Error error = base::File::FILE_OK; File 492 webkit/browser/fileapi/file_system_operation_runner.cc base::File::Error FileSystemOperationRunner::SyncGetPlatformPath( File 495 webkit/browser/fileapi/file_system_operation_runner.cc base::File::Error error = base::File::FILE_OK; File 510 webkit/browser/fileapi/file_system_operation_runner.cc base::File::Error rv) { File 525 webkit/browser/fileapi/file_system_operation_runner.cc base::File::Error rv, File 526 webkit/browser/fileapi/file_system_operation_runner.cc const base::File::Info& file_info) { File 541 webkit/browser/fileapi/file_system_operation_runner.cc base::File::Error rv, File 553 webkit/browser/fileapi/file_system_operation_runner.cc if (rv != base::File::FILE_OK || !has_more) File 560 webkit/browser/fileapi/file_system_operation_runner.cc base::File::Error rv, File 571 webkit/browser/fileapi/file_system_operation_runner.cc if (rv != base::File::FILE_OK || complete) File 578 webkit/browser/fileapi/file_system_operation_runner.cc base::File::Error rv, File 596 webkit/browser/fileapi/file_system_operation_runner.cc base::File::Error rv, File 597 webkit/browser/fileapi/file_system_operation_runner.cc const base::File::Info& file_info, File 682 webkit/browser/fileapi/file_system_operation_runner.cc found_cancel->second.Run(base::File::FILE_ERROR_INVALID_OPERATION); File 237 webkit/browser/fileapi/file_system_operation_runner.h base::File::Error SyncGetPlatformPath(const FileSystemURL& url, File 256 webkit/browser/fileapi/file_system_operation_runner.h base::File::Error rv); File 259 webkit/browser/fileapi/file_system_operation_runner.h base::File::Error rv, File 260 webkit/browser/fileapi/file_system_operation_runner.h const base::File::Info& file_info); File 263 webkit/browser/fileapi/file_system_operation_runner.h base::File::Error rv, File 268 webkit/browser/fileapi/file_system_operation_runner.h base::File::Error rv, File 274 webkit/browser/fileapi/file_system_operation_runner.h base::File::Error rv, File 280 webkit/browser/fileapi/file_system_operation_runner.h base::File::Error rv, File 281 webkit/browser/fileapi/file_system_operation_runner.h const base::File::Info& file_info, File 73 webkit/browser/fileapi/file_system_quota_client.cc base::File::Error result = File 76 webkit/browser/fileapi/file_system_quota_client.cc if (result == base::File::FILE_OK) File 41 webkit/browser/fileapi/file_system_quota_util.h virtual base::File::Error DeleteOriginDataOnFileTaskRunner( File 181 webkit/browser/fileapi/file_system_url_request_job.cc void FileSystemURLRequestJob::DidAttemptAutoMount(base::File::Error result) { File 191 webkit/browser/fileapi/file_system_url_request_job.cc base::File::Error error_code, File 192 webkit/browser/fileapi/file_system_url_request_job.cc const base::File::Info& file_info) { File 193 webkit/browser/fileapi/file_system_url_request_job.cc if (error_code != base::File::FILE_OK) { File 194 webkit/browser/fileapi/file_system_url_request_job.cc NotifyFailed(error_code == base::File::FILE_ERROR_INVALID_URL ? File 64 webkit/browser/fileapi/file_system_url_request_job.h void DidAttemptAutoMount(base::File::Error result); File 65 webkit/browser/fileapi/file_system_url_request_job.h void DidGetMetadata(base::File::Error error_code, File 66 webkit/browser/fileapi/file_system_url_request_job.h const base::File::Info& file_info); File 226 webkit/browser/fileapi/file_system_usage_cache.cc base::File* FileSystemUsageCache::GetFile(const base::FilePath& file_path) { File 232 webkit/browser/fileapi/file_system_usage_cache.cc base::File* new_file = NULL; File 238 webkit/browser/fileapi/file_system_usage_cache.cc new_file = new base::File(file_path, File 239 webkit/browser/fileapi/file_system_usage_cache.cc base::File::FLAG_OPEN_ALWAYS | File 240 webkit/browser/fileapi/file_system_usage_cache.cc base::File::FLAG_READ | File 241 webkit/browser/fileapi/file_system_usage_cache.cc base::File::FLAG_WRITE); File 256 webkit/browser/fileapi/file_system_usage_cache.cc base::File* file = GetFile(file_path); File 266 webkit/browser/fileapi/file_system_usage_cache.cc base::File* file = GetFile(file_path); File 275 webkit/browser/fileapi/file_system_usage_cache.cc base::File* file = GetFile(file_path); File 64 webkit/browser/fileapi/file_system_usage_cache.h typedef std::map<base::FilePath, base::File*> CacheFiles; File 78 webkit/browser/fileapi/file_system_usage_cache.h base::File* GetFile(const base::FilePath& file_path); File 57 webkit/browser/fileapi/file_writer_delegate.cc write_callback_.Run(base::File::FILE_ERROR_ABORT, 0, File 66 webkit/browser/fileapi/file_writer_delegate.cc OnError(base::File::FILE_ERROR_SECURITY); File 72 webkit/browser/fileapi/file_writer_delegate.cc OnError(base::File::FILE_ERROR_SECURITY); File 79 webkit/browser/fileapi/file_writer_delegate.cc OnError(base::File::FILE_ERROR_SECURITY); File 86 webkit/browser/fileapi/file_writer_delegate.cc OnError(base::File::FILE_ERROR_SECURITY); File 92 webkit/browser/fileapi/file_writer_delegate.cc OnError(base::File::FILE_ERROR_FAILED); File 102 webkit/browser/fileapi/file_writer_delegate.cc OnError(base::File::FILE_ERROR_FAILED); File 117 webkit/browser/fileapi/file_writer_delegate.cc OnError(base::File::FILE_ERROR_FAILED); File 171 webkit/browser/fileapi/file_writer_delegate.cc void FileWriterDelegate::OnError(base::File::Error error) { File 195 webkit/browser/fileapi/file_writer_delegate.cc FlushForCompletion(base::File::FILE_OK, bytes_written, File 198 webkit/browser/fileapi/file_writer_delegate.cc write_callback_.Run(base::File::FILE_OK, bytes_written, File 207 webkit/browser/fileapi/file_writer_delegate.cc write_callback_.Run(base::File::FILE_ERROR_ABORT, 0, File 212 webkit/browser/fileapi/file_writer_delegate.cc base::File::Error error, File 222 webkit/browser/fileapi/file_writer_delegate.cc void FileWriterDelegate::OnFlushed(base::File::Error error, File 226 webkit/browser/fileapi/file_writer_delegate.cc if (error == base::File::FILE_OK && flush_error != net::OK) { File 32 webkit/browser/fileapi/file_writer_delegate.h typedef base::Callback<void(base::File::Error result, File 66 webkit/browser/fileapi/file_writer_delegate.h base::File::Error error, File 67 webkit/browser/fileapi/file_writer_delegate.h const base::File::Info& file_info); File 72 webkit/browser/fileapi/file_writer_delegate.h void OnError(base::File::Error error); File 75 webkit/browser/fileapi/file_writer_delegate.h void FlushForCompletion(base::File::Error error, File 78 webkit/browser/fileapi/file_writer_delegate.h void OnFlushed(base::File::Error error, File 70 webkit/browser/fileapi/isolated_file_system_backend.cc base::File::FILE_ERROR_SECURITY)); File 90 webkit/browser/fileapi/isolated_file_system_backend.cc FileSystemType type, base::File::Error* error_code) { File 92 webkit/browser/fileapi/isolated_file_system_backend.cc *error_code = base::File::FILE_OK; File 99 webkit/browser/fileapi/isolated_file_system_backend.cc base::File::Error* error_code) const { File 29 webkit/browser/fileapi/isolated_file_system_backend.h base::File::Error* error_code) OVERRIDE; File 33 webkit/browser/fileapi/isolated_file_system_backend.h base::File::Error* error_code) const OVERRIDE; File 79 webkit/browser/fileapi/local_file_util.cc base::File::Error LocalFileUtil::CreateOrOpen( File 85 webkit/browser/fileapi/local_file_util.cc base::File::Error error = GetLocalFilePath(context, url, &file_path); File 86 webkit/browser/fileapi/local_file_util.cc if (error != base::File::FILE_OK) File 90 webkit/browser/fileapi/local_file_util.cc return base::File::FILE_ERROR_NOT_FOUND; File 93 webkit/browser/fileapi/local_file_util.cc base::File file = NativeFileUtil::CreateOrOpen(file_path, file_flags); File 99 webkit/browser/fileapi/local_file_util.cc return base::File::FILE_OK; File 102 webkit/browser/fileapi/local_file_util.cc base::File::Error LocalFileUtil::Close(FileSystemOperationContext* context, File 104 webkit/browser/fileapi/local_file_util.cc base::File auto_closed(file); File 105 webkit/browser/fileapi/local_file_util.cc return base::File::FILE_OK; File 108 webkit/browser/fileapi/local_file_util.cc base::File::Error LocalFileUtil::EnsureFileExists( File 113 webkit/browser/fileapi/local_file_util.cc base::File::Error error = GetLocalFilePath(context, url, &file_path); File 114 webkit/browser/fileapi/local_file_util.cc if (error != base::File::FILE_OK) File 119 webkit/browser/fileapi/local_file_util.cc base::File::Error LocalFileUtil::CreateDirectory( File 125 webkit/browser/fileapi/local_file_util.cc base::File::Error error = GetLocalFilePath(context, url, &file_path); File 126 webkit/browser/fileapi/local_file_util.cc if (error != base::File::FILE_OK) File 131 webkit/browser/fileapi/local_file_util.cc base::File::Error LocalFileUtil::GetFileInfo( File 134 webkit/browser/fileapi/local_file_util.cc base::File::Info* file_info, File 137 webkit/browser/fileapi/local_file_util.cc base::File::Error error = GetLocalFilePath(context, url, &file_path); File 138 webkit/browser/fileapi/local_file_util.cc if (error != base::File::FILE_OK) File 142 webkit/browser/fileapi/local_file_util.cc return base::File::FILE_ERROR_NOT_FOUND; File 145 webkit/browser/fileapi/local_file_util.cc if (error == base::File::FILE_OK) File 156 webkit/browser/fileapi/local_file_util.cc base::File::FILE_OK) { File 166 webkit/browser/fileapi/local_file_util.cc base::File::Error LocalFileUtil::GetLocalFilePath( File 174 webkit/browser/fileapi/local_file_util.cc return base::File::FILE_ERROR_ACCESS_DENIED; File 177 webkit/browser/fileapi/local_file_util.cc return base::File::FILE_OK; File 180 webkit/browser/fileapi/local_file_util.cc base::File::Error LocalFileUtil::Touch( File 186 webkit/browser/fileapi/local_file_util.cc base::File::Error error = GetLocalFilePath(context, url, &file_path); File 187 webkit/browser/fileapi/local_file_util.cc if (error != base::File::FILE_OK) File 192 webkit/browser/fileapi/local_file_util.cc base::File::Error LocalFileUtil::Truncate( File 197 webkit/browser/fileapi/local_file_util.cc base::File::Error error = GetLocalFilePath(context, url, &file_path); File 198 webkit/browser/fileapi/local_file_util.cc if (error != base::File::FILE_OK) File 203 webkit/browser/fileapi/local_file_util.cc base::File::Error LocalFileUtil::CopyOrMoveFile( File 210 webkit/browser/fileapi/local_file_util.cc base::File::Error error = GetLocalFilePath(context, src_url, &src_file_path); File 211 webkit/browser/fileapi/local_file_util.cc if (error != base::File::FILE_OK) File 216 webkit/browser/fileapi/local_file_util.cc if (error != base::File::FILE_OK) File 224 webkit/browser/fileapi/local_file_util.cc base::File::Error LocalFileUtil::CopyInForeignFile( File 229 webkit/browser/fileapi/local_file_util.cc return base::File::FILE_ERROR_INVALID_OPERATION; File 232 webkit/browser/fileapi/local_file_util.cc base::File::Error error = File 234 webkit/browser/fileapi/local_file_util.cc if (error != base::File::FILE_OK) File 242 webkit/browser/fileapi/local_file_util.cc base::File::Error LocalFileUtil::DeleteFile( File 246 webkit/browser/fileapi/local_file_util.cc base::File::Error error = GetLocalFilePath(context, url, &file_path); File 247 webkit/browser/fileapi/local_file_util.cc if (error != base::File::FILE_OK) File 252 webkit/browser/fileapi/local_file_util.cc base::File::Error LocalFileUtil::DeleteDirectory( File 256 webkit/browser/fileapi/local_file_util.cc base::File::Error error = GetLocalFilePath(context, url, &file_path); File 257 webkit/browser/fileapi/local_file_util.cc if (error != base::File::FILE_OK) File 265 webkit/browser/fileapi/local_file_util.cc base::File::Error* error, File 266 webkit/browser/fileapi/local_file_util.cc base::File::Info* file_info, File 271 webkit/browser/fileapi/local_file_util.cc if (*error == base::File::FILE_OK && file_info->is_directory) File 272 webkit/browser/fileapi/local_file_util.cc *error = base::File::FILE_ERROR_NOT_A_FILE; File 33 webkit/browser/fileapi/local_file_util.h virtual base::File::Error CreateOrOpen( File 39 webkit/browser/fileapi/local_file_util.h virtual base::File::Error Close( File 42 webkit/browser/fileapi/local_file_util.h virtual base::File::Error EnsureFileExists( File 45 webkit/browser/fileapi/local_file_util.h virtual base::File::Error CreateDirectory( File 50 webkit/browser/fileapi/local_file_util.h virtual base::File::Error GetFileInfo( File 53 webkit/browser/fileapi/local_file_util.h base::File::Info* file_info, File 58 webkit/browser/fileapi/local_file_util.h virtual base::File::Error GetLocalFilePath( File 62 webkit/browser/fileapi/local_file_util.h virtual base::File::Error Touch( File 67 webkit/browser/fileapi/local_file_util.h virtual base::File::Error Truncate( File 71 webkit/browser/fileapi/local_file_util.h virtual base::File::Error CopyOrMoveFile( File 77 webkit/browser/fileapi/local_file_util.h virtual base::File::Error CopyInForeignFile( File 81 webkit/browser/fileapi/local_file_util.h virtual base::File::Error DeleteFile( File 84 webkit/browser/fileapi/local_file_util.h virtual base::File::Error DeleteDirectory( File 90 webkit/browser/fileapi/local_file_util.h base::File::Error* error, File 91 webkit/browser/fileapi/local_file_util.h base::File::Info* file_info, File 40 webkit/browser/fileapi/native_file_util.cc base::File infile(from, base::File::FLAG_OPEN | base::File::FLAG_READ); File 45 webkit/browser/fileapi/native_file_util.cc base::File outfile(to, File 46 webkit/browser/fileapi/native_file_util.cc base::File::FLAG_CREATE_ALWAYS | base::File::FLAG_WRITE); File 124 webkit/browser/fileapi/native_file_util.cc base::File NativeFileUtil::CreateOrOpen(const base::FilePath& path, File 128 webkit/browser/fileapi/native_file_util.cc return base::File(base::File::FILE_ERROR_NOT_FOUND); File 133 webkit/browser/fileapi/native_file_util.cc return base::File(base::File::FILE_ERROR_NOT_A_FILE); File 135 webkit/browser/fileapi/native_file_util.cc return base::File(path, file_flags); File 138 webkit/browser/fileapi/native_file_util.cc base::File::Error NativeFileUtil::EnsureFileExists( File 143 webkit/browser/fileapi/native_file_util.cc return base::File::FILE_ERROR_NOT_FOUND; File 147 webkit/browser/fileapi/native_file_util.cc base::File file(path, base::File::FLAG_CREATE | base::File::FLAG_READ); File 152 webkit/browser/fileapi/native_file_util.cc return base::File::FILE_OK; File 155 webkit/browser/fileapi/native_file_util.cc base::File::Error error_code = file.error_details(); File 156 webkit/browser/fileapi/native_file_util.cc if (error_code == base::File::FILE_ERROR_EXISTS) { File 160 webkit/browser/fileapi/native_file_util.cc error_code = base::File::FILE_OK; File 165 webkit/browser/fileapi/native_file_util.cc base::File::Error NativeFileUtil::CreateDirectory( File 171 webkit/browser/fileapi/native_file_util.cc return base::File::FILE_ERROR_NOT_FOUND; File 175 webkit/browser/fileapi/native_file_util.cc return base::File::FILE_ERROR_EXISTS; File 179 webkit/browser/fileapi/native_file_util.cc return base::File::FILE_ERROR_EXISTS; File 182 webkit/browser/fileapi/native_file_util.cc return base::File::FILE_ERROR_FAILED; File 191 webkit/browser/fileapi/native_file_util.cc return base::File::FILE_OK; File 194 webkit/browser/fileapi/native_file_util.cc base::File::Error NativeFileUtil::GetFileInfo( File 196 webkit/browser/fileapi/native_file_util.cc base::File::Info* file_info) { File 198 webkit/browser/fileapi/native_file_util.cc return base::File::FILE_ERROR_NOT_FOUND; File 201 webkit/browser/fileapi/native_file_util.cc return base::File::FILE_ERROR_FAILED; File 202 webkit/browser/fileapi/native_file_util.cc return base::File::FILE_OK; File 214 webkit/browser/fileapi/native_file_util.cc base::File::Error NativeFileUtil::Touch( File 219 webkit/browser/fileapi/native_file_util.cc return base::File::FILE_ERROR_FAILED; File 220 webkit/browser/fileapi/native_file_util.cc return base::File::FILE_OK; File 223 webkit/browser/fileapi/native_file_util.cc base::File::Error NativeFileUtil::Truncate(const base::FilePath& path, File 225 webkit/browser/fileapi/native_file_util.cc base::File file(path, base::File::FLAG_OPEN | base::File::FLAG_WRITE); File 230 webkit/browser/fileapi/native_file_util.cc return base::File::FILE_ERROR_FAILED; File 232 webkit/browser/fileapi/native_file_util.cc return base::File::FILE_OK; File 243 webkit/browser/fileapi/native_file_util.cc base::File::Error NativeFileUtil::CopyOrMoveFile( File 248 webkit/browser/fileapi/native_file_util.cc base::File::Info info; File 249 webkit/browser/fileapi/native_file_util.cc base::File::Error error = NativeFileUtil::GetFileInfo(src_path, &info); File 250 webkit/browser/fileapi/native_file_util.cc if (error != base::File::FILE_OK) File 253 webkit/browser/fileapi/native_file_util.cc return base::File::FILE_ERROR_NOT_A_FILE; File 257 webkit/browser/fileapi/native_file_util.cc if (error != base::File::FILE_OK && File 258 webkit/browser/fileapi/native_file_util.cc error != base::File::FILE_ERROR_NOT_FOUND) File 261 webkit/browser/fileapi/native_file_util.cc return base::File::FILE_ERROR_INVALID_OPERATION; File 262 webkit/browser/fileapi/native_file_util.cc if (error == base::File::FILE_ERROR_NOT_FOUND) { File 264 webkit/browser/fileapi/native_file_util.cc if (error != base::File::FILE_OK) File 267 webkit/browser/fileapi/native_file_util.cc return base::File::FILE_ERROR_NOT_FOUND; File 273 webkit/browser/fileapi/native_file_util.cc return base::File::FILE_ERROR_FAILED; File 277 webkit/browser/fileapi/native_file_util.cc return base::File::FILE_ERROR_FAILED; File 281 webkit/browser/fileapi/native_file_util.cc return base::File::FILE_ERROR_FAILED; File 290 webkit/browser/fileapi/native_file_util.cc return base::File::FILE_OK; File 293 webkit/browser/fileapi/native_file_util.cc base::File::Error NativeFileUtil::DeleteFile(const base::FilePath& path) { File 295 webkit/browser/fileapi/native_file_util.cc return base::File::FILE_ERROR_NOT_FOUND; File 297 webkit/browser/fileapi/native_file_util.cc return base::File::FILE_ERROR_NOT_A_FILE; File 299 webkit/browser/fileapi/native_file_util.cc return base::File::FILE_ERROR_FAILED; File 300 webkit/browser/fileapi/native_file_util.cc return base::File::FILE_OK; File 303 webkit/browser/fileapi/native_file_util.cc base::File::Error NativeFileUtil::DeleteDirectory(const base::FilePath& path) { File 305 webkit/browser/fileapi/native_file_util.cc return base::File::FILE_ERROR_NOT_FOUND; File 307 webkit/browser/fileapi/native_file_util.cc return base::File::FILE_ERROR_NOT_A_DIRECTORY; File 309 webkit/browser/fileapi/native_file_util.cc return base::File::FILE_ERROR_NOT_EMPTY; File 311 webkit/browser/fileapi/native_file_util.cc return base::File::FILE_ERROR_FAILED; File 312 webkit/browser/fileapi/native_file_util.cc return base::File::FILE_OK; File 41 webkit/browser/fileapi/native_file_util.h static base::File CreateOrOpen(const base::FilePath& path, File 43 webkit/browser/fileapi/native_file_util.h static base::File::Error EnsureFileExists(const base::FilePath& path, File 45 webkit/browser/fileapi/native_file_util.h static base::File::Error CreateDirectory(const base::FilePath& path, File 48 webkit/browser/fileapi/native_file_util.h static base::File::Error GetFileInfo(const base::FilePath& path, File 49 webkit/browser/fileapi/native_file_util.h base::File::Info* file_info); File 53 webkit/browser/fileapi/native_file_util.h static base::File::Error Touch(const base::FilePath& path, File 56 webkit/browser/fileapi/native_file_util.h static base::File::Error Truncate(const base::FilePath& path, File 60 webkit/browser/fileapi/native_file_util.h static base::File::Error CopyOrMoveFile( File 65 webkit/browser/fileapi/native_file_util.h static base::File::Error DeleteFile(const base::FilePath& path); File 66 webkit/browser/fileapi/native_file_util.h static base::File::Error DeleteDirectory(const base::FilePath& path); File 39 webkit/browser/fileapi/native_file_util_unittest.cc base::File::Info info; File 52 webkit/browser/fileapi/native_file_util_unittest.cc int flags = base::File::FLAG_WRITE | base::File::FLAG_ASYNC; File 53 webkit/browser/fileapi/native_file_util_unittest.cc base::File file = File 54 webkit/browser/fileapi/native_file_util_unittest.cc NativeFileUtil::CreateOrOpen(file_name, base::File::FLAG_CREATE | flags); File 63 webkit/browser/fileapi/native_file_util_unittest.cc file = NativeFileUtil::CreateOrOpen(file_name, base::File::FLAG_OPEN | flags); File 68 webkit/browser/fileapi/native_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, File 77 webkit/browser/fileapi/native_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, File 84 webkit/browser/fileapi/native_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, File 91 webkit/browser/fileapi/native_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, File 99 webkit/browser/fileapi/native_file_util_unittest.cc ASSERT_EQ(base::File::FILE_ERROR_EXISTS, File 104 webkit/browser/fileapi/native_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, File 112 webkit/browser/fileapi/native_file_util_unittest.cc base::File::Info native_info; File 113 webkit/browser/fileapi/native_file_util_unittest.cc ASSERT_EQ(base::File::FILE_ERROR_NOT_FOUND, File 117 webkit/browser/fileapi/native_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, File 121 webkit/browser/fileapi/native_file_util_unittest.cc base::File::Info info; File 123 webkit/browser/fileapi/native_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, File 137 webkit/browser/fileapi/native_file_util_unittest.cc EXPECT_EQ(base::File::FILE_OK, File 153 webkit/browser/fileapi/native_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, File 156 webkit/browser/fileapi/native_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, File 158 webkit/browser/fileapi/native_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, File 160 webkit/browser/fileapi/native_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, File 162 webkit/browser/fileapi/native_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, File 196 webkit/browser/fileapi/native_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, File 200 webkit/browser/fileapi/native_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, File 214 webkit/browser/fileapi/native_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, File 218 webkit/browser/fileapi/native_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, File 224 webkit/browser/fileapi/native_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, File 228 webkit/browser/fileapi/native_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, File 240 webkit/browser/fileapi/native_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, File 244 webkit/browser/fileapi/native_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, File 253 webkit/browser/fileapi/native_file_util_unittest.cc EXPECT_EQ(base::File::FILE_ERROR_NOT_FOUND, File 259 webkit/browser/fileapi/native_file_util_unittest.cc EXPECT_EQ(base::File::FILE_ERROR_NOT_A_FILE, File 263 webkit/browser/fileapi/native_file_util_unittest.cc EXPECT_EQ(base::File::FILE_ERROR_INVALID_OPERATION, File 267 webkit/browser/fileapi/native_file_util_unittest.cc EXPECT_EQ(base::File::FILE_ERROR_NOT_FOUND, File 272 webkit/browser/fileapi/native_file_util_unittest.cc EXPECT_EQ(base::File::FILE_ERROR_NOT_FOUND, File 283 webkit/browser/fileapi/native_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, File 287 webkit/browser/fileapi/native_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, NativeFileUtil::Truncate(from_file, 1020)); File 292 webkit/browser/fileapi/native_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, File 300 webkit/browser/fileapi/native_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, File 303 webkit/browser/fileapi/native_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, NativeFileUtil::Truncate(from_file, 1020)); File 306 webkit/browser/fileapi/native_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, File 310 webkit/browser/fileapi/native_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, File 320 webkit/browser/fileapi/native_file_util_unittest.cc EXPECT_EQ(base::File::FILE_ERROR_NOT_FOUND, File 326 webkit/browser/fileapi/native_file_util_unittest.cc EXPECT_EQ(base::File::FILE_ERROR_NOT_A_FILE, File 329 webkit/browser/fileapi/native_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, File 333 webkit/browser/fileapi/native_file_util_unittest.cc EXPECT_EQ(base::File::FILE_ERROR_INVALID_OPERATION, File 337 webkit/browser/fileapi/native_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, File 341 webkit/browser/fileapi/native_file_util_unittest.cc EXPECT_EQ(base::File::FILE_ERROR_NOT_FOUND, File 346 webkit/browser/fileapi/native_file_util_unittest.cc EXPECT_EQ(base::File::FILE_ERROR_NOT_FOUND, File 358 webkit/browser/fileapi/native_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, File 363 webkit/browser/fileapi/native_file_util_unittest.cc base::File::Info file_info1; File 364 webkit/browser/fileapi/native_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, File 368 webkit/browser/fileapi/native_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, File 374 webkit/browser/fileapi/native_file_util_unittest.cc base::File::Info file_info2; File 376 webkit/browser/fileapi/native_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, File 381 webkit/browser/fileapi/native_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, File 388 webkit/browser/fileapi/native_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, File 393 webkit/browser/fileapi/native_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, File 400 webkit/browser/fileapi/native_file_util_unittest.cc ASSERT_EQ(base::File::FILE_OK, File 147 webkit/browser/fileapi/obfuscated_file_util.cc base::File::Error error = File 151 webkit/browser/fileapi/obfuscated_file_util.cc if (error != base::File::FILE_OK) File 207 webkit/browser/fileapi/obfuscated_file_util.cc base::File::Info current_platform_file_info_; File 276 webkit/browser/fileapi/obfuscated_file_util.cc base::File::Error ObfuscatedFileUtil::CreateOrOpen( File 280 webkit/browser/fileapi/obfuscated_file_util.cc base::File::Error error = CreateOrOpenInternal(context, url, file_flags, File 286 webkit/browser/fileapi/obfuscated_file_util.cc DCHECK_EQ(base::File::FILE_OK, error); File 292 webkit/browser/fileapi/obfuscated_file_util.cc base::File::Error ObfuscatedFileUtil::Close( File 295 webkit/browser/fileapi/obfuscated_file_util.cc base::File auto_closed(file); File 296 webkit/browser/fileapi/obfuscated_file_util.cc return base::File::FILE_OK; File 299 webkit/browser/fileapi/obfuscated_file_util.cc base::File::Error ObfuscatedFileUtil::EnsureFileExists( File 305 webkit/browser/fileapi/obfuscated_file_util.cc return base::File::FILE_ERROR_FAILED; File 312 webkit/browser/fileapi/obfuscated_file_util.cc return base::File::FILE_ERROR_FAILED; File 315 webkit/browser/fileapi/obfuscated_file_util.cc return base::File::FILE_ERROR_NOT_A_FILE; File 318 webkit/browser/fileapi/obfuscated_file_util.cc return base::File::FILE_OK; File 322 webkit/browser/fileapi/obfuscated_file_util.cc return base::File::FILE_ERROR_NOT_FOUND; File 330 webkit/browser/fileapi/obfuscated_file_util.cc return base::File::FILE_ERROR_NO_SPACE; File 331 webkit/browser/fileapi/obfuscated_file_util.cc base::File::Error error = CreateFile( File 333 webkit/browser/fileapi/obfuscated_file_util.cc if (created && base::File::FILE_OK == error) { File 342 webkit/browser/fileapi/obfuscated_file_util.cc base::File::Error ObfuscatedFileUtil::CreateDirectory( File 349 webkit/browser/fileapi/obfuscated_file_util.cc return base::File::FILE_ERROR_FAILED; File 355 webkit/browser/fileapi/obfuscated_file_util.cc return base::File::FILE_ERROR_EXISTS; File 358 webkit/browser/fileapi/obfuscated_file_util.cc return base::File::FILE_ERROR_FAILED; File 361 webkit/browser/fileapi/obfuscated_file_util.cc return base::File::FILE_ERROR_NOT_A_DIRECTORY; File 362 webkit/browser/fileapi/obfuscated_file_util.cc return base::File::FILE_OK; File 377 webkit/browser/fileapi/obfuscated_file_util.cc return base::File::FILE_ERROR_NOT_A_DIRECTORY; File 379 webkit/browser/fileapi/obfuscated_file_util.cc return base::File::FILE_ERROR_NOT_FOUND; File 390 webkit/browser/fileapi/obfuscated_file_util.cc return base::File::FILE_ERROR_NO_SPACE; File 391 webkit/browser/fileapi/obfuscated_file_util.cc base::File::Error error = db->AddFileInfo(file_info, &parent_id); File 392 webkit/browser/fileapi/obfuscated_file_util.cc if (error != base::File::FILE_OK) File 402 webkit/browser/fileapi/obfuscated_file_util.cc return base::File::FILE_OK; File 405 webkit/browser/fileapi/obfuscated_file_util.cc base::File::Error ObfuscatedFileUtil::GetFileInfo( File 408 webkit/browser/fileapi/obfuscated_file_util.cc base::File::Info* file_info, File 412 webkit/browser/fileapi/obfuscated_file_util.cc return base::File::FILE_ERROR_NOT_FOUND; File 415 webkit/browser/fileapi/obfuscated_file_util.cc return base::File::FILE_ERROR_NOT_FOUND; File 429 webkit/browser/fileapi/obfuscated_file_util.cc base::File::Error ObfuscatedFileUtil::GetLocalFilePath( File 435 webkit/browser/fileapi/obfuscated_file_util.cc return base::File::FILE_ERROR_NOT_FOUND; File 438 webkit/browser/fileapi/obfuscated_file_util.cc return base::File::FILE_ERROR_NOT_FOUND; File 443 webkit/browser/fileapi/obfuscated_file_util.cc return base::File::FILE_ERROR_NOT_FOUND; File 448 webkit/browser/fileapi/obfuscated_file_util.cc return base::File::FILE_ERROR_NOT_FOUND; File 449 webkit/browser/fileapi/obfuscated_file_util.cc return base::File::FILE_OK; File 452 webkit/browser/fileapi/obfuscated_file_util.cc base::File::Error ObfuscatedFileUtil::Touch( File 459 webkit/browser/fileapi/obfuscated_file_util.cc return base::File::FILE_ERROR_NOT_FOUND; File 462 webkit/browser/fileapi/obfuscated_file_util.cc return base::File::FILE_ERROR_NOT_FOUND; File 467 webkit/browser/fileapi/obfuscated_file_util.cc return base::File::FILE_ERROR_FAILED; File 471 webkit/browser/fileapi/obfuscated_file_util.cc return base::File::FILE_ERROR_FAILED; File 472 webkit/browser/fileapi/obfuscated_file_util.cc return base::File::FILE_OK; File 479 webkit/browser/fileapi/obfuscated_file_util.cc base::File::Error ObfuscatedFileUtil::Truncate( File 483 webkit/browser/fileapi/obfuscated_file_util.cc base::File::Info file_info; File 485 webkit/browser/fileapi/obfuscated_file_util.cc base::File::Error error = File 487 webkit/browser/fileapi/obfuscated_file_util.cc if (error != base::File::FILE_OK) File 492 webkit/browser/fileapi/obfuscated_file_util.cc return base::File::FILE_ERROR_NO_SPACE; File 494 webkit/browser/fileapi/obfuscated_file_util.cc if (error == base::File::FILE_OK) { File 502 webkit/browser/fileapi/obfuscated_file_util.cc base::File::Error ObfuscatedFileUtil::CopyOrMoveFile( File 514 webkit/browser/fileapi/obfuscated_file_util.cc return base::File::FILE_ERROR_FAILED; File 518 webkit/browser/fileapi/obfuscated_file_util.cc return base::File::FILE_ERROR_NOT_FOUND; File 525 webkit/browser/fileapi/obfuscated_file_util.cc base::File::Info src_platform_file_info; File 527 webkit/browser/fileapi/obfuscated_file_util.cc base::File::Error error = GetFileInfoInternal( File 530 webkit/browser/fileapi/obfuscated_file_util.cc if (error != base::File::FILE_OK) File 533 webkit/browser/fileapi/obfuscated_file_util.cc return base::File::FILE_ERROR_NOT_A_FILE; File 536 webkit/browser/fileapi/obfuscated_file_util.cc base::File::Info dest_platform_file_info; // overwrite case only File 539 webkit/browser/fileapi/obfuscated_file_util.cc base::File::Error error = GetFileInfoInternal( File 542 webkit/browser/fileapi/obfuscated_file_util.cc if (error == base::File::FILE_ERROR_NOT_FOUND) File 544 webkit/browser/fileapi/obfuscated_file_util.cc else if (error != base::File::FILE_OK) File 547 webkit/browser/fileapi/obfuscated_file_util.cc return base::File::FILE_ERROR_INVALID_OPERATION; File 553 webkit/browser/fileapi/obfuscated_file_util.cc return base::File::FILE_ERROR_NOT_FOUND; File 572 webkit/browser/fileapi/obfuscated_file_util.cc return base::File::FILE_ERROR_NO_SPACE; File 588 webkit/browser/fileapi/obfuscated_file_util.cc error = base::File::FILE_ERROR_FAILED; File 604 webkit/browser/fileapi/obfuscated_file_util.cc if (base::File::FILE_OK != File 607 webkit/browser/fileapi/obfuscated_file_util.cc error = base::File::FILE_OK; File 609 webkit/browser/fileapi/obfuscated_file_util.cc error = base::File::FILE_ERROR_FAILED; File 613 webkit/browser/fileapi/obfuscated_file_util.cc error = base::File::FILE_OK; File 615 webkit/browser/fileapi/obfuscated_file_util.cc error = base::File::FILE_ERROR_FAILED; File 619 webkit/browser/fileapi/obfuscated_file_util.cc if (error != base::File::FILE_OK) File 644 webkit/browser/fileapi/obfuscated_file_util.cc base::File::Error ObfuscatedFileUtil::CopyInForeignFile( File 650 webkit/browser/fileapi/obfuscated_file_util.cc return base::File::FILE_ERROR_FAILED; File 652 webkit/browser/fileapi/obfuscated_file_util.cc base::File::Info src_platform_file_info; File 654 webkit/browser/fileapi/obfuscated_file_util.cc return base::File::FILE_ERROR_NOT_FOUND; File 661 webkit/browser/fileapi/obfuscated_file_util.cc base::File::Info dest_platform_file_info; // overwrite case only File 664 webkit/browser/fileapi/obfuscated_file_util.cc base::File::Error error = GetFileInfoInternal( File 667 webkit/browser/fileapi/obfuscated_file_util.cc if (error == base::File::FILE_ERROR_NOT_FOUND) File 669 webkit/browser/fileapi/obfuscated_file_util.cc else if (error != base::File::FILE_OK) File 672 webkit/browser/fileapi/obfuscated_file_util.cc return base::File::FILE_ERROR_INVALID_OPERATION; File 678 webkit/browser/fileapi/obfuscated_file_util.cc return base::File::FILE_ERROR_NOT_FOUND; File 681 webkit/browser/fileapi/obfuscated_file_util.cc return base::File::FILE_ERROR_FAILED; File 692 webkit/browser/fileapi/obfuscated_file_util.cc return base::File::FILE_ERROR_NO_SPACE; File 694 webkit/browser/fileapi/obfuscated_file_util.cc base::File::Error error; File 708 webkit/browser/fileapi/obfuscated_file_util.cc if (error != base::File::FILE_OK) File 721 webkit/browser/fileapi/obfuscated_file_util.cc return base::File::FILE_OK; File 724 webkit/browser/fileapi/obfuscated_file_util.cc base::File::Error ObfuscatedFileUtil::DeleteFile( File 729 webkit/browser/fileapi/obfuscated_file_util.cc return base::File::FILE_ERROR_FAILED; File 732 webkit/browser/fileapi/obfuscated_file_util.cc return base::File::FILE_ERROR_NOT_FOUND; File 735 webkit/browser/fileapi/obfuscated_file_util.cc base::File::Info platform_file_info; File 737 webkit/browser/fileapi/obfuscated_file_util.cc base::File::Error error = GetFileInfoInternal( File 739 webkit/browser/fileapi/obfuscated_file_util.cc if (error != base::File::FILE_ERROR_NOT_FOUND && File 740 webkit/browser/fileapi/obfuscated_file_util.cc error != base::File::FILE_OK) File 744 webkit/browser/fileapi/obfuscated_file_util.cc return base::File::FILE_ERROR_NOT_A_FILE; File 750 webkit/browser/fileapi/obfuscated_file_util.cc return base::File::FILE_ERROR_FAILED; File 758 webkit/browser/fileapi/obfuscated_file_util.cc if (error == base::File::FILE_ERROR_NOT_FOUND) File 759 webkit/browser/fileapi/obfuscated_file_util.cc return base::File::FILE_OK; File 762 webkit/browser/fileapi/obfuscated_file_util.cc if (base::File::FILE_OK != error) File 764 webkit/browser/fileapi/obfuscated_file_util.cc return base::File::FILE_OK; File 767 webkit/browser/fileapi/obfuscated_file_util.cc base::File::Error ObfuscatedFileUtil::DeleteDirectory( File 772 webkit/browser/fileapi/obfuscated_file_util.cc return base::File::FILE_ERROR_FAILED; File 776 webkit/browser/fileapi/obfuscated_file_util.cc return base::File::FILE_ERROR_NOT_FOUND; File 780 webkit/browser/fileapi/obfuscated_file_util.cc return base::File::FILE_ERROR_FAILED; File 783 webkit/browser/fileapi/obfuscated_file_util.cc return base::File::FILE_ERROR_NOT_A_DIRECTORY; File 785 webkit/browser/fileapi/obfuscated_file_util.cc return base::File::FILE_ERROR_NOT_EMPTY; File 792 webkit/browser/fileapi/obfuscated_file_util.cc return base::File::FILE_OK; File 798 webkit/browser/fileapi/obfuscated_file_util.cc base::File::Error* error, File 799 webkit/browser/fileapi/obfuscated_file_util.cc base::File::Info* file_info, File 803 webkit/browser/fileapi/obfuscated_file_util.cc if (*error == base::File::FILE_OK && file_info->is_directory) { File 804 webkit/browser/fileapi/obfuscated_file_util.cc *file_info = base::File::Info(); File 805 webkit/browser/fileapi/obfuscated_file_util.cc *error = base::File::FILE_ERROR_NOT_A_FILE; File 851 webkit/browser/fileapi/obfuscated_file_util.cc base::File::Error* error_code) { File 858 webkit/browser/fileapi/obfuscated_file_util.cc base::File::Error error = base::File::FILE_OK; File 862 webkit/browser/fileapi/obfuscated_file_util.cc base::File::FILE_ERROR_FAILED : File 863 webkit/browser/fileapi/obfuscated_file_util.cc base::File::FILE_ERROR_NOT_FOUND; File 874 webkit/browser/fileapi/obfuscated_file_util.cc base::File::Error error = base::File::FILE_OK; File 879 webkit/browser/fileapi/obfuscated_file_util.cc if (error != base::File::FILE_ERROR_NOT_FOUND) { File 945 webkit/browser/fileapi/obfuscated_file_util.cc base::File::Error error = base::File::FILE_OK; File 948 webkit/browser/fileapi/obfuscated_file_util.cc if (path.empty() || error == base::File::FILE_ERROR_NOT_FOUND) File 974 webkit/browser/fileapi/obfuscated_file_util.cc base::File::Error error = base::File::FILE_ERROR_FAILED; File 977 webkit/browser/fileapi/obfuscated_file_util.cc if (error != base::File::FILE_OK) File 994 webkit/browser/fileapi/obfuscated_file_util.cc base::File::Error* error_code) { File 1005 webkit/browser/fileapi/obfuscated_file_util.cc base::File::Error ObfuscatedFileUtil::GetFileInfoInternal( File 1011 webkit/browser/fileapi/obfuscated_file_util.cc base::File::Info* file_info, File 1020 webkit/browser/fileapi/obfuscated_file_util.cc return base::File::FILE_ERROR_FAILED; File 1030 webkit/browser/fileapi/obfuscated_file_util.cc return base::File::FILE_OK; File 1033 webkit/browser/fileapi/obfuscated_file_util.cc return base::File::FILE_ERROR_INVALID_OPERATION; File 1035 webkit/browser/fileapi/obfuscated_file_util.cc base::File::Error error = NativeFileUtil::GetFileInfo( File 1040 webkit/browser/fileapi/obfuscated_file_util.cc error = base::File::FILE_ERROR_NOT_FOUND; File 1042 webkit/browser/fileapi/obfuscated_file_util.cc if (error == base::File::FILE_OK) { File 1044 webkit/browser/fileapi/obfuscated_file_util.cc } else if (error == base::File::FILE_ERROR_NOT_FOUND) { File 1048 webkit/browser/fileapi/obfuscated_file_util.cc return base::File::FILE_ERROR_FAILED; File 1053 webkit/browser/fileapi/obfuscated_file_util.cc base::File::Error ObfuscatedFileUtil::CreateFile( File 1062 webkit/browser/fileapi/obfuscated_file_util.cc base::File::Error error = base::File::FILE_OK; File 1064 webkit/browser/fileapi/obfuscated_file_util.cc if (error != base::File::FILE_OK) File 1069 webkit/browser/fileapi/obfuscated_file_util.cc if (error != base::File::FILE_OK) File 1085 webkit/browser/fileapi/obfuscated_file_util.cc return base::File::FILE_ERROR_FAILED; File 1092 webkit/browser/fileapi/obfuscated_file_util.cc base::File file = File 1097 webkit/browser/fileapi/obfuscated_file_util.cc error = base::File::FILE_OK; File 1107 webkit/browser/fileapi/obfuscated_file_util.cc if (error != base::File::FILE_OK) File 1117 webkit/browser/fileapi/obfuscated_file_util.cc return base::File::FILE_ERROR_FAILED; File 1127 webkit/browser/fileapi/obfuscated_file_util.cc if (error != base::File::FILE_OK) { File 1138 webkit/browser/fileapi/obfuscated_file_util.cc return base::File::FILE_OK; File 1143 webkit/browser/fileapi/obfuscated_file_util.cc base::File::Error error = base::File::FILE_OK; File 1145 webkit/browser/fileapi/obfuscated_file_util.cc if (error != base::File::FILE_OK) File 1178 webkit/browser/fileapi/obfuscated_file_util.cc base::File::Error error = base::File::FILE_OK; File 1180 webkit/browser/fileapi/obfuscated_file_util.cc if (error != base::File::FILE_OK) { File 1193 webkit/browser/fileapi/obfuscated_file_util.cc const GURL& origin, bool create, base::File::Error* error_code) { File 1197 webkit/browser/fileapi/obfuscated_file_util.cc base::File::FILE_ERROR_FAILED : File 1198 webkit/browser/fileapi/obfuscated_file_util.cc base::File::FILE_ERROR_NOT_FOUND; File 1208 webkit/browser/fileapi/obfuscated_file_util.cc *error_code = base::File::FILE_ERROR_NOT_FOUND; File 1213 webkit/browser/fileapi/obfuscated_file_util.cc *error_code = base::File::FILE_ERROR_FAILED; File 1222 webkit/browser/fileapi/obfuscated_file_util.cc *error_code = base::File::FILE_ERROR_FAILED; File 1232 webkit/browser/fileapi/obfuscated_file_util.cc base::File::FILE_ERROR_FAILED : File 1233 webkit/browser/fileapi/obfuscated_file_util.cc base::File::FILE_ERROR_NOT_FOUND; File 1239 webkit/browser/fileapi/obfuscated_file_util.cc *error_code = base::File::FILE_OK; File 1315 webkit/browser/fileapi/obfuscated_file_util.cc base::File::Error ObfuscatedFileUtil::GenerateNewLocalPath( File 1323 webkit/browser/fileapi/obfuscated_file_util.cc return base::File::FILE_ERROR_FAILED; File 1325 webkit/browser/fileapi/obfuscated_file_util.cc base::File::Error error = base::File::FILE_OK; File 1327 webkit/browser/fileapi/obfuscated_file_util.cc if (error != base::File::FILE_OK) File 1328 webkit/browser/fileapi/obfuscated_file_util.cc return base::File::FILE_ERROR_FAILED; File 1337 webkit/browser/fileapi/obfuscated_file_util.cc if (error != base::File::FILE_OK) File 1342 webkit/browser/fileapi/obfuscated_file_util.cc return base::File::FILE_OK; File 1345 webkit/browser/fileapi/obfuscated_file_util.cc base::File::Error ObfuscatedFileUtil::CreateOrOpenInternal( File 1354 webkit/browser/fileapi/obfuscated_file_util.cc return base::File::FILE_ERROR_FAILED; File 1360 webkit/browser/fileapi/obfuscated_file_util.cc return base::File::FILE_ERROR_NOT_FOUND; File 1364 webkit/browser/fileapi/obfuscated_file_util.cc return base::File::FILE_ERROR_NOT_FOUND; File 1371 webkit/browser/fileapi/obfuscated_file_util.cc return base::File::FILE_ERROR_NO_SPACE; File 1372 webkit/browser/fileapi/obfuscated_file_util.cc base::File::Error error = CreateFile( File 1375 webkit/browser/fileapi/obfuscated_file_util.cc if (created && base::File::FILE_OK == error) { File 1385 webkit/browser/fileapi/obfuscated_file_util.cc return base::File::FILE_ERROR_EXISTS; File 1387 webkit/browser/fileapi/obfuscated_file_util.cc base::File::Info platform_file_info; File 1390 webkit/browser/fileapi/obfuscated_file_util.cc base::File::Error error = GetFileInfoInternal( File 1392 webkit/browser/fileapi/obfuscated_file_util.cc if (error != base::File::FILE_OK) File 1395 webkit/browser/fileapi/obfuscated_file_util.cc return base::File::FILE_ERROR_NOT_A_FILE; File 1406 webkit/browser/fileapi/obfuscated_file_util.cc base::File file = NativeFileUtil::CreateOrOpen(local_path, file_flags); File 1409 webkit/browser/fileapi/obfuscated_file_util.cc if (error == base::File::FILE_ERROR_NOT_FOUND) { File 1414 webkit/browser/fileapi/obfuscated_file_util.cc error = base::File::FILE_ERROR_FAILED; File 1428 webkit/browser/fileapi/obfuscated_file_util.cc return base::File::FILE_OK; File 115 webkit/browser/fileapi/obfuscated_file_util.h virtual base::File::Error CreateOrOpen( File 121 webkit/browser/fileapi/obfuscated_file_util.h virtual base::File::Error Close( File 124 webkit/browser/fileapi/obfuscated_file_util.h virtual base::File::Error EnsureFileExists( File 127 webkit/browser/fileapi/obfuscated_file_util.h virtual base::File::Error CreateDirectory( File 132 webkit/browser/fileapi/obfuscated_file_util.h virtual base::File::Error GetFileInfo( File 135 webkit/browser/fileapi/obfuscated_file_util.h base::File::Info* file_info, File 140 webkit/browser/fileapi/obfuscated_file_util.h virtual base::File::Error GetLocalFilePath( File 144 webkit/browser/fileapi/obfuscated_file_util.h virtual base::File::Error Touch( File 149 webkit/browser/fileapi/obfuscated_file_util.h virtual base::File::Error Truncate( File 153 webkit/browser/fileapi/obfuscated_file_util.h virtual base::File::Error CopyOrMoveFile( File 159 webkit/browser/fileapi/obfuscated_file_util.h virtual base::File::Error CopyInForeignFile( File 163 webkit/browser/fileapi/obfuscated_file_util.h virtual base::File::Error DeleteFile( File 166 webkit/browser/fileapi/obfuscated_file_util.h virtual base::File::Error DeleteDirectory( File 172 webkit/browser/fileapi/obfuscated_file_util.h base::File::Error* error, File 173 webkit/browser/fileapi/obfuscated_file_util.h base::File::Info* file_info, File 200 webkit/browser/fileapi/obfuscated_file_util.h base::File::Error* error_code); File 253 webkit/browser/fileapi/obfuscated_file_util.h base::File::Error* error_code); File 258 webkit/browser/fileapi/obfuscated_file_util.h base::File::Error GetFileInfoInternal( File 264 webkit/browser/fileapi/obfuscated_file_util.h base::File::Info* file_info, File 278 webkit/browser/fileapi/obfuscated_file_util.h base::File::Error CreateFile( File 306 webkit/browser/fileapi/obfuscated_file_util.h base::File::Error* error_code); File 319 webkit/browser/fileapi/obfuscated_file_util.h base::File::Error GenerateNewLocalPath( File 325 webkit/browser/fileapi/obfuscated_file_util.h base::File::Error CreateOrOpenInternal( File 69 webkit/browser/fileapi/plugin_private_file_system_backend.cc base::File::Error OpenFileSystemOnFileTaskRunner( File 76 webkit/browser/fileapi/plugin_private_file_system_backend.cc base::File::Error error = base::File::FILE_ERROR_FAILED; File 80 webkit/browser/fileapi/plugin_private_file_system_backend.cc if (error == base::File::FILE_OK) File 126 webkit/browser/fileapi/plugin_private_file_system_backend.cc FROM_HERE, base::Bind(callback, base::File::FILE_ERROR_SECURITY)); File 155 webkit/browser/fileapi/plugin_private_file_system_backend.cc base::File::FILE_ERROR_SECURITY)); File 166 webkit/browser/fileapi/plugin_private_file_system_backend.cc base::File::Error* error_code) { File 168 webkit/browser/fileapi/plugin_private_file_system_backend.cc *error_code = base::File::FILE_OK; File 175 webkit/browser/fileapi/plugin_private_file_system_backend.cc base::File::Error* error_code) const { File 207 webkit/browser/fileapi/plugin_private_file_system_backend.cc base::File::Error File 214 webkit/browser/fileapi/plugin_private_file_system_backend.cc return base::File::FILE_ERROR_SECURITY; File 218 webkit/browser/fileapi/plugin_private_file_system_backend.cc return base::File::FILE_OK; File 219 webkit/browser/fileapi/plugin_private_file_system_backend.cc return base::File::FILE_ERROR_FAILED; File 38 webkit/browser/fileapi/plugin_private_file_system_backend.h typedef base::Callback<void(base::File::Error result)> StatusCallback; File 70 webkit/browser/fileapi/plugin_private_file_system_backend.h base::File::Error* error_code) OVERRIDE; File 74 webkit/browser/fileapi/plugin_private_file_system_backend.h base::File::Error* error_code) const OVERRIDE; File 88 webkit/browser/fileapi/plugin_private_file_system_backend.h virtual base::File::Error DeleteOriginDataOnFileTaskRunner( File 43 webkit/browser/fileapi/quota/quota_backend_impl.cc callback.Run(base::File::FILE_OK, 0); File 74 webkit/browser/fileapi/quota/quota_backend_impl.cc if (GetUsageCachePath(origin, type, &path) != base::File::FILE_OK) File 85 webkit/browser/fileapi/quota/quota_backend_impl.cc if (GetUsageCachePath(origin, type, &path) != base::File::FILE_OK) File 96 webkit/browser/fileapi/quota/quota_backend_impl.cc if (GetUsageCachePath(origin, type, &path) != base::File::FILE_OK) File 111 webkit/browser/fileapi/quota/quota_backend_impl.cc callback.Run(base::File::FILE_ERROR_FAILED, 0); File 125 webkit/browser/fileapi/quota/quota_backend_impl.cc if (callback.Run(base::File::FILE_OK, normalized_info.delta)) File 143 webkit/browser/fileapi/quota/quota_backend_impl.cc base::File::Error QuotaBackendImpl::GetUsageCachePath( File 150 webkit/browser/fileapi/quota/quota_backend_impl.cc base::File::Error error = base::File::FILE_OK; File 83 webkit/browser/fileapi/quota/quota_backend_impl.h base::File::Error GetUsageCachePath( File 25 webkit/browser/fileapi/quota/quota_backend_impl_unittest.cc base::File::Error* error_out, File 27 webkit/browser/fileapi/quota/quota_backend_impl_unittest.cc base::File::Error error, File 118 webkit/browser/fileapi/quota/quota_backend_impl_unittest.cc base::File::Error error = base::File::FILE_ERROR_FAILED; File 121 webkit/browser/fileapi/quota/quota_backend_impl_unittest.cc ASSERT_EQ(base::File::FILE_OK, error); File 133 webkit/browser/fileapi/quota/quota_backend_impl_unittest.cc base::File::Error error = File 135 webkit/browser/fileapi/quota/quota_backend_impl_unittest.cc EXPECT_EQ(base::File::FILE_OK, error); File 160 webkit/browser/fileapi/quota/quota_backend_impl_unittest.cc base::File::Error error = base::File::FILE_ERROR_FAILED; File 163 webkit/browser/fileapi/quota/quota_backend_impl_unittest.cc EXPECT_EQ(base::File::FILE_OK, error); File 168 webkit/browser/fileapi/quota/quota_backend_impl_unittest.cc error = base::File::FILE_ERROR_FAILED; File 171 webkit/browser/fileapi/quota/quota_backend_impl_unittest.cc EXPECT_EQ(base::File::FILE_OK, error); File 186 webkit/browser/fileapi/quota/quota_backend_impl_unittest.cc base::File::Error error = base::File::FILE_ERROR_FAILED; File 189 webkit/browser/fileapi/quota/quota_backend_impl_unittest.cc EXPECT_EQ(base::File::FILE_OK, error); File 204 webkit/browser/fileapi/quota/quota_backend_impl_unittest.cc base::File::Error error = base::File::FILE_ERROR_FAILED; File 207 webkit/browser/fileapi/quota/quota_backend_impl_unittest.cc EXPECT_EQ(base::File::FILE_OK, error); File 98 webkit/browser/fileapi/quota/quota_reservation.cc base::File::Error error, File 110 webkit/browser/fileapi/quota/quota_reservation.cc base::File::Error error, File 117 webkit/browser/fileapi/quota/quota_reservation.cc callback.Run(base::File::FILE_ERROR_ABORT); File 121 webkit/browser/fileapi/quota/quota_reservation.cc if (error == base::File::FILE_OK) File 28 webkit/browser/fileapi/quota/quota_reservation.h typedef base::Callback<void(base::File::Error error)> StatusCallback; File 74 webkit/browser/fileapi/quota/quota_reservation.h base::File::Error error, File 78 webkit/browser/fileapi/quota/quota_reservation.h base::File::Error error, File 95 webkit/browser/fileapi/quota/quota_reservation_buffer.cc base::File::Error error, File 98 webkit/browser/fileapi/quota/quota_reservation_buffer.cc if (error == base::File::FILE_OK && reservation_manager) { File 63 webkit/browser/fileapi/quota/quota_reservation_buffer.h base::File::Error error, File 31 webkit/browser/fileapi/quota/quota_reservation_manager.h typedef base::Callback<bool(base::File::Error error, int64 delta)> File 35 webkit/browser/fileapi/quota/quota_reservation_manager_unittest.cc base::File file(path, base::File::FLAG_OPEN_ALWAYS | base::File::FLAG_WRITE); File 56 webkit/browser/fileapi/quota/quota_reservation_manager_unittest.cc base::Bind(base::IgnoreResult(callback), base::File::FILE_OK, delta)); File 158 webkit/browser/fileapi/quota/quota_reservation_manager_unittest.cc void ExpectSuccess(bool* done, base::File::Error error) { File 161 webkit/browser/fileapi/quota/quota_reservation_manager_unittest.cc EXPECT_EQ(base::File::FILE_OK, error); File 57 webkit/browser/fileapi/recursive_operation_delegate.cc base::File::Error error) { File 63 webkit/browser/fileapi/recursive_operation_delegate.cc if (canceled_ || error != base::File::FILE_ERROR_NOT_A_FILE) { File 89 webkit/browser/fileapi/recursive_operation_delegate.cc base::File::Error error) { File 96 webkit/browser/fileapi/recursive_operation_delegate.cc if (canceled_ || error != base::File::FILE_OK) { File 111 webkit/browser/fileapi/recursive_operation_delegate.cc base::File::Error error, File 118 webkit/browser/fileapi/recursive_operation_delegate.cc if (canceled_ || error != base::File::FILE_OK) { File 170 webkit/browser/fileapi/recursive_operation_delegate.cc base::File::Error error) { File 172 webkit/browser/fileapi/recursive_operation_delegate.cc if (error != base::File::FILE_OK) { File 189 webkit/browser/fileapi/recursive_operation_delegate.cc Done(base::File::FILE_ERROR_ABORT); File 203 webkit/browser/fileapi/recursive_operation_delegate.cc Done(base::File::FILE_OK); File 216 webkit/browser/fileapi/recursive_operation_delegate.cc base::File::Error error) { File 224 webkit/browser/fileapi/recursive_operation_delegate.cc if (canceled_ || error != base::File::FILE_OK) { File 232 webkit/browser/fileapi/recursive_operation_delegate.cc void RecursiveOperationDelegate::Done(base::File::Error error) { File 233 webkit/browser/fileapi/recursive_operation_delegate.cc if (canceled_ && error == base::File::FILE_OK) { File 234 webkit/browser/fileapi/recursive_operation_delegate.cc callback_.Run(base::File::FILE_ERROR_ABORT); File 124 webkit/browser/fileapi/recursive_operation_delegate.h base::File::Error error); File 126 webkit/browser/fileapi/recursive_operation_delegate.h void DidProcessDirectory(base::File::Error error); File 128 webkit/browser/fileapi/recursive_operation_delegate.h base::File::Error error, File 132 webkit/browser/fileapi/recursive_operation_delegate.h void DidProcessFile(base::File::Error error); File 134 webkit/browser/fileapi/recursive_operation_delegate.h void DidPostProcessDirectory(base::File::Error error); File 137 webkit/browser/fileapi/recursive_operation_delegate.h void Done(base::File::Error error); File 44 webkit/browser/fileapi/remove_operation_delegate.cc callback.Run(base::File::FILE_OK); File 52 webkit/browser/fileapi/remove_operation_delegate.cc void RemoveOperationDelegate::DidTryRemoveFile(base::File::Error error) { File 53 webkit/browser/fileapi/remove_operation_delegate.cc if (error != base::File::FILE_ERROR_NOT_A_FILE && File 54 webkit/browser/fileapi/remove_operation_delegate.cc error != base::File::FILE_ERROR_SECURITY) { File 65 webkit/browser/fileapi/remove_operation_delegate.cc base::File::Error remove_file_error, File 66 webkit/browser/fileapi/remove_operation_delegate.cc base::File::Error remove_directory_error) { File 68 webkit/browser/fileapi/remove_operation_delegate.cc remove_directory_error == base::File::FILE_ERROR_NOT_A_DIRECTORY ? File 74 webkit/browser/fileapi/remove_operation_delegate.cc base::File::Error error) { File 75 webkit/browser/fileapi/remove_operation_delegate.cc if (error == base::File::FILE_ERROR_NOT_FOUND) { File 76 webkit/browser/fileapi/remove_operation_delegate.cc callback.Run(base::File::FILE_OK); File 32 webkit/browser/fileapi/remove_operation_delegate.h void DidTryRemoveFile(base::File::Error error); File 33 webkit/browser/fileapi/remove_operation_delegate.h void DidTryRemoveDirectory(base::File::Error remove_file_error, File 34 webkit/browser/fileapi/remove_operation_delegate.h base::File::Error remove_directory_error); File 36 webkit/browser/fileapi/remove_operation_delegate.h base::File::Error error); File 45 webkit/browser/fileapi/sandbox_database_test_helper.cc base::File file(picked_file_path, File 46 webkit/browser/fileapi/sandbox_database_test_helper.cc base::File::FLAG_OPEN | base::File::FLAG_READ | File 47 webkit/browser/fileapi/sandbox_database_test_helper.cc base::File::FLAG_WRITE); File 51 webkit/browser/fileapi/sandbox_database_test_helper.cc base::File::Info file_info; File 246 webkit/browser/fileapi/sandbox_directory_database.cc base::File::Info platform_file_info; File 523 webkit/browser/fileapi/sandbox_directory_database.cc base::File::Error SandboxDirectoryDatabase::AddFileInfo( File 526 webkit/browser/fileapi/sandbox_directory_database.cc return base::File::FILE_ERROR_FAILED; File 534 webkit/browser/fileapi/sandbox_directory_database.cc return base::File::FILE_ERROR_EXISTS; File 538 webkit/browser/fileapi/sandbox_directory_database.cc return base::File::FILE_ERROR_NOT_FOUND; File 543 webkit/browser/fileapi/sandbox_directory_database.cc return base::File::FILE_ERROR_NOT_A_DIRECTORY; File 551 webkit/browser/fileapi/sandbox_directory_database.cc return base::File::FILE_ERROR_FAILED; File 556 webkit/browser/fileapi/sandbox_directory_database.cc return base::File::FILE_ERROR_FAILED; File 562 webkit/browser/fileapi/sandbox_directory_database.cc return base::File::FILE_ERROR_FAILED; File 565 webkit/browser/fileapi/sandbox_directory_database.cc return base::File::FILE_OK; File 74 webkit/browser/fileapi/sandbox_directory_database.h base::File::Error AddFileInfo(const FileInfo& info, FileId* file_id); File 54 webkit/browser/fileapi/sandbox_directory_database_unittest.cc base::File::Error AddFileInfo( File 69 webkit/browser/fileapi/sandbox_directory_database_unittest.cc ASSERT_EQ(base::File::FILE_OK, db_->AddFileInfo(info, file_id_out)); File 82 webkit/browser/fileapi/sandbox_directory_database_unittest.cc ASSERT_EQ(base::File::FILE_OK, db_->AddFileInfo(info, &file_id)); File 88 webkit/browser/fileapi/sandbox_directory_database_unittest.cc base::File file(local_path, File 89 webkit/browser/fileapi/sandbox_directory_database_unittest.cc base::File::FLAG_CREATE | base::File::FLAG_WRITE); File 160 webkit/browser/fileapi/sandbox_directory_database_unittest.cc EXPECT_EQ(base::File::FILE_ERROR_NOT_A_DIRECTORY, File 169 webkit/browser/fileapi/sandbox_directory_database_unittest.cc EXPECT_EQ(base::File::FILE_OK, db()->AddFileInfo(info, &file_id)); File 173 webkit/browser/fileapi/sandbox_directory_database_unittest.cc EXPECT_EQ(base::File::FILE_ERROR_EXISTS, AddFileInfo(0, name)); File 175 webkit/browser/fileapi/sandbox_directory_database_unittest.cc EXPECT_EQ(base::File::FILE_OK, AddFileInfo(0, name)); File 178 webkit/browser/fileapi/sandbox_directory_database_unittest.cc EXPECT_EQ(base::File::FILE_OK, AddFileInfo(file_id, name)); File 181 webkit/browser/fileapi/sandbox_directory_database_unittest.cc EXPECT_EQ(base::File::FILE_ERROR_EXISTS, AddFileInfo(file_id, name)); File 183 webkit/browser/fileapi/sandbox_directory_database_unittest.cc EXPECT_EQ(base::File::FILE_OK, AddFileInfo(file_id, name)); File 194 webkit/browser/fileapi/sandbox_directory_database_unittest.cc EXPECT_EQ(base::File::FILE_OK, db()->AddFileInfo(info, &file_id0)); File 195 webkit/browser/fileapi/sandbox_directory_database_unittest.cc EXPECT_EQ(base::File::FILE_OK, AddFileInfo(0, name1)); File 210 webkit/browser/fileapi/sandbox_directory_database_unittest.cc EXPECT_EQ(base::File::FILE_OK, db()->AddFileInfo(info, &file_id0)); File 212 webkit/browser/fileapi/sandbox_directory_database_unittest.cc EXPECT_EQ(base::File::FILE_OK, db()->AddFileInfo(info, &file_id1)); File 228 webkit/browser/fileapi/sandbox_directory_database_unittest.cc EXPECT_EQ(base::File::FILE_OK, db()->AddFileInfo(info, &file_id0)); File 231 webkit/browser/fileapi/sandbox_directory_database_unittest.cc EXPECT_EQ(base::File::FILE_OK, db()->AddFileInfo(info, &file_id1)); File 249 webkit/browser/fileapi/sandbox_directory_database_unittest.cc EXPECT_EQ(base::File::FILE_OK, db()->AddFileInfo(info, &file_id0)); File 251 webkit/browser/fileapi/sandbox_directory_database_unittest.cc EXPECT_EQ(base::File::FILE_OK, db()->AddFileInfo(info, &file_id1)); File 265 webkit/browser/fileapi/sandbox_directory_database_unittest.cc EXPECT_EQ(base::File::FILE_OK, db()->AddFileInfo(info, &file_id0)); File 268 webkit/browser/fileapi/sandbox_directory_database_unittest.cc EXPECT_EQ(base::File::FILE_OK, db()->AddFileInfo(info, &file_id1)); File 291 webkit/browser/fileapi/sandbox_directory_database_unittest.cc EXPECT_EQ(base::File::FILE_OK, db()->AddFileInfo(info, &file_id0)); File 294 webkit/browser/fileapi/sandbox_directory_database_unittest.cc EXPECT_EQ(base::File::FILE_OK, db()->AddFileInfo(info, &file_id1)); File 298 webkit/browser/fileapi/sandbox_directory_database_unittest.cc EXPECT_EQ(base::File::FILE_OK, db()->AddFileInfo(info, &file_id2)); File 327 webkit/browser/fileapi/sandbox_directory_database_unittest.cc EXPECT_EQ(base::File::FILE_OK, db()->AddFileInfo(info, &file_id0)); File 335 webkit/browser/fileapi/sandbox_directory_database_unittest.cc EXPECT_EQ(base::File::FILE_OK, db()->AddFileInfo(info, &file_id1)); File 354 webkit/browser/fileapi/sandbox_directory_database_unittest.cc EXPECT_EQ(base::File::FILE_OK, db()->AddFileInfo(info, &file_id2)); File 361 webkit/browser/fileapi/sandbox_directory_database_unittest.cc EXPECT_EQ(base::File::FILE_OK, db()->AddFileInfo(info, &file_id3)); File 379 webkit/browser/fileapi/sandbox_directory_database_unittest.cc EXPECT_EQ(base::File::FILE_OK, db()->AddFileInfo(info0, &file_id)); File 410 webkit/browser/fileapi/sandbox_directory_database_unittest.cc EXPECT_EQ(base::File::FILE_OK, db()->AddFileInfo(info0, &file_id)); File 427 webkit/browser/fileapi/sandbox_directory_database_unittest.cc EXPECT_EQ(base::File::FILE_OK, db()->AddFileInfo(info0, &directory_id)); File 435 webkit/browser/fileapi/sandbox_directory_database_unittest.cc EXPECT_EQ(base::File::FILE_OK, db()->AddFileInfo(info1, &file_id)); File 447 webkit/browser/fileapi/sandbox_directory_database_unittest.cc EXPECT_EQ(base::File::FILE_OK, db()->AddFileInfo(info0, &file_id)); File 454 webkit/browser/fileapi/sandbox_directory_database_unittest.cc EXPECT_EQ(base::File::FILE_OK, db()->AddFileInfo(info1, &directory_id)); File 466 webkit/browser/fileapi/sandbox_directory_database_unittest.cc EXPECT_EQ(base::File::FILE_OK, db()->AddFileInfo(info0, &file_id0)); File 472 webkit/browser/fileapi/sandbox_directory_database_unittest.cc EXPECT_EQ(base::File::FILE_OK, db()->AddFileInfo(dir_info, &dir_id)); File 480 webkit/browser/fileapi/sandbox_directory_database_unittest.cc EXPECT_EQ(base::File::FILE_OK, db()->AddFileInfo(info1, &file_id1)); File 555 webkit/browser/fileapi/sandbox_directory_database_unittest.cc base::File file(path().Append(FPL("Orphan File")), File 556 webkit/browser/fileapi/sandbox_directory_database_unittest.cc base::File::FLAG_CREATE | base::File::FLAG_WRITE); File 115 webkit/browser/fileapi/sandbox_file_stream_writer.cc base::File::Error file_error, File 116 webkit/browser/fileapi/sandbox_file_stream_writer.cc const base::File::Info& file_info, File 123 webkit/browser/fileapi/sandbox_file_stream_writer.cc if (file_error != base::File::FILE_OK) { File 55 webkit/browser/fileapi/sandbox_file_stream_writer.h base::File::Error file_error, File 56 webkit/browser/fileapi/sandbox_file_stream_writer.h const base::File::Info& file_info, File 73 webkit/browser/fileapi/sandbox_file_system_backend.cc callback.Run(GURL(), std::string(), base::File::FILE_ERROR_SECURITY); File 93 webkit/browser/fileapi/sandbox_file_system_backend.cc base::File::Error* error_code) { File 95 webkit/browser/fileapi/sandbox_file_system_backend.cc *error_code = base::File::FILE_OK; File 102 webkit/browser/fileapi/sandbox_file_system_backend.cc base::File::Error* error_code) const { File 43 webkit/browser/fileapi/sandbox_file_system_backend.h base::File::Error* error_code) OVERRIDE; File 47 webkit/browser/fileapi/sandbox_file_system_backend.h base::File::Error* error_code) const OVERRIDE; File 115 webkit/browser/fileapi/sandbox_file_system_backend_delegate.cc base::File::Error* error_ptr) { File 121 webkit/browser/fileapi/sandbox_file_system_backend_delegate.cc if (*error_ptr != base::File::FILE_OK) { File 135 webkit/browser/fileapi/sandbox_file_system_backend_delegate.cc const base::Callback<void(base::File::Error error)>& callback, File 136 webkit/browser/fileapi/sandbox_file_system_backend_delegate.cc base::File::Error* error) { File 240 webkit/browser/fileapi/sandbox_file_system_backend_delegate.cc base::File::Error error = base::File::FILE_OK; File 243 webkit/browser/fileapi/sandbox_file_system_backend_delegate.cc if (error != base::File::FILE_OK) File 255 webkit/browser/fileapi/sandbox_file_system_backend_delegate.cc callback.Run(GURL(), std::string(), base::File::FILE_ERROR_SECURITY); File 261 webkit/browser/fileapi/sandbox_file_system_backend_delegate.cc base::File::Error* error_ptr = new base::File::Error; File 280 webkit/browser/fileapi/sandbox_file_system_backend_delegate.cc base::File::Error* error_code) const { File 282 webkit/browser/fileapi/sandbox_file_system_backend_delegate.cc *error_code = base::File::FILE_ERROR_SECURITY; File 326 webkit/browser/fileapi/sandbox_file_system_backend_delegate.cc base::File::Error File 347 webkit/browser/fileapi/sandbox_file_system_backend_delegate.cc return base::File::FILE_OK; File 348 webkit/browser/fileapi/sandbox_file_system_backend_delegate.cc return base::File::FILE_ERROR_FAILED; File 498 webkit/browser/fileapi/sandbox_file_system_backend_delegate.cc base::File::Error error = base::File::FILE_OK; File 501 webkit/browser/fileapi/sandbox_file_system_backend_delegate.cc if (error != base::File::FILE_OK) File 572 webkit/browser/fileapi/sandbox_file_system_backend_delegate.cc base::File::Error error; File 575 webkit/browser/fileapi/sandbox_file_system_backend_delegate.cc if (error != base::File::FILE_OK) File 586 webkit/browser/fileapi/sandbox_file_system_backend_delegate.cc base::File::Error* error_out) { File 588 webkit/browser/fileapi/sandbox_file_system_backend_delegate.cc *error_out = base::File::FILE_OK; File 591 webkit/browser/fileapi/sandbox_file_system_backend_delegate.cc if (*error_out != base::File::FILE_OK) File 619 webkit/browser/fileapi/sandbox_file_system_backend_delegate.cc base::File::Error error_code) { File 638 webkit/browser/fileapi/sandbox_file_system_backend_delegate.cc case base::File::FILE_OK: File 641 webkit/browser/fileapi/sandbox_file_system_backend_delegate.cc case base::File::FILE_ERROR_INVALID_URL: File 644 webkit/browser/fileapi/sandbox_file_system_backend_delegate.cc case base::File::FILE_ERROR_NOT_FOUND: File 647 webkit/browser/fileapi/sandbox_file_system_backend_delegate.cc case base::File::FILE_ERROR_FAILED: File 116 webkit/browser/fileapi/sandbox_file_system_backend_delegate.h base::File::Error* error_code) const; File 129 webkit/browser/fileapi/sandbox_file_system_backend_delegate.h virtual base::File::Error DeleteOriginDataOnFileTaskRunner( File 176 webkit/browser/fileapi/sandbox_file_system_backend_delegate.h void CollectOpenFileSystemMetrics(base::File::Error error_code); File 220 webkit/browser/fileapi/sandbox_file_system_backend_delegate.h base::File::Error* error_out); File 227 webkit/browser/fileapi/sandbox_origin_database_unittest.cc base::File file(kGarbageFile, File 228 webkit/browser/fileapi/sandbox_origin_database_unittest.cc base::File::FLAG_CREATE | base::File::FLAG_WRITE); File 26 webkit/browser/fileapi/sandbox_prioritized_origin_database.cc base::File file(path, base::File::FLAG_OPEN_ALWAYS | base::File::FLAG_WRITE); File 108 webkit/browser/fileapi/sandbox_quota_observer.cc base::File::Error error = base::File::FILE_OK; File 112 webkit/browser/fileapi/sandbox_quota_observer.cc if (error != base::File::FILE_OK) { File 31 webkit/browser/fileapi/transient_file_util.cc base::File::Error* error, File 32 webkit/browser/fileapi/transient_file_util.cc base::File::Info* file_info, File 36 webkit/browser/fileapi/transient_file_util.cc if (*error == base::File::FILE_OK && file_info->is_directory) File 37 webkit/browser/fileapi/transient_file_util.cc *error = base::File::FILE_ERROR_NOT_A_FILE; File 38 webkit/browser/fileapi/transient_file_util.cc if (*error != base::File::FILE_OK) File 26 webkit/browser/fileapi/transient_file_util.h base::File::Error* error, File 27 webkit/browser/fileapi/transient_file_util.h base::File::Info* file_info, File 350 webkit/common/fileapi/file_system_util.cc base::File::Error error_code) { File 352 webkit/common/fileapi/file_system_util.cc case base::File::FILE_ERROR_NOT_FOUND: File 354 webkit/common/fileapi/file_system_util.cc case base::File::FILE_ERROR_INVALID_OPERATION: File 355 webkit/common/fileapi/file_system_util.cc case base::File::FILE_ERROR_EXISTS: File 356 webkit/common/fileapi/file_system_util.cc case base::File::FILE_ERROR_NOT_EMPTY: File 358 webkit/common/fileapi/file_system_util.cc case base::File::FILE_ERROR_NOT_A_DIRECTORY: File 359 webkit/common/fileapi/file_system_util.cc case base::File::FILE_ERROR_NOT_A_FILE: File 361 webkit/common/fileapi/file_system_util.cc case base::File::FILE_ERROR_ACCESS_DENIED: File 363 webkit/common/fileapi/file_system_util.cc case base::File::FILE_ERROR_FAILED: File 365 webkit/common/fileapi/file_system_util.cc case base::File::FILE_ERROR_ABORT: File 367 webkit/common/fileapi/file_system_util.cc case base::File::FILE_ERROR_SECURITY: File 369 webkit/common/fileapi/file_system_util.cc case base::File::FILE_ERROR_NO_SPACE: File 371 webkit/common/fileapi/file_system_util.cc case base::File::FILE_ERROR_INVALID_URL: File 478 webkit/common/fileapi/file_system_util.cc base::File::Error NetErrorToFileError(int error) { File 481 webkit/common/fileapi/file_system_util.cc return base::File::FILE_OK; File 483 webkit/common/fileapi/file_system_util.cc return base::File::FILE_ERROR_IN_USE; File 485 webkit/common/fileapi/file_system_util.cc return base::File::FILE_ERROR_EXISTS; File 487 webkit/common/fileapi/file_system_util.cc return base::File::FILE_ERROR_NOT_FOUND; File 489 webkit/common/fileapi/file_system_util.cc return base::File::FILE_ERROR_ACCESS_DENIED; File 491 webkit/common/fileapi/file_system_util.cc return base::File::FILE_ERROR_TOO_MANY_OPENED; File 493 webkit/common/fileapi/file_system_util.cc return base::File::FILE_ERROR_NO_MEMORY; File 495 webkit/common/fileapi/file_system_util.cc return base::File::FILE_ERROR_NO_SPACE; File 498 webkit/common/fileapi/file_system_util.cc return base::File::FILE_ERROR_INVALID_OPERATION; File 501 webkit/common/fileapi/file_system_util.cc return base::File::FILE_ERROR_ABORT; File 504 webkit/common/fileapi/file_system_util.cc return base::File::FILE_ERROR_INVALID_URL; File 506 webkit/common/fileapi/file_system_util.cc return base::File::FILE_ERROR_FAILED; File 143 webkit/common/fileapi/file_system_util.h FileErrorToWebFileError(base::File::Error error_code); File 178 webkit/common/fileapi/file_system_util.h WEBKIT_STORAGE_COMMON_EXPORT base::File::Error