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

Unified Diff: chrome/browser/drive/drive_api_util.h

Issue 414203003: Remove unnecessary utilities from drive::util. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix test Created 6 years, 5 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 | « chrome/browser/chromeos/drive/search_metadata_unittest.cc ('k') | chrome/browser/drive/drive_api_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/drive/drive_api_util.h
diff --git a/chrome/browser/drive/drive_api_util.h b/chrome/browser/drive/drive_api_util.h
index e038b2d19f9665341365f91b8e80f2bdc93fdd29..073b788db850b8c5c1066f5242c98c23014369ef 100644
--- a/chrome/browser/drive/drive_api_util.h
+++ b/chrome/browser/drive/drive_api_util.h
@@ -109,20 +109,11 @@ ConvertChangeListToResourceList(const google_apis::ChangeList& change_list);
// or an empty string if an error is found.
std::string GetMd5Digest(const base::FilePath& file_path);
-// The resource ID for the root directory for WAPI is defined in the spec:
-// https://developers.google.com/google-apps/documents-list/
-extern const char kWapiRootDirectoryResourceId[];
-
// Returns preferred file extension for hosted documents which have given mime
// type. If the given mime type is not known as one for hosted documents,
// returns empty string.
std::string GetHostedDocumentExtension(const std::string& mime_type);
-// Returns mime type for hosted documents which have given extension in form
-// ".xxx". If the given extension is not known as one for hosted documents,
-// returns empty string.
-std::string GetHostedDocumentMimeType(const std::string& extension);
-
// Returns true if the given mime type is corresponding to one of hosted
// documents.
bool IsHostedDocument(const std::string& mime_type);
« no previous file with comments | « chrome/browser/chromeos/drive/search_metadata_unittest.cc ('k') | chrome/browser/drive/drive_api_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698