Index: chrome/browser/chromeos/gdata/gdata_file_system.cc |
diff --git a/chrome/browser/chromeos/gdata/gdata_file_system.cc b/chrome/browser/chromeos/gdata/gdata_file_system.cc |
index ee92b9d2914ba5403ecbf5ec7518471911c88434..497d7aea392b1982c0e735b13fec12406e438e8d 100644 |
--- a/chrome/browser/chromeos/gdata/gdata_file_system.cc |
+++ b/chrome/browser/chromeos/gdata/gdata_file_system.cc |
@@ -1037,27 +1037,6 @@ void GDataFileSystem::FindEntryByResourceIdSync( |
} |
} |
-void GDataFileSystem::FindEntryByPathAsync( |
- const FilePath& search_file_path, |
- const FindEntryCallback& callback) { |
- if (!BrowserThread::CurrentlyOn(BrowserThread::UI)) { |
- DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO)); |
- const bool posted = BrowserThread::PostTask( |
- BrowserThread::UI, |
- FROM_HERE, |
- base::Bind(&GDataFileSystem::FindEntryByPathAsyncOnUIThread, |
- ui_weak_ptr_, |
- search_file_path, |
- base::Bind(&RelayFindEntryCallback, |
- base::MessageLoopProxy::current(), |
- callback))); |
- DCHECK(posted); |
- return; |
- } |
- |
- FindEntryByPathAsyncOnUIThread(search_file_path, callback); |
-} |
- |
void GDataFileSystem::FindEntryByPathAsyncOnUIThread( |
const FilePath& search_file_path, |
const FindEntryCallback& callback) { |