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

Unified Diff: chrome/browser/external_protocol/external_protocol_handler_unittest.cc

Issue 12212048: Linux/ChromeOS Chromium style checker cleanup, chrome/browser edition. (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: Created 7 years, 10 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
===================================================================
--- chrome/browser/external_protocol/external_protocol_handler_unittest.cc (revision 181040)
+++ chrome/browser/external_protocol/external_protocol_handler_unittest.cc (working copy)
@@ -46,14 +46,14 @@
virtual ShellIntegration::DefaultProtocolClientWorker* CreateShellWorker(
ShellIntegration::DefaultWebClientObserver* observer,
- const std::string& protocol) {
+ const std::string& protocol) OVERRIDE {
return new FakeExternalProtocolHandlerWorker(observer, protocol, os_state_);
}
virtual ExternalProtocolHandler::BlockState GetBlockState(
- const std::string& scheme) { return block_state_; }
+ const std::string& scheme) OVERRIDE { return block_state_; }
- virtual void BlockRequest() {
+ virtual void BlockRequest() OVERRIDE {
ASSERT_TRUE(block_state_ == ExternalProtocolHandler::BLOCK ||
os_state_ == ShellIntegration::IS_DEFAULT);
has_blocked_ = true;
@@ -61,19 +61,19 @@
virtual void RunExternalProtocolDialog(const GURL& url,
int render_process_host_id,
- int routing_id) {
+ int routing_id) OVERRIDE {
ASSERT_EQ(block_state_, ExternalProtocolHandler::UNKNOWN);
ASSERT_NE(os_state_, ShellIntegration::IS_DEFAULT);
has_prompted_ = true;
}
- virtual void LaunchUrlWithoutSecurityCheck(const GURL& url) {
+ virtual void LaunchUrlWithoutSecurityCheck(const GURL& url) OVERRIDE {
ASSERT_EQ(block_state_, ExternalProtocolHandler::DONT_BLOCK);
ASSERT_NE(os_state_, ShellIntegration::IS_DEFAULT);
has_launched_ = true;
}
- virtual void FinishedProcessingCheck() {
+ virtual void FinishedProcessingCheck() OVERRIDE {
MessageLoop::current()->Quit();
}

Powered by Google App Engine
This is Rietveld 408576698