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

Unified Diff: chrome/browser/external_protocol/external_protocol_handler_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/external_protocol/external_protocol_handler_unittest.cc
diff --git a/chrome/browser/external_protocol/external_protocol_handler_unittest.cc b/chrome/browser/external_protocol/external_protocol_handler_unittest.cc
index eba808d7a14fad52cd5807e6ea6bccae0ddeb8b6..52b69ffafde47afd8c89668905eec8c26291a313 100644
--- a/chrome/browser/external_protocol/external_protocol_handler_unittest.cc
+++ b/chrome/browser/external_protocol/external_protocol_handler_unittest.cc
@@ -23,11 +23,13 @@ class FakeExternalProtocolHandlerWorker
private:
virtual ~FakeExternalProtocolHandlerWorker() {}
- virtual ShellIntegration::DefaultWebClientState CheckIsDefault() {
+ virtual ShellIntegration::DefaultWebClientState CheckIsDefault() OVERRIDE {
return os_state_;
}
- virtual void SetAsDefault(bool interactive_permitted) {}
+ virtual bool SetAsDefault(bool interactive_permitted) OVERRIDE {
+ return true;
+ }
ShellIntegration::DefaultWebClientState os_state_;
};

Powered by Google App Engine
This is Rietveld 408576698