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

Unified Diff: chrome/browser/chromeos/drive/resource_metadata.h

Issue 16107004: drive: Stop returning FilePath from GetResourceEntryById (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 7 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/drive/resource_metadata.h
diff --git a/chrome/browser/chromeos/drive/resource_metadata.h b/chrome/browser/chromeos/drive/resource_metadata.h
index 4a4dbe55fe951440a038844c3871f430b81f1111..c0ecda2194d42f1c374953126e061c81fd2f5e62 100644
--- a/chrome/browser/chromeos/drive/resource_metadata.h
+++ b/chrome/browser/chromeos/drive/resource_metadata.h
@@ -202,13 +202,11 @@ class ResourceMetadata {
// Finds an entry (a file or a directory) by |resource_id|.
// |callback| must not be null.
// Must be called on the UI thread.
- void GetResourceEntryByIdOnUIThread(
- const std::string& resource_id,
- const GetResourceEntryWithFilePathCallback& callback);
+ void GetResourceEntryByIdOnUIThread(const std::string& resource_id,
+ const GetResourceEntryCallback& callback);
// Synchronous version of GetResourceEntryByIdOnUIThread().
FileError GetResourceEntryById(const std::string& resource_id,
- base::FilePath* out_file_path,
ResourceEntry* out_entry);
// Finds an entry (a file or a directory) by |file_path|.
« no previous file with comments | « chrome/browser/chromeos/drive/remove_stale_cache_files_unittest.cc ('k') | chrome/browser/chromeos/drive/resource_metadata.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698