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

Unified Diff: webkit/fileapi/file_system_context.cc

Issue 10066044: RefCounted types should not have public destructors, webkit/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Implementation ordering Created 8 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 | « webkit/fileapi/file_system_context.h ('k') | webkit/fileapi/file_system_operation_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/fileapi/file_system_context.cc
diff --git a/webkit/fileapi/file_system_context.cc b/webkit/fileapi/file_system_context.cc
index e64f4979edbc420f1892881799b0d9e1d748ec00..f0c596e35b538ac6eb9fc43ee0a04ade6bb7c080 100644
--- a/webkit/fileapi/file_system_context.cc
+++ b/webkit/fileapi/file_system_context.cc
@@ -70,9 +70,6 @@ FileSystemContext::FileSystemContext(
#endif
}
-FileSystemContext::~FileSystemContext() {
-}
-
bool FileSystemContext::DeleteDataForOriginOnFileThread(
const GURL& origin_url) {
DCHECK(file_message_loop_->BelongsToCurrentThread());
@@ -144,14 +141,6 @@ FileSystemContext::external_provider() const {
return external_provider_.get();
}
-void FileSystemContext::DeleteOnCorrectThread() const {
- if (!io_message_loop_->BelongsToCurrentThread() &&
- io_message_loop_->DeleteSoon(FROM_HERE, this)) {
- return;
- }
- delete this;
-}
-
void FileSystemContext::OpenFileSystem(
const GURL& origin_url,
FileSystemType type,
@@ -206,4 +195,14 @@ webkit_blob::FileReader* FileSystemContext::CreateFileReader(
return mount_point_provider->CreateFileReader(url, offset, file_proxy, this);
}
+FileSystemContext::~FileSystemContext() {}
+
+void FileSystemContext::DeleteOnCorrectThread() const {
+ if (!io_message_loop_->BelongsToCurrentThread() &&
+ io_message_loop_->DeleteSoon(FROM_HERE, this)) {
+ return;
+ }
+ delete this;
+}
+
} // namespace fileapi
« no previous file with comments | « webkit/fileapi/file_system_context.h ('k') | webkit/fileapi/file_system_operation_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698