/external/chromium_org/third_party/WebKit/Source/core/fileapi/ |
FileError.cpp | 32 #include "core/fileapi/FileError.h" 39 const char FileError::abortErrorMessage[] = "An ongoing operation was aborted, typically with a call to abort()."; 40 const char FileError::encodingErrorMessage[] = "A URI supplied to the API was malformed, or the resulting Data URL has exceeded the URL length limitations for Data URLs."; 41 const char FileError::invalidStateErrorMessage[] = "An operation that depends on state cached in an interface object was made but the state had changed since it was read from disk."; 42 const char FileError::noModificationAllowedErrorMessage[] = "An attempt was made to write to a file or directory which could not be modified due to the state of the underlying filesystem."; 43 const char FileError::notFoundErrorMessage[] = "A requested file or directory could not be found at the time an operation was processed."; 44 const char FileError::notReadableErrorMessage[] = "The requested file could not be read, typically due to permission problems that have occurred after a reference to a file was acquired."; 45 const char FileError::pathExistsErrorMessage[] = "An attempt was made to create a file or directory where an element already exists."; 46 const char FileError::quotaExceededErrorMessage[] = "The operation failed because it would cause the application to exceed its storage quota."; 47 const char FileError::securityErrorMessage[] = "It was determined that certain files are unsafe for access within a Web (…) [all...] |
FileError.h | 43 class FileError : public DOMError { 73 static PassRefPtr<FileError> create(ErrorCode code) { return adoptRef(new FileError(code)); } 80 explicit FileError(ErrorCode);
|
FileError.idl | 32 ] interface FileError : DOMError { 46 [DeprecateAs=FileError] readonly attribute unsigned short code;
|
FileReaderLoaderClient.h | 34 #include "core/fileapi/FileError.h" 48 virtual void didFail(FileError::ErrorCode) = 0;
|
FileReaderLoader.h | 34 #include "core/fileapi/FileError.h" 96 FileError::ErrorCode errorCode() const { return m_errorCode; } 106 void failed(FileError::ErrorCode); 110 static FileError::ErrorCode httpStatusCodeToErrorCode(int); 142 FileError::ErrorCode m_errorCode;
|
FileReaderSync.cpp | 37 #include "core/fileapi/FileError.h" 52 exceptionState.throwDOMException(NotFoundError, FileError::notFoundErrorMessage); 65 exceptionState.throwDOMException(NotFoundError, FileError::notFoundErrorMessage); 77 exceptionState.throwDOMException(NotFoundError, FileError::notFoundErrorMessage); 90 exceptionState.throwDOMException(NotFoundError, FileError::notFoundErrorMessage); 104 FileError::throwDOMException(exceptionState, loader.errorCode());
|
FileReaderLoader.cpp | 69 , m_errorCode(FileError::OK) 89 failed(FileError::SECURITY_ERR); 144 m_errorCode = FileError::ABORT_ERR; 201 failed(FileError::NOT_READABLE_ERR); 214 failed(FileError::NOT_READABLE_ERR); 244 failed(FileError::NOT_READABLE_ERR); 276 if (m_errorCode == FileError::ABORT_ERR) 279 failed(FileError::NOT_READABLE_ERR); 282 void FileReaderLoader::failed(FileError::ErrorCode errorCode) 290 FileError::ErrorCode FileReaderLoader::httpStatusCodeToErrorCode(int httpStatusCode [all...] |
/external/chromium_org/third_party/WebKit/Source/modules/filesystem/ |
ErrorCallback.h | 36 class FileError; 41 virtual void handleEvent(FileError*) = 0;
|
ErrorCallback.idl | 32 void handleEvent(FileError error);
|
FileWriterSync.cpp | 48 exceptionState.throwDOMException(TypeMismatchError, FileError::typeMismatchErrorMessage); 56 FileError::throwDOMException(exceptionState, m_error); 76 exceptionState.throwDOMException(InvalidStateError, FileError::invalidStateErrorMessage); 83 FileError::throwDOMException(exceptionState, m_error); 93 ASSERT(m_error == FileError::OK); 104 ASSERT(m_error == FileError::OK); 113 ASSERT(m_error == FileError::OK); 114 m_error = static_cast<FileError::ErrorCode>(error); 122 : m_error(FileError::OK) 133 m_error = FileError::OK [all...] |
DOMWindowFileSystem.cpp | 30 #include "core/fileapi/FileError.h" 61 DOMFileSystem::scheduleCallback(document, errorCallback, FileError::create(FileError::SECURITY_ERR)); 67 DOMFileSystem::scheduleCallback(document, errorCallback, FileError::create(FileError::INVALID_MODIFICATION_ERR)); 86 DOMFileSystem::scheduleCallback(document, errorCallback, FileError::create(FileError::SECURITY_ERR)); 91 DOMFileSystem::scheduleCallback(document, errorCallback, FileError::create(FileError::ENCODING_ERR));
|
FileWriter.cpp | 96 setError(FileError::INVALID_STATE_ERR, exceptionState); 100 setError(FileError::TYPE_MISMATCH_ERR, exceptionState); 104 setError(FileError::SECURITY_ERR, exceptionState); 127 setError(FileError::INVALID_STATE_ERR, exceptionState); 141 setError(FileError::INVALID_STATE_ERR, exceptionState); 145 setError(FileError::SECURITY_ERR, exceptionState); 171 signalCompletion(FileError::ABORT_ERR); 206 signalCompletion(FileError::OK); 223 signalCompletion(FileError::OK); 230 ASSERT(static_cast<FileError::ErrorCode>(code) != FileError::OK) [all...] |
FileWriter.h | 38 #include "core/fileapi/FileError.h" 66 FileError* error() const { return m_error.get(); } 103 void signalCompletion(FileError::ErrorCode); 107 void setError(FileError::ErrorCode, ExceptionState&); 109 RefPtr<FileError> m_error;
|
DOMFileSystemSync.cpp | 37 #include "core/fileapi/FileError.h" 68 void DOMFileSystemSync::reportError(PassOwnPtr<ErrorCallback> errorCallback, PassRefPtr<FileError> fileError) 70 errorCallback->handleEvent(fileError.get()); 199 static PassOwnPtr<LocalErrorCallback> create(FileError::ErrorCode& errorCode) 204 void handleEvent(FileError* error) 206 ASSERT(error->code() != FileError::OK); 211 explicit LocalErrorCallback(FileError::ErrorCode& errorCode) 216 FileError::ErrorCode& m_errorCode; 227 FileError::ErrorCode errorCode = FileError::OK [all...] |
WorkerGlobalScopeFileSystem.cpp | 33 #include "core/fileapi/FileError.h" 52 DOMFileSystem::scheduleCallback(worker, errorCallback, FileError::create(FileError::SECURITY_ERR)); 58 DOMFileSystem::scheduleCallback(worker, errorCallback, FileError::create(FileError::INVALID_MODIFICATION_ERR)); 69 exceptionState.throwSecurityError(FileError::securityErrorMessage); 92 DOMFileSystem::scheduleCallback(worker, errorCallback, FileError::create(FileError::SECURITY_ERR)); 97 DOMFileSystem::scheduleCallback(worker, errorCallback, FileError::create(FileError::ENCODING_ERR)) [all...] |
SyncCallbackHelper.h | 36 #include "core/fileapi/FileError.h" 90 : m_errorCode(FileError::OK) 98 FileError::throwDOMException(exceptionState, m_errorCode); 116 m_helper->setError(FileError::OK); 139 virtual void handleEvent(FileError* error) 153 void setError(FileError::ErrorCode code) 166 FileError::ErrorCode m_errorCode;
|
/external/chromium_org/chrome/browser/chromeos/drive/ |
file_errors.h | 14 enum FileError { 37 typedef base::Callback<void(FileError error)> FileOperationCallback; 39 // Returns a string representation of FileError. 40 std::string FileErrorToString(FileError error); 42 // Returns a PlatformFileError that corresponds to the FileError provided. 43 base::PlatformFileError FileErrorToPlatformError(FileError error); 46 FileError GDataToFileError(google_apis::GDataErrorCode status);
|
file_system_metadata.h | 30 FileError last_update_check_error;
|
resource_metadata.h | 29 typedef base::Callback<void(FileError error, 33 typedef base::Callback<void(FileError error, 53 FileError Initialize() WARN_UNUSED_RESULT; 61 FileError Reset(); 67 FileError SetLargestChangestamp(int64 value); 70 FileError AddEntry(const ResourceEntry& entry, std::string* out_id); 73 FileError RemoveEntry(const std::string& id); 76 FileError GetResourceEntryById(const std::string& id, 87 FileError GetResourceEntryByPath(const base::FilePath& file_path, 97 FileError ReadDirectoryByPath(const base::FilePath& file_path [all...] |
file_cache.h | 86 FileError GetFile(const std::string& id, base::FilePath* cache_file_path); 90 FileError Store(const std::string& id, 96 FileError Pin(const std::string& id); 99 FileError Unpin(const std::string& id); 102 FileError MarkAsMounted(const std::string& id, 106 FileError MarkAsUnmounted(const base::FilePath& file_path); 109 FileError MarkDirty(const std::string& id); 112 FileError ClearDirty(const std::string& id, const std::string& md5); 115 FileError Remove(const std::string& id);
|
remove_stale_cache_files.cc | 26 FileError error = resource_metadata->GetResourceEntryById(it->GetID(), 32 FileError error = cache->Remove(it->GetID());
|
change_list_loader.h | 50 FileError error)> LoadChangeListCallback; 130 void OnChangeListLoadComplete(FileError error); 136 FileError error); 163 FileError error); 178 FileError error, 204 FileError error, 219 FileError error); 226 FileError error, 234 FileError error); 258 FileError error) [all...] |
/external/chromium_org/content/test/data/fileapi/ |
common.js | 35 case FileError.QUOTA_EXCEEDED_ERR: 37 case FileError.NOT_FOUND_ERR: 39 case FileError.SECURITY_ERR: 41 case FileError.INVALID_MODIFICATION_ERR: 43 case FileError.INVALID_STATE_ERR:
|
/external/chromium_org/chrome/browser/chromeos/extensions/file_manager/ |
private_api_drive.h | 30 // (drive::FileError). 46 void OnGetFileInfo(drive::FileError error, 52 void CompleteGetFileProperties(drive::FileError error); 74 void OnPinStateSet(drive::FileError error); 106 void OnFileReady(drive::FileError error, 141 void OnSearch(drive::FileError error, 161 void OnSearchMetadata(drive::FileError error, 212 void OnGetShareUrl(drive::FileError error, const GURL& share_url);
|
/external/chromium_org/chrome/browser/chromeos/drive/sync/ |
entry_revert_performer.h | 58 FileError error); 71 FileError error);
|