Index: chrome/browser/chromeos/gdata/gdata_files.h |
diff --git a/chrome/browser/chromeos/gdata/gdata_files.h b/chrome/browser/chromeos/gdata/gdata_files.h |
index 1298447ef8f890e04f0a85718146c42d9a64270c..37b722edd51b3c12073727ee33f48510c4d59c9c 100644 |
--- a/chrome/browser/chromeos/gdata/gdata_files.h |
+++ b/chrome/browser/chromeos/gdata/gdata_files.h |
@@ -379,6 +379,11 @@ class GDataDirectoryService { |
// TODO(satorux): Replace this with an async version crbug.com/137160 |
GDataEntry* FindEntryByPathSync(const FilePath& file_path); |
+ // Searches for |file_path| synchronously, and runs |callback|. |
+ // TODO(satorux): Replace this with an async version crbug.com/137160 |
+ void FindEntryByPathAndRunSync(const FilePath& file_path, |
+ const FindEntryCallback& callback); |
+ |
// Returns the GDataEntry* with the corresponding |resource_id|. |
// TODO(achuith): Get rid of this in favor of async version crbug.com/13957. |
GDataEntry* GetEntryByResourceId(const std::string& resource_id); |