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

Unified Diff: content/browser/fileapi/chrome_blob_storage_context.cc

Issue 10068037: RefCounted types should not have public destructors, content/browser part 1 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: MSVC fixes 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
Index: content/browser/fileapi/chrome_blob_storage_context.cc
diff --git a/content/browser/fileapi/chrome_blob_storage_context.cc b/content/browser/fileapi/chrome_blob_storage_context.cc
index 7a753d31315ab8181286f3c3c499f453485a5e95..19cc381b13b2520ad8f00fbab9732505ce6faaba 100644
--- a/content/browser/fileapi/chrome_blob_storage_context.cc
+++ b/content/browser/fileapi/chrome_blob_storage_context.cc
@@ -15,6 +15,8 @@ using webkit_blob::BlobStorageController;
static const char* kBlobStorageContextKeyName = "content_blob_storage_context";
+ChromeBlobStorageContext::ChromeBlobStorageContext() {}
+
ChromeBlobStorageContext* ChromeBlobStorageContext::GetFor(
BrowserContext* context) {
if (!context->GetUserData(kBlobStorageContextKeyName)) {
@@ -34,16 +36,12 @@ ChromeBlobStorageContext* ChromeBlobStorageContext::GetFor(
context, kBlobStorageContextKeyName);
}
-ChromeBlobStorageContext::ChromeBlobStorageContext() {
-}
-
void ChromeBlobStorageContext::InitializeOnIOThread() {
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO));
controller_.reset(new BlobStorageController());
}
-ChromeBlobStorageContext::~ChromeBlobStorageContext() {
-}
+ChromeBlobStorageContext::~ChromeBlobStorageContext() {}
void ChromeBlobStorageContext::DeleteOnCorrectThread() const {
if (BrowserThread::IsMessageLoopValid(BrowserThread::IO) &&
« no previous file with comments | « content/browser/fileapi/chrome_blob_storage_context.h ('k') | content/browser/fileapi/fileapi_message_filter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698