blob: 30623860b64d073a5ba434fc90d3a405df4d3add [file] [log] [blame]
[email protected]84f62a62012-02-24 19:13:171// Copyright (c) 2012 The Chromium Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5#include "base/logging.h"
6#include "chrome/browser/shell_integration.h"
7
8// TODO: crbug/115375 to track implementation for following methods.
9// static
[email protected]bd046bd42012-06-08 05:07:3210ShellIntegration::DefaultWebClientSetPermission
11 ShellIntegration::CanSetAsDefaultBrowser() {
[email protected]84f62a62012-02-24 19:13:1712 NOTIMPLEMENTED();
[email protected]bd046bd42012-06-08 05:07:3213 return SET_DEFAULT_NOT_ALLOWED;
[email protected]84f62a62012-02-24 19:13:1714}
15
16// static
17bool ShellIntegration::SetAsDefaultBrowser() {
18 NOTIMPLEMENTED();
19 return false;
20}
21
22// static
23bool ShellIntegration::SetAsDefaultProtocolClient(const std::string& protocol) {
24 NOTIMPLEMENTED();
25 return false;
26}
27
28// static
[email protected]89886652012-12-11 18:09:0729ShellIntegration::DefaultWebClientState ShellIntegration::GetDefaultBrowser() {
[email protected]84f62a62012-02-24 19:13:1730 NOTIMPLEMENTED();
[email protected]89886652012-12-11 18:09:0731 return UNKNOWN_DEFAULT;
[email protected]84f62a62012-02-24 19:13:1732}
33
34// static
35ShellIntegration::DefaultWebClientState
36ShellIntegration::IsDefaultProtocolClient(const std::string& protocol) {
37 NOTIMPLEMENTED();
[email protected]89886652012-12-11 18:09:0738 return UNKNOWN_DEFAULT;
[email protected]84f62a62012-02-24 19:13:1739}
40
41// static
42bool ShellIntegration::IsFirefoxDefaultBrowser() {
43 return false;
44}
45