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

Unified Diff: mojo/runner/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: merge to trunk and move filename_util to own dir 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
« no previous file with comments | « mojo/runner/context.cc ('k') | mojo/runner/filename_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/runner/filename_util.h
diff --git a/mojo/runner/filename_util.h b/mojo/runner/filename_util.h
deleted file mode 100644
index 22ae00163319977839b271abb00730696979c0cf..0000000000000000000000000000000000000000
--- a/mojo/runner/filename_util.h
+++ /dev/null
@@ -1,28 +0,0 @@
-// Copyright 2014 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef MOJO_RUNNER_FILENAME_UTIL_H_
-#define MOJO_RUNNER_FILENAME_UTIL_H_
-
-class GURL;
-
-namespace base {
-class FilePath;
-}
-
-namespace mojo {
-namespace shell {
-
-// Given the full path to a file name, creates a file: URL. The returned URL
-// may not be valid if the input is malformed.
-GURL FilePathToFileURL(const base::FilePath& path);
-
-// This URL is going to be treated as a directory. Ensure there is a trailing
-// slash so that GURL.Resolve(...) works correctly.
-GURL AddTrailingSlashIfNeeded(const GURL& url);
-
-} // namespace shell
-} // namespace mojo
-
-#endif // MOJO_RUNNER_FILENAME_UTIL_H_
« no previous file with comments | « mojo/runner/context.cc ('k') | mojo/runner/filename_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698