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

Unified Diff: chrome/browser/custom_handlers/protocol_handler_registry.h

Issue 8612007: Add OVERRIDE to chrome/browser/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 1 month 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.h
diff --git a/chrome/browser/custom_handlers/protocol_handler_registry.h b/chrome/browser/custom_handlers/protocol_handler_registry.h
index 98d3e02d9af288b6a254c6e11ed3f069d7cc37de..03c633bdcbe2834158a9a4ecab1ee75e7a4bccf7 100644
--- a/chrome/browser/custom_handlers/protocol_handler_registry.h
+++ b/chrome/browser/custom_handlers/protocol_handler_registry.h
@@ -40,7 +40,7 @@ class ProtocolHandlerRegistry
// Get response from the worker regarding whether Chrome is the default
// handler for the protocol.
virtual void SetDefaultWebClientUIState(
- ShellIntegration::DefaultWebClientUIState state);
+ ShellIntegration::DefaultWebClientUIState state) OVERRIDE;
// Give the observer a handle to the worker, so we can find out the protocol
// when we're called and also tell the worker if we get deleted.
@@ -50,7 +50,7 @@ class ProtocolHandlerRegistry
ShellIntegration::DefaultProtocolClientWorker* worker_;
private:
- virtual bool IsOwnedByWorker() { return true; }
+ virtual bool IsOwnedByWorker() OVERRIDE { return true; }
// This is a raw pointer, not reference counted, intentionally. In general
// subclasses of DefaultWebClientObserver are not able to be refcounted
// e.g. the browser options page

Powered by Google App Engine
This is Rietveld 408576698