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

Unified Diff: chrome/browser/chromeos/extensions/file_manager/private_api_drive.cc

Issue 25458002: Migrate to Styx thumbnails in Files App. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressed comments. Created 7 years, 3 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/image_loader/manifest.json » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/extensions/file_manager/private_api_drive.cc
diff --git a/chrome/browser/chromeos/extensions/file_manager/private_api_drive.cc b/chrome/browser/chromeos/extensions/file_manager/private_api_drive.cc
index 2726349a0a55050d052bdc79add6420eb58a70b8..bdc6cf30dbdcc081edc24fa4837686b0bc64cb4a 100644
--- a/chrome/browser/chromeos/extensions/file_manager/private_api_drive.cc
+++ b/chrome/browser/chromeos/extensions/file_manager/private_api_drive.cc
@@ -57,7 +57,8 @@ void FillDriveEntryPropertiesValue(
entry_proto.file_specific_info();
properties->thumbnail_url.reset(
- new std::string(file_specific_info.thumbnail_url()));
+ new std::string("https://www.googledrive.com/thumb/" +
+ entry_proto.resource_id() + "?width=500&height=500"));
properties->is_hosted.reset(
new bool(file_specific_info.is_hosted_document()));
properties->content_mime_type.reset(
« no previous file with comments | « no previous file | chrome/browser/resources/image_loader/manifest.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698