OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:FileError
(Results
1 - 25
of
232
) sorted by null
1
2
3
4
5
6
7
8
9
10
/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
44
class
FileError
: public DOMError {
74
static PassRefPtrWillBeRawPtr<
FileError
> create(ErrorCode code)
76
return adoptRefWillBeNoop(new
FileError
(code));
84
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());
/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));
DirectoryReaderSync.cpp
72
virtual void handleEvent(
FileError
* error) OVERRIDE
84
, m_errorCode(
FileError
::OK)
99
if (m_errorCode ==
FileError
::OK && m_hasMoreEntries && m_entries.isEmpty())
102
if (m_errorCode !=
FileError
::OK) {
103
FileError
::throwDOMException(exceptionState, m_errorCode);
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
...]
DirectoryReader.h
68
void onError(
FileError
*);
72
RefPtrWillBeMember<
FileError
> m_error;
DirectoryReaderSync.h
35
#include "core/fileapi/
FileError
.h"
63
void setError(
FileError
::ErrorCode code)
78
FileError
::ErrorCode m_errorCode;
FileWriter.h
37
#include "core/fileapi/
FileError
.h"
67
FileError
* error() const { return m_error.get(); }
106
void signalCompletion(
FileError
::ErrorCode);
110
void setError(
FileError
::ErrorCode, ExceptionState&);
112
RefPtrWillBeMember<
FileError
> m_error;
DOMFileSystemSync.cpp
37
#include "core/fileapi/
FileError
.h"
68
void DOMFileSystemSync::reportError(PassOwnPtr<ErrorCallback> errorCallback, PassRefPtrWillBeRawPtr<
FileError
>
fileError
)
70
errorCallback->handleEvent(
fileError
.get());
207
static PassOwnPtr<LocalErrorCallback> create(
FileError
::ErrorCode& errorCode)
212
virtual void handleEvent(
FileError
* error) OVERRIDE
214
ASSERT(error->code() !=
FileError
::OK);
219
explicit LocalErrorCallback(
FileError
::ErrorCode& errorCode)
224
FileError
::ErrorCode& m_errorCode;
235
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
...]
/external/chromium_org/chrome/browser/chromeos/drive/
resource_metadata.h
43
FileError
Initialize() WARN_UNUSED_RESULT;
51
FileError
Reset();
54
FileError
GetLargestChangestamp(int64* out_value);
57
FileError
SetLargestChangestamp(int64 value);
60
FileError
AddEntry(const ResourceEntry& entry, std::string* out_id);
63
FileError
RemoveEntry(const std::string& id);
66
FileError
GetResourceEntryById(const std::string& id,
70
FileError
GetResourceEntryByPath(const base::FilePath& file_path,
74
FileError
ReadDirectoryByPath(const base::FilePath& file_path,
78
FileError
ReadDirectoryById(const std::string& id
[
all
...]
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 base::File::Error that corresponds to the
FileError
provided.
43
base::File::Error FileErrorToBaseFileError(
FileError
error);
46
FileError
GDataToFileError(google_apis::GDataErrorCode status);
file_system_metadata.h
30
FileError
last_update_check_error;
file_cache.h
76
FileError
GetFile(const std::string& id, base::FilePath* cache_file_path);
81
FileError
Store(const std::string& id,
87
FileError
Pin(const std::string& id);
90
FileError
Unpin(const std::string& id);
93
FileError
MarkAsMounted(const std::string& id,
97
FileError
MarkAsUnmounted(const base::FilePath& file_path);
102
FileError
OpenForWrite(const std::string& id,
109
FileError
UpdateMd5(const std::string& id);
112
FileError
ClearDirty(const std::string& id);
115
FileError
Remove(const std::string& id)
[
all
...]
resource_metadata_storage.h
106
FileError
SetLargestChangestamp(int64 largest_changestamp);
109
FileError
GetLargestChangestamp(int64* largest_changestamp);
112
FileError
PutEntry(const ResourceEntry& entry);
115
FileError
GetEntry(const std::string& id, ResourceEntry* out_entry);
118
FileError
RemoveEntry(const std::string& id);
124
FileError
GetChild(const std::string& parent_id,
129
FileError
GetChildren(const std::string& parent_id,
133
FileError
GetIdByResourceId(const std::string& resource_id,
150
FileError
PutHeader(const ResourceMetadataHeader& header);
153
FileError
GetHeader(ResourceMetadataHeader* out_header)
[
all
...]
directory_loader.h
79
FileError
error);
84
FileError
error);
94
FileError
error);
99
void OnDirectoryLoadComplete(const std::string& local_id,
FileError
error);
102
FileError
error);
117
FileError
error);
123
FileError
error);
/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
31
// (drive::
FileError
).
47
void CompleteGetFileProperties(drive::
FileError
error);
69
void OnPinStateSet(drive::
FileError
error);
101
void OnFileReady(drive::
FileError
error,
138
void OnSearch(drive::
FileError
error,
166
void OnSearchMetadata(drive::
FileError
error,
224
void OnGetShareUrl(drive::
FileError
error, const GURL& share_url);
240
void OnAddPermission(drive::
FileError
error);
Completed in 1320 milliseconds
1
2
3
4
5
6
7
8
9
10