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

Unified Diff: chrome/browser/chromeos/extensions/file_browser_private_api.cc

Issue 10006013: [NOT FOR COMMIT] Use chrome://gdata in Photo Editor (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 8 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
« no previous file with comments | « no previous file | chrome/browser/resources/file_manager/js/image_editor/image_view.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/extensions/file_browser_private_api.cc
diff --git a/chrome/browser/chromeos/extensions/file_browser_private_api.cc b/chrome/browser/chromeos/extensions/file_browser_private_api.cc
index c03d7d0245ad204a4021ed08a8fbd5329e518a8a..97d51853d17fd70491f2642afc3928bbd9083fed 100644
--- a/chrome/browser/chromeos/extensions/file_browser_private_api.cc
+++ b/chrome/browser/chromeos/extensions/file_browser_private_api.cc
@@ -1584,7 +1584,9 @@ void GetGDataFilePropertiesFunction::OnFileProperties(
property_dict->SetString("thumbnailUrl", file->thumbnail_url().spec());
if (!file->edit_url().is_empty())
- property_dict->SetString("editUrl", file->edit_url().spec());
+ property_dict->SetString("editUrl",
+ gdata::util::GetFileResourceUrl(file->resource_id(),
+ file->file_name()).spec());
if (!file->content_url().is_empty())
property_dict->SetString("contentUrl", file->content_url().spec());
« no previous file with comments | « no previous file | chrome/browser/resources/file_manager/js/image_editor/image_view.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698