fuchsia_dir_scheme.cc 440 B

1234567891011121314
  1. // Copyright 2020 The Chromium Authors. All rights reserved.
  2. // Use of this source code is governed by a BSD-style license that can be
  3. // found in the LICENSE file.
  4. #include "fuchsia_web/common/fuchsia_dir_scheme.h"
  5. #include "url/url_util.h"
  6. const char kFuchsiaDirScheme[] = "fuchsia-dir";
  7. void RegisterFuchsiaDirScheme() {
  8. url::AddStandardScheme(kFuchsiaDirScheme, url::SCHEME_WITH_HOST);
  9. url::AddLocalScheme(kFuchsiaDirScheme);
  10. }