summaryrefslogtreecommitdiff
path: root/chromium/fuchsia/base/fuchsia_dir_scheme.cc
blob: 00c1e0bd4395abaa837e62de4486b8cf2790fd5e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Copyright 2020 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 "fuchsia/base/fuchsia_dir_scheme.h"

#include "url/url_util.h"

namespace cr_fuchsia {

const char kFuchsiaDirScheme[] = "fuchsia-dir";

void RegisterFuchsiaDirScheme() {
  url::AddStandardScheme(kFuchsiaDirScheme, url::SCHEME_WITH_HOST);
  url::AddLocalScheme(kFuchsiaDirScheme);
}

}  // namespace cr_fuchsia