cef/cef1/libcef/external_protocol_handler.h
Marshall Greenblatt de2ac7a2c1 Create 1364 release branch for CEF1.
git-svn-id: https://chromiumembedded.googlecode.com/svn/branches/1364@984 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2013-01-14 22:58:17 +00:00

24 lines
693 B
C++

// Copyright (c) 2011 The Chromium Embedded Framework 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 CEF_LIBCEF_EXTERNAL_PROTOCOL_HANDLER_H_
#define CEF_LIBCEF_EXTERNAL_PROTOCOL_HANDLER_H_
#pragma once
#include <string>
class GURL;
namespace ExternalProtocolHandler {
// Returns true if the OS provides external support for the specified |scheme|.
bool HasExternalHandler(const std::string& scheme);
// Pass handling of the specified |gurl| to the OS.
bool HandleExternalProtocol(const GURL& gurl);
} // namespace ExternalProtocolHandler
#endif // CEF_LIBCEF_EXTERNAL_PROTOCOL_HANDLER_H_