[email protected] | 84f62a6 | 2012-02-24 19:13:17 | [diff] [blame] | 1 | // 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] | bd046bd4 | 2012-06-08 05:07:32 | [diff] [blame] | 10 | ShellIntegration::DefaultWebClientSetPermission |
11 | ShellIntegration::CanSetAsDefaultBrowser() { | ||||
[email protected] | 84f62a6 | 2012-02-24 19:13:17 | [diff] [blame] | 12 | NOTIMPLEMENTED(); |
[email protected] | bd046bd4 | 2012-06-08 05:07:32 | [diff] [blame] | 13 | return SET_DEFAULT_NOT_ALLOWED; |
[email protected] | 84f62a6 | 2012-02-24 19:13:17 | [diff] [blame] | 14 | } |
15 | |||||
16 | // static | ||||
17 | bool ShellIntegration::SetAsDefaultBrowser() { | ||||
18 | NOTIMPLEMENTED(); | ||||
19 | return false; | ||||
20 | } | ||||
21 | |||||
22 | // static | ||||
23 | bool ShellIntegration::SetAsDefaultProtocolClient(const std::string& protocol) { | ||||
24 | NOTIMPLEMENTED(); | ||||
25 | return false; | ||||
26 | } | ||||
27 | |||||
28 | // static | ||||
[email protected] | 8988665 | 2012-12-11 18:09:07 | [diff] [blame] | 29 | ShellIntegration::DefaultWebClientState ShellIntegration::GetDefaultBrowser() { |
[email protected] | 84f62a6 | 2012-02-24 19:13:17 | [diff] [blame] | 30 | NOTIMPLEMENTED(); |
[email protected] | 8988665 | 2012-12-11 18:09:07 | [diff] [blame] | 31 | return UNKNOWN_DEFAULT; |
[email protected] | 84f62a6 | 2012-02-24 19:13:17 | [diff] [blame] | 32 | } |
33 | |||||
34 | // static | ||||
35 | ShellIntegration::DefaultWebClientState | ||||
36 | ShellIntegration::IsDefaultProtocolClient(const std::string& protocol) { | ||||
37 | NOTIMPLEMENTED(); | ||||
[email protected] | 8988665 | 2012-12-11 18:09:07 | [diff] [blame] | 38 | return UNKNOWN_DEFAULT; |
[email protected] | 84f62a6 | 2012-02-24 19:13:17 | [diff] [blame] | 39 | } |
40 | |||||
41 | // static | ||||
42 | bool ShellIntegration::IsFirefoxDefaultBrowser() { | ||||
43 | return false; | ||||
44 | } | ||||
45 |