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

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

Issue 10280004: gdata: Remove GDataFileSystem::FindEntryByPathAsync() (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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: 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) {
« no previous file with comments | « chrome/browser/chromeos/gdata/gdata_file_system.h ('k') | chrome/browser/chromeos/gdata/mock_gdata_file_system.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698