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

Unified Diff: chrome/browser/chromeos/gdata/gdata_file_system_proxy.cc

Issue 10386206: RefCounted types should not have public destructors, chromeos edition (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase to r143931 Created 8 years, 6 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: chrome/browser/chromeos/gdata/gdata_file_system_proxy.cc
diff --git a/chrome/browser/chromeos/gdata/gdata_file_system_proxy.cc b/chrome/browser/chromeos/gdata/gdata_file_system_proxy.cc
index 5d72c16fe21dc73be51a4158dd68b32054ce3e0f..7efcb59aa31efd674b3702267b4505e42c71600f 100644
--- a/chrome/browser/chromeos/gdata/gdata_file_system_proxy.cc
+++ b/chrome/browser/chromeos/gdata/gdata_file_system_proxy.cc
@@ -177,11 +177,6 @@ GDataFileSystemProxy::GDataFileSystemProxy(
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
}
-GDataFileSystemProxy::~GDataFileSystemProxy() {
- // Should be deleted from the CrosMountPointProvider on IO thread.
- DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO));
-}
-
void GDataFileSystemProxy::GetFileInfo(const GURL& file_url,
const FileSystemOperationInterface::GetMetadataCallback& callback) {
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO));
@@ -463,6 +458,11 @@ void GDataFileSystemProxy::CreateWritableSnapshotFile(
callback));
}
+GDataFileSystemProxy::~GDataFileSystemProxy() {
+ // Should be deleted from the CrosMountPointProvider on IO thread.
+ DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO));
+}
+
// static.
bool GDataFileSystemProxy::ValidateUrl(const GURL& url, FilePath* file_path) {
// what platform you're on.
« no previous file with comments | « chrome/browser/chromeos/gdata/gdata_file_system_proxy.h ('k') | chrome/browser/chromeos/gdata/gdata_file_system_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698