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

Unified Diff: webkit/fileapi/file_system_operation_write_unittest.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_operation_unittest.cc ('k') | webkit/fileapi/file_system_quota_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/fileapi/file_system_operation_write_unittest.cc
diff --git a/webkit/fileapi/file_system_operation_write_unittest.cc b/webkit/fileapi/file_system_operation_write_unittest.cc
index cf26cbcc52fef61aee94bbd1073b79ff93c1ebae..5ba14c52ec7fdde9c1e7f0d4af77725b1eaf4719 100644
--- a/webkit/fileapi/file_system_operation_write_unittest.cc
+++ b/webkit/fileapi/file_system_operation_write_unittest.cc
@@ -57,12 +57,15 @@ class MockQuotaManager : public QuotaManager {
void set_usage(int64 usage) { usage_ = usage; }
void set_quota(int64 quota) { quota_ = quota; }
+ protected:
+ virtual ~MockQuotaManager() {}
+
private:
int64 usage_;
int64 quota_;
};
-} // namespace (anonymous)
+} // namespace
class FileSystemOperationWriteTest
: public testing::Test,
@@ -151,12 +154,13 @@ class TestURLRequestContext : public net::URLRequestContext {
TestURLRequestContext()
: blob_storage_controller_(new webkit_blob::BlobStorageController) {}
- virtual ~TestURLRequestContext() {}
-
webkit_blob::BlobStorageController* blob_storage_controller() const {
return blob_storage_controller_.get();
}
+ protected:
+ virtual ~TestURLRequestContext() {}
+
private:
scoped_ptr<webkit_blob::BlobStorageController> blob_storage_controller_;
};
« no previous file with comments | « webkit/fileapi/file_system_operation_unittest.cc ('k') | webkit/fileapi/file_system_quota_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698