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

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

Issue 625113002: replace OVERRIDE and FINAL with override and final in chrome/browser/[a-i]* (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix newly added OVERRIDEs Created 6 years, 2 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.h
diff --git a/chrome/browser/custom_handlers/protocol_handler_registry.h b/chrome/browser/custom_handlers/protocol_handler_registry.h
index 4afc07f08af30813d89ae213e007453911f6bc05..63adc5ba993a97201b531452f987737222831ccb 100644
--- a/chrome/browser/custom_handlers/protocol_handler_registry.h
+++ b/chrome/browser/custom_handlers/protocol_handler_registry.h
@@ -51,9 +51,9 @@ class ProtocolHandlerRegistry : public KeyedService {
// Get response from the worker regarding whether Chrome is the default
// handler for the protocol.
virtual void SetDefaultWebClientUIState(
- ShellIntegration::DefaultWebClientUIState state) OVERRIDE;
+ ShellIntegration::DefaultWebClientUIState state) override;
- virtual bool IsInteractiveSetDefaultPermitted() OVERRIDE;
+ virtual bool IsInteractiveSetDefaultPermitted() 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.
@@ -63,7 +63,7 @@ class ProtocolHandlerRegistry : public KeyedService {
ShellIntegration::DefaultProtocolClientWorker* worker_;
private:
- virtual bool IsOwnedByWorker() OVERRIDE;
+ virtual bool IsOwnedByWorker() override;
// This is a raw pointer, not reference counted, intentionally. In general
// subclasses of DefaultWebClientObserver are not able to be refcounted
@@ -115,10 +115,10 @@ class ProtocolHandlerRegistry : public KeyedService {
virtual net::URLRequestJob* MaybeCreateJobWithProtocolHandler(
const std::string& scheme,
net::URLRequest* request,
- net::NetworkDelegate* network_delegate) const OVERRIDE;
- virtual bool IsHandledProtocol(const std::string& scheme) const OVERRIDE;
- virtual bool IsHandledURL(const GURL& url) const OVERRIDE;
- virtual bool IsSafeRedirectTarget(const GURL& location) const OVERRIDE;
+ net::NetworkDelegate* network_delegate) const override;
+ virtual bool IsHandledProtocol(const std::string& scheme) const override;
+ virtual bool IsHandledURL(const GURL& url) const override;
+ virtual bool IsSafeRedirectTarget(const GURL& location) const override;
private:
// When JobInterceptorFactory decides to pass on particular requests,
@@ -244,7 +244,7 @@ class ProtocolHandlerRegistry : public KeyedService {
// This is called by the UI thread when the system is shutting down. This
// does finalization which must be done on the UI thread.
- virtual void Shutdown() OVERRIDE;
+ virtual void Shutdown() override;
// Registers the preferences that we store registered protocol handlers in.
static void RegisterProfilePrefs(user_prefs::PrefRegistrySyncable* registry);
« no previous file with comments | « chrome/browser/crash_upload_list_win.h ('k') | chrome/browser/custom_handlers/protocol_handler_registry_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698