Index: chrome/browser/chromeos/gdata/gdata_directory_service.h |
diff --git a/chrome/browser/chromeos/gdata/gdata_directory_service.h b/chrome/browser/chromeos/gdata/gdata_directory_service.h |
index ec6316117a948ed8aa091f9a2e353089a860b012..cdbfbe996fa87c41f336a862db5efa3874a0d307 100644 |
--- a/chrome/browser/chromeos/gdata/gdata_directory_service.h |
+++ b/chrome/browser/chromeos/gdata/gdata_directory_service.h |
@@ -196,15 +196,24 @@ class GDataDirectoryService { |
void GetEntryByResourceIdAsync(const std::string& resource_id, |
const GetEntryByResourceIdCallback& callback); |
+ // Finds an entry (a file or a directory) by |resource_id|. |
+ // |
+ // Must be called from UI thread. |callback| is run on UI thread. |
+ // |callback| must not be null. |
+ void GetEntryInfoByResourceId(const std::string& resource_id, |
+ const GetEntryInfoCallback& callback); |
+ |
// Finds an entry (a file or a directory) by |file_path|. |
// |
// Must be called from UI thread. |callback| is run on UI thread. |
+ // |callback| must not be null. |
void GetEntryInfoByPath(const FilePath& file_path, |
const GetEntryInfoCallback& callback); |
// Finds and reads a directory by |file_path|. |
// |
// Must be called from UI thread. |callback| is run on UI thread. |
+ // |callback| must not be null. |
void ReadDirectoryByPath(const FilePath& file_path, |
const ReadDirectoryCallback& callback); |
@@ -214,6 +223,7 @@ class GDataDirectoryService { |
// entry of |second_path|. |
// |
// Must be called from UI thread. |callback| is run on UI thread. |
+ // |callback| must not be null. |
void GetEntryInfoPairByPaths( |
const FilePath& first_path, |
const FilePath& second_path, |