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

Unified Diff: mojo/shell/filename_util.h

Issue 1109993002: Adds support for mojo apps to live in their own directory (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rename Created 5 years, 8 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: mojo/shell/filename_util.h
diff --git a/mojo/shell/filename_util.h b/mojo/shell/filename_util.h
index 28d0e780a9910576e031f0b578d81318a152277e..31aba797eb33b0aaf7a928916fae206bc190095d 100644
--- a/mojo/shell/filename_util.h
+++ b/mojo/shell/filename_util.h
@@ -22,6 +22,9 @@ GURL FilePathToFileURL(const base::FilePath& path);
// slash so that GURL.Resolve(...) works correctly.
GURL AddTrailingSlashIfNeeded(const GURL& url);
+// Converts a file url to a path
+base::FilePath UrlToFilePath(const GURL& url);
+
} // namespace shell
} // namespace mojo

Powered by Google App Engine
This is Rietveld 408576698