1 // Copyright 2013 The Chromium Authors
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #include "chrome/browser/shell_integration.h"
7 namespace shell_integration {
9 bool SetAsDefaultBrowser() {
13 bool SetAsDefaultClientForScheme(const std::string& scheme) {
17 std::u16string GetApplicationNameForScheme(const GURL& url) {
18 return std::u16string();
21 DefaultWebClientState GetDefaultBrowser() {
22 // Chrome is always the default system browser in Chrome OS. This is called
23 // from ChromeAppDelegate::NewWindowContentsDelegate::OpenURLFromTab() where
24 // we should navigate internally since we are the default browser rather than
25 // call platform_util::OpenExternal().
29 bool IsFirefoxDefaultBrowser() {
33 DefaultWebClientState IsDefaultClientForScheme(const std::string& scheme) {
34 return UNKNOWN_DEFAULT;
39 DefaultWebClientSetPermission GetPlatformSpecificDefaultWebClientSetPermission(
40 WebClientSetMethod method) {
41 return SET_DEFAULT_NOT_ALLOWED;
44 } // namespace internal
46 } // namespace shell_integration