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

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

Issue 10831375: gdata: Remove GDataDirectoryService::FindEntryByPathAndRunSync(). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: address comments Created 8 years, 4 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_directory_service.cc
diff --git a/chrome/browser/chromeos/gdata/gdata_directory_service.cc b/chrome/browser/chromeos/gdata/gdata_directory_service.cc
index 26eb8221e8bc8aa979ce30b65bece90e49d2f4a0..6de760be093b2e846f3b485e2e692cb4308364c4 100644
--- a/chrome/browser/chromeos/gdata/gdata_directory_service.cc
+++ b/chrome/browser/chromeos/gdata/gdata_directory_service.cc
@@ -329,13 +329,6 @@ GDataEntry* GDataDirectoryService::FindEntryByPathSync(
return NULL;
}
-void GDataDirectoryService::FindEntryByPathAndRunSync(
- const FilePath& search_file_path,
- const FindEntryCallback& callback) {
- GDataEntry* entry = FindEntryByPathSync(search_file_path);
- callback.Run(entry ? GDATA_FILE_OK : GDATA_FILE_ERROR_NOT_FOUND, entry);
-}
-
GDataEntry* GDataDirectoryService::GetEntryByResourceId(
const std::string& resource) {
// GDataFileSystem has already locked.
« no previous file with comments | « chrome/browser/chromeos/gdata/gdata_directory_service.h ('k') | chrome/browser/chromeos/gdata/gdata_file_system.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698