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

Unified Diff: chrome/browser/custom_handlers/protocol_handler_registry_unittest.cc

Issue 10539169: Prototype version of the first-run dialog for Windows 8 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: An oops. 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/custom_handlers/protocol_handler_registry_unittest.cc
diff --git a/chrome/browser/custom_handlers/protocol_handler_registry_unittest.cc b/chrome/browser/custom_handlers/protocol_handler_registry_unittest.cc
index d0c42284502c13f8da233591aa9d8a3314d75ef3..957096bdd35fa3b8cdfa17b31db323ff83682f8a 100644
--- a/chrome/browser/custom_handlers/protocol_handler_registry_unittest.cc
+++ b/chrome/browser/custom_handlers/protocol_handler_registry_unittest.cc
@@ -118,7 +118,7 @@ class FakeProtocolClientWorker
private:
virtual ~FakeProtocolClientWorker() {}
- virtual ShellIntegration::DefaultWebClientState CheckIsDefault() {
+ virtual ShellIntegration::DefaultWebClientState CheckIsDefault() OVERRIDE {
if (force_failure_) {
return ShellIntegration::NOT_DEFAULT_WEB_CLIENT;
} else {
@@ -126,7 +126,9 @@ class FakeProtocolClientWorker
}
}
- virtual void SetAsDefault(bool interactive_permitted) {}
+ virtual bool SetAsDefault(bool interactive_permitted) OVERRIDE {
+ return true;
+ }
private:
bool force_failure_;

Powered by Google App Engine
This is Rietveld 408576698