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

Unified Diff: third_party/WebKit/Source/platform/AsyncFileSystemCallbacks.h

Issue 2849903002: Replace ASSERT_NOT_REACHED with NOTREACHED in platform/ (Closed)
Patch Set: rebase Created 3 years, 8 months 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 | « no previous file | third_party/WebKit/Source/platform/Crypto.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/platform/AsyncFileSystemCallbacks.h
diff --git a/third_party/WebKit/Source/platform/AsyncFileSystemCallbacks.h b/third_party/WebKit/Source/platform/AsyncFileSystemCallbacks.h
index 6defd142ab0f44adf9de06f6522c79366ce54f4b..dad7c6d0f5514af71d5a3af5645a11bf09c131bf 100644
--- a/third_party/WebKit/Source/platform/AsyncFileSystemCallbacks.h
+++ b/third_party/WebKit/Source/platform/AsyncFileSystemCallbacks.h
@@ -51,11 +51,11 @@ class PLATFORM_EXPORT AsyncFileSystemCallbacks {
AsyncFileSystemCallbacks() : block_until_completion_(false) {}
// Called when a requested operation is completed successfully.
- virtual void DidSucceed() { ASSERT_NOT_REACHED(); }
+ virtual void DidSucceed() { NOTREACHED(); }
// Called when a requested file system is opened.
virtual void DidOpenFileSystem(const String& name, const KURL& root_url) {
- ASSERT_NOT_REACHED();
+ NOTREACHED();
}
// Called when a filesystem URL is resolved.
@@ -64,32 +64,32 @@ class PLATFORM_EXPORT AsyncFileSystemCallbacks {
FileSystemType,
const String& file_path,
bool is_directory) {
- ASSERT_NOT_REACHED();
+ NOTREACHED();
}
// Called when a file metadata is read successfully.
- virtual void DidReadMetadata(const FileMetadata&) { ASSERT_NOT_REACHED(); }
+ virtual void DidReadMetadata(const FileMetadata&) { NOTREACHED(); }
// Called when a snapshot file is created successfully.
virtual void DidCreateSnapshotFile(const FileMetadata&,
PassRefPtr<BlobDataHandle> snapshot) {
- ASSERT_NOT_REACHED();
+ NOTREACHED();
}
// Called when a directory entry is read.
virtual void DidReadDirectoryEntry(const String& name, bool is_directory) {
- ASSERT_NOT_REACHED();
+ NOTREACHED();
}
// Called after a chunk of directory entries have been read (i.e. indicates
// it's good time to call back to the application). If hasMore is true there
// can be more chunks.
- virtual void DidReadDirectoryEntries(bool has_more) { ASSERT_NOT_REACHED(); }
+ virtual void DidReadDirectoryEntries(bool has_more) { NOTREACHED(); }
// Called when an AsyncFileWrter has been created successfully.
virtual void DidCreateFileWriter(std::unique_ptr<WebFileWriter>,
long long length) {
- ASSERT_NOT_REACHED();
+ NOTREACHED();
}
// Called when there was an error.
« no previous file with comments | « no previous file | third_party/WebKit/Source/platform/Crypto.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698