Index: trunk/src/chrome/browser/drive/drive_api_util.h |
=================================================================== |
--- trunk/src/chrome/browser/drive/drive_api_util.h (revision 288215) |
+++ trunk/src/chrome/browser/drive/drive_api_util.h (working copy) |
@@ -63,6 +63,12 @@ |
// into the new format. |
std::string CanonicalizeResourceId(const std::string& resource_id); |
+// Extracts an url to the sharing dialog and returns it via |callback|. If |
+// the share url doesn't exist, then an empty url is returned. |
+void ParseShareUrlAndRun(const google_apis::GetShareUrlCallback& callback, |
+ google_apis::GDataErrorCode error, |
+ scoped_ptr<base::Value> value); |
+ |
// Converts FileResource to ResourceEntry. |
scoped_ptr<google_apis::ResourceEntry> |
ConvertFileResourceToResourceEntry( |