blob: 65329164fdd40bca2dcd7bd3a410d9dceaabeb71 [file] [log] [blame]
// Copyright 2015 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.
namespace web {
// Note: WebMainRunner calls this method internally as part of main
// initialization, so this function generally should not be called
// by embedders. It's exported to facilitate test harnesses that do
// not utilize WebMainRunner and that do not wish to lock the set of
// standard schemes at init time.
// Called near the beginning of startup to register URL schemes that
// should be parsed as "standard" with the src/url/ library. The set
// of standard scheme is locked if |lock_schemes| is true.
// The embedder can add additional schemes by overriding the
// WebClient::AddAditionalSchemes method.
void RegisterWebSchemes(bool lock_schemes);
} // namespace web