Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(434)

Unified Diff: Source/modules/filesystem/DOMFileSystemSync.cpp

Issue 72363002: Rename es => exceptionState in other than bindings/ (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Retry Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/modules/encryptedmedia/MediaKeys.cpp ('k') | Source/modules/filesystem/DirectoryEntrySync.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/filesystem/DOMFileSystemSync.cpp
diff --git a/Source/modules/filesystem/DOMFileSystemSync.cpp b/Source/modules/filesystem/DOMFileSystemSync.cpp
index 0a20c971982fa699af4c5b72574285f137b2b05a..7ea6ec7927a448d08ed306b8c8c01b4a91240f40 100644
--- a/Source/modules/filesystem/DOMFileSystemSync.cpp
+++ b/Source/modules/filesystem/DOMFileSystemSync.cpp
@@ -158,13 +158,13 @@ private:
} // namespace
-PassRefPtr<File> DOMFileSystemSync::createFile(const FileEntrySync* fileEntry, ExceptionState& es)
+PassRefPtr<File> DOMFileSystemSync::createFile(const FileEntrySync* fileEntry, ExceptionState& exceptionState)
{
KURL fileSystemURL = createFileSystemURL(fileEntry);
RefPtr<CreateFileHelper::CreateFileResult> result(CreateFileHelper::CreateFileResult::create());
fileSystem()->createSnapshotFileAndReadMetadata(fileSystemURL, CreateFileHelper::create(result, fileEntry->name(), fileSystemURL, type()));
if (result->m_failed) {
- es.throwUninformativeAndGenericDOMException(result->m_code);
+ exceptionState.throwUninformativeAndGenericDOMException(result->m_code);
return 0;
}
return result->m_file;
@@ -236,7 +236,7 @@ private:
}
-PassRefPtr<FileWriterSync> DOMFileSystemSync::createWriter(const FileEntrySync* fileEntry, ExceptionState& es)
+PassRefPtr<FileWriterSync> DOMFileSystemSync::createWriter(const FileEntrySync* fileEntry, ExceptionState& exceptionState)
{
ASSERT(fileEntry);
@@ -252,7 +252,7 @@ PassRefPtr<FileWriterSync> DOMFileSystemSync::createWriter(const FileEntrySync*
ASSERT(!successCallback->fileWriterBase());
FileError::ErrorCode errorCode = errorCallback->error()->code();
if (errorCode)
- FileError::throwDOMException(es, errorCode);
+ FileError::throwDOMException(exceptionState, errorCode);
return 0;
}
ASSERT(successCallback->fileWriterBase());
« no previous file with comments | « Source/modules/encryptedmedia/MediaKeys.cpp ('k') | Source/modules/filesystem/DirectoryEntrySync.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698