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

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: Fixed up a comment. 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 e154744de7d69c91e9ea565b171547f2c85329f0..0a9666fb53a00d9010ab9acd986873d79be87d79 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