| 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 // TODO: crbug/115375 to track implementation for following methods. | 8 // TODO: crbug/115375 to track implementation for following methods. |
| 9 // static | 9 // static |
| 10 bool ShellIntegration::CanSetAsDefaultBrowser() { | 10 ShellIntegration::DefaultWebClientSetPermission |
| 11 ShellIntegration::CanSetAsDefaultBrowser() { |
| 11 NOTIMPLEMENTED(); | 12 NOTIMPLEMENTED(); |
| 12 return false; | 13 return SET_DEFAULT_NOT_ALLOWED; |
| 13 } | 14 } |
| 14 | 15 |
| 15 // static | 16 // static |
| 16 bool ShellIntegration::SetAsDefaultBrowser() { | 17 bool ShellIntegration::SetAsDefaultBrowser() { |
| 17 NOTIMPLEMENTED(); | 18 NOTIMPLEMENTED(); |
| 18 return false; | 19 return false; |
| 19 } | 20 } |
| 20 | 21 |
| 21 // static | 22 // static |
| 22 bool ShellIntegration::SetAsDefaultProtocolClient(const std::string& protocol) { | 23 bool ShellIntegration::SetAsDefaultProtocolClient(const std::string& protocol) { |
| (...skipping 12 matching lines...) Expand all Loading... |
| 35 ShellIntegration::IsDefaultProtocolClient(const std::string& protocol) { | 36 ShellIntegration::IsDefaultProtocolClient(const std::string& protocol) { |
| 36 NOTIMPLEMENTED(); | 37 NOTIMPLEMENTED(); |
| 37 return UNKNOWN_DEFAULT_WEB_CLIENT; | 38 return UNKNOWN_DEFAULT_WEB_CLIENT; |
| 38 } | 39 } |
| 39 | 40 |
| 40 // static | 41 // static |
| 41 bool ShellIntegration::IsFirefoxDefaultBrowser() { | 42 bool ShellIntegration::IsFirefoxDefaultBrowser() { |
| 42 return false; | 43 return false; |
| 43 } | 44 } |
| 44 | 45 |
| OLD | NEW |