OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "base/logging.h" | 5 #include "base/logging.h" |
6 #include "chrome/browser/shell_integration.h" | 6 #include "chrome/browser/shell_integration.h" |
7 | 7 |
8 namespace shell_integration { | 8 namespace shell_integration { |
9 | 9 |
10 // TODO: crbug/115375 to track implementation for following methods. | 10 // TODO: crbug/115375 to track implementation for following methods. |
11 bool SetAsDefaultBrowser() { | 11 bool SetAsDefaultBrowser() { |
12 NOTIMPLEMENTED(); | 12 NOTIMPLEMENTED(); |
13 return false; | 13 return false; |
14 } | 14 } |
15 | 15 |
16 bool SetAsDefaultProtocolClient(const std::string& protocol) { | 16 bool SetAsDefaultProtocolClient(const std::string& protocol) { |
17 NOTIMPLEMENTED(); | 17 NOTIMPLEMENTED(); |
18 return false; | 18 return false; |
19 } | 19 } |
20 | 20 |
21 DefaultWebClientSetPermission CanSetAsDefaultBrowser() { | 21 DefaultWebClientSetPermission GetDefaultWebClientSetPermission() { |
22 NOTIMPLEMENTED(); | 22 NOTIMPLEMENTED(); |
23 return SET_DEFAULT_NOT_ALLOWED; | 23 return SET_DEFAULT_NOT_ALLOWED; |
24 } | 24 } |
25 | 25 |
26 DefaultWebClientState GetDefaultBrowser() { | 26 DefaultWebClientState GetDefaultBrowser() { |
27 NOTIMPLEMENTED(); | 27 NOTIMPLEMENTED(); |
28 return UNKNOWN_DEFAULT; | 28 return UNKNOWN_DEFAULT; |
29 } | 29 } |
30 | 30 |
31 bool IsFirefoxDefaultBrowser() { | 31 bool IsFirefoxDefaultBrowser() { |
32 return false; | 32 return false; |
33 } | 33 } |
34 | 34 |
35 DefaultWebClientState IsDefaultProtocolClient(const std::string& protocol) { | 35 DefaultWebClientState IsDefaultProtocolClient(const std::string& protocol) { |
36 NOTIMPLEMENTED(); | 36 NOTIMPLEMENTED(); |
37 return UNKNOWN_DEFAULT; | 37 return UNKNOWN_DEFAULT; |
38 } | 38 } |
39 | 39 |
40 } // namespace shell_integration | 40 } // namespace shell_integration |
OLD | NEW |