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..a233aa5710e3e3229e2ed64f39375f059f7506d3 100644 |
--- a/chrome/browser/drive/drive_api_util.h |
+++ b/chrome/browser/drive/drive_api_util.h |
@@ -127,9 +127,9 @@ std::string GetHostedDocumentMimeType(const std::string& extension); |
// documents. |
bool IsHostedDocument(const std::string& mime_type); |
-// Returns true if the given extension is corresponding to one of hosted |
-// documents. |
-bool IsHostedDocumentByExtension(const std::string& extension); |
+// Returns true if the given file path has an extension corresponding to one of |
+// hosted document types. |
+bool HasHostedDocumentExtension(const base::FilePath& path); |
} // namespace util |
} // namespace drive |