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

Unified Diff: chrome/browser/extensions/api/gcd_private/gcd_private_api.cc

Issue 624153002: replace OVERRIDE and FINAL with override and final in chrome/browser/extensions/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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/extensions/api/gcd_private/gcd_private_api.cc
diff --git a/chrome/browser/extensions/api/gcd_private/gcd_private_api.cc b/chrome/browser/extensions/api/gcd_private/gcd_private_api.cc
index 7f97009cb308784c2cfb1525bf5d8661ab0262f3..8a342fff5b1a14292ad6bc83269214a7669dd5df 100644
--- a/chrome/browser/extensions/api/gcd_private/gcd_private_api.cc
+++ b/chrome/browser/extensions/api/gcd_private/gcd_private_api.cc
@@ -149,16 +149,16 @@ class GcdPrivateAPIImpl : public EventRouter::Observer,
PasswordMap;
// EventRouter::Observer implementation.
- virtual void OnListenerAdded(const EventListenerInfo& details) OVERRIDE;
- virtual void OnListenerRemoved(const EventListenerInfo& details) OVERRIDE;
+ virtual void OnListenerAdded(const EventListenerInfo& details) override;
+ virtual void OnListenerRemoved(const EventListenerInfo& details) override;
// local_discovery::PrivetDeviceLister implementation.
virtual void DeviceChanged(
bool added,
const std::string& name,
- const local_discovery::DeviceDescription& description) OVERRIDE;
- virtual void DeviceRemoved(const std::string& name) OVERRIDE;
- virtual void DeviceCacheFlushed() OVERRIDE;
+ const local_discovery::DeviceDescription& description) override;
+ virtual void DeviceRemoved(const std::string& name) override;
+ virtual void DeviceCacheFlushed() override;
void SendMessageInternal(int session_id,
const std::string& api,
@@ -199,12 +199,12 @@ class GcdPrivateRequest : public local_discovery::PrivetV3Session::Request {
virtual ~GcdPrivateRequest();
// local_discovery::PrivetV3Session::Request implementation.
- virtual std::string GetName() OVERRIDE;
- virtual const base::DictionaryValue& GetInput() OVERRIDE;
+ virtual std::string GetName() override;
+ virtual const base::DictionaryValue& GetInput() override;
virtual void OnError(
- local_discovery::PrivetURLFetcher::ErrorType error) OVERRIDE;
+ local_discovery::PrivetURLFetcher::ErrorType error) override;
virtual void OnParsedJson(const base::DictionaryValue& value,
- bool has_error) OVERRIDE;
+ bool has_error) override;
private:
std::string api_;
@@ -242,8 +242,8 @@ class GcdPrivateSessionHolder
// local_discovery::PrivetV3Session::Delegate implementation.
virtual void OnSetupConfirmationNeeded(
const std::string& confirmation_code,
- api::gcd_private::ConfirmationType confirmation_type) OVERRIDE;
- virtual void OnSessionStatus(api::gcd_private::Status status) OVERRIDE;
+ api::gcd_private::ConfirmationType confirmation_type) override;
+ virtual void OnSessionStatus(api::gcd_private::Status status) override;
scoped_ptr<local_discovery::PrivetHTTPClient> http_client_;
scoped_ptr<local_discovery::PrivetV3Session> privet_session_;

Powered by Google App Engine
This is Rietveld 408576698