15821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)// Copyright (c) 2012 The Chromium Authors. All rights reserved.
25821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)// Use of this source code is governed by a BSD-style license that can be
35821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)// found in the LICENSE file.
45821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)
55821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)#include "chrome/browser/external_protocol/external_protocol_handler.h"
65821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)
75821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)#include "base/logging.h"
85821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)
95821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)// static
105821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)void ExternalProtocolHandler::RunExternalProtocolDialog(
115821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)    const GURL& url, int render_process_host_id, int routing_id) {
125821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)  // Chrome on Android uses a throttle-based mechansim to intercept links
135821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)  // so that the user may choose to run an Android application instead of
145821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)  // loading the link in the browser. The throttle is also used to handle
155821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)  // external protocols, so this code should not be reachable.
165821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)  NOTREACHED();
175821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)}
18