[email protected] | e7f7987 | 2013-09-13 01:39:31 | [diff] [blame] | 1 | // Copyright 2013 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 "chrome/browser/shell_integration.h" | ||||
6 | |||||
pmonette | 9fa59e88 | 2016-02-10 00:12:19 | [diff] [blame] | 7 | namespace shell_integration { |
8 | |||||
9 | bool SetAsDefaultBrowser() { | ||||
[email protected] | e7f7987 | 2013-09-13 01:39:31 | [diff] [blame] | 10 | return false; |
11 | } | ||||
12 | |||||
pmonette | 9fa59e88 | 2016-02-10 00:12:19 | [diff] [blame] | 13 | bool SetAsDefaultProtocolClient(const std::string& protocol) { |
[email protected] | e7f7987 | 2013-09-13 01:39:31 | [diff] [blame] | 14 | return false; |
15 | } | ||||
16 | |||||
pmonette | 32a5cfb4 | 2016-04-11 22:04:44 | [diff] [blame] | 17 | DefaultWebClientSetPermission GetDefaultWebClientSetPermission() { |
pmonette | 034a03d9 | 2015-10-02 21:04:27 | [diff] [blame] | 18 | return SET_DEFAULT_NOT_ALLOWED; |
[email protected] | e7f7987 | 2013-09-13 01:39:31 | [diff] [blame] | 19 | } |
20 | |||||
David Bienvenu | 6fcc593 | 2018-04-10 19:11:55 | [diff] [blame] | 21 | base::string16 GetApplicationNameForProtocol(const GURL& url) { |
22 | return base::string16(); | ||||
23 | } | ||||
24 | |||||
pmonette | 9fa59e88 | 2016-02-10 00:12:19 | [diff] [blame] | 25 | DefaultWebClientState GetDefaultBrowser() { |
[email protected] | e7f7987 | 2013-09-13 01:39:31 | [diff] [blame] | 26 | return UNKNOWN_DEFAULT; |
27 | } | ||||
28 | |||||
pmonette | 9fa59e88 | 2016-02-10 00:12:19 | [diff] [blame] | 29 | bool IsFirefoxDefaultBrowser() { |
[email protected] | e7f7987 | 2013-09-13 01:39:31 | [diff] [blame] | 30 | return false; |
31 | } | ||||
32 | |||||
pmonette | 9fa59e88 | 2016-02-10 00:12:19 | [diff] [blame] | 33 | DefaultWebClientState IsDefaultProtocolClient(const std::string& protocol) { |
pmonette | 034a03d9 | 2015-10-02 21:04:27 | [diff] [blame] | 34 | return UNKNOWN_DEFAULT; |
35 | } | ||||
pmonette | 9fa59e88 | 2016-02-10 00:12:19 | [diff] [blame] | 36 | |
37 | } // namespace shell_integration |