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

Unified Diff: mojo/common/mojo_scheme_register.cc

Issue 1743473002: Change Mojo URLs to structured names (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@18collapse
Patch Set: . Created 4 years, 10 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/common/mojo_scheme_register.h ('k') | mojo/mojo_base.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/common/mojo_scheme_register.cc
diff --git a/mojo/common/mojo_scheme_register.cc b/mojo/common/mojo_scheme_register.cc
deleted file mode 100644
index db1224b44e36cea15630a387365bf0293fe17547..0000000000000000000000000000000000000000
--- a/mojo/common/mojo_scheme_register.cc
+++ /dev/null
@@ -1,23 +0,0 @@
-// Copyright 2016 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.
-
-#include "mojo/common/mojo_scheme_register.h"
-
-#include "url/gurl.h"
-#include "url/url_util.h"
-
-namespace mojo {
-
-void RegisterMojoSchemes() {
- static bool registered = false;
-
- if (registered)
- return;
-
- registered = true;
- url::AddStandardScheme("mojo", url::SCHEME_WITHOUT_AUTHORITY);
- url::AddStandardScheme("exe", url::SCHEME_WITHOUT_AUTHORITY);
-}
-
-} // namespace mojo
« no previous file with comments | « mojo/common/mojo_scheme_register.h ('k') | mojo/mojo_base.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698