Only grant permissions to new extensions from sync if they have the expected version
[chromium-blink-merge.git] / chrome / browser / shell_integration_android.cc
blob30623860b64d073a5ba434fc90d3a405df4d3add
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.
5 #include "base/logging.h"
6 #include "chrome/browser/shell_integration.h"
8 // TODO: crbug/115375 to track implementation for following methods.
9 // static
10 ShellIntegration::DefaultWebClientSetPermission
11 ShellIntegration::CanSetAsDefaultBrowser() {
12 NOTIMPLEMENTED();
13 return SET_DEFAULT_NOT_ALLOWED;
16 // static
17 bool ShellIntegration::SetAsDefaultBrowser() {
18 NOTIMPLEMENTED();
19 return false;
22 // static
23 bool ShellIntegration::SetAsDefaultProtocolClient(const std::string& protocol) {
24 NOTIMPLEMENTED();
25 return false;
28 // static
29 ShellIntegration::DefaultWebClientState ShellIntegration::GetDefaultBrowser() {
30 NOTIMPLEMENTED();
31 return UNKNOWN_DEFAULT;
34 // static
35 ShellIntegration::DefaultWebClientState
36 ShellIntegration::IsDefaultProtocolClient(const std::string& protocol) {
37 NOTIMPLEMENTED();
38 return UNKNOWN_DEFAULT;
41 // static
42 bool ShellIntegration::IsFirefoxDefaultBrowser() {
43 return false;