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

Unified Diff: chrome/browser/chromeos/gdata/gdata_parser.h

Issue 9581024: Added proper extensions for hosted documents. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 10 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/gdata/gdata_parser.h
===================================================================
--- chrome/browser/chromeos/gdata/gdata_parser.h (revision 124690)
+++ chrome/browser/chromeos/gdata/gdata_parser.h (working copy)
@@ -346,6 +346,10 @@
// unknown entry kind.
std::string GetEntryKindText() const;
+ // Returns preferred file extension for hosted documents. If entry is not
+ // a hosted document, this call returns an empty string.
+ std::string GetHostedDocumentExtension() const;
+
// True if document entry is remotely hosted.
bool is_hosted_document() const { return (kind_ & 0x002000) != 0; }
// True if document entry is a folder (collection).

Powered by Google App Engine
This is Rietveld 408576698