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

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

Issue 13401003: chromeos: Replace resource ID in drive URL with path (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: _ Created 7 years, 9 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/drive_file_system_util.h
diff --git a/chrome/browser/chromeos/drive/drive_file_system_util.h b/chrome/browser/chromeos/drive/drive_file_system_util.h
index 0255908486f9e9245b32e316bdb6d075f5dc73f3..01ab9839a644ffb1e881a6d78a3b2f374f35aab2 100644
--- a/chrome/browser/chromeos/drive/drive_file_system_util.h
+++ b/chrome/browser/chromeos/drive/drive_file_system_util.h
@@ -90,9 +90,8 @@ const std::string& GetDriveMountPointPathAsString();
const base::FilePath& GetSpecialRemoteRootPath();
// Returns the gdata file resource url formatted as
-// chrome://drive/<resource_id>/<file_name>.
-GURL GetFileResourceUrl(const std::string& resource_id,
- const std::string& file_name);
+// drive:<path>
+GURL GetFileResourceUrl(const base::FilePath& path);
// Given a profile and a drive_cache_path, return the file resource url.
void ModifyDriveFileResourceUrl(Profile* profile,

Powered by Google App Engine
This is Rietveld 408576698