Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5)

Side by Side Diff: chrome/browser/shell_integration_android.cc

Issue 10453041: Support for interactive set-chrome-as-default in Windows. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: A style fix Created 8 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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::DefaultSettingsChangePermission
11 ShellIntegration::CanSetAsDefaultBrowser() {
11 NOTIMPLEMENTED(); 12 NOTIMPLEMENTED();
12 return false; 13 return CHANGE_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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698