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

Unified Diff: content/public/renderer/platform_event_observer.h

Issue 1091093006: Update {virtual,override} to follow C++11 style in content. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Back out some webrtc files. Created 5 years, 8 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: content/public/renderer/platform_event_observer.h
diff --git a/content/public/renderer/platform_event_observer.h b/content/public/renderer/platform_event_observer.h
index 825c0feac82ba4c5991e6bfcb8d54fd6764a400e..083007cfc999d2f7adac65e0a1a7566800718da9 100644
--- a/content/public/renderer/platform_event_observer.h
+++ b/content/public/renderer/platform_event_observer.h
@@ -63,7 +63,7 @@ class PlatformEventObserver : public PlatformEventObserverBase,
// The observer must automatically stop observing when destroyed in case it
// did not stop before. Implementations of PlatformEventObserver must do
// so by calling StopIfObserving() from their destructors.
- virtual ~PlatformEventObserver() {
+ ~PlatformEventObserver() override {
// If this assert fails, the derived destructor failed to invoke
// StopIfObserving().
DCHECK(!is_observing());
@@ -71,7 +71,7 @@ class PlatformEventObserver : public PlatformEventObserverBase,
// Called when a new IPC message is received. Must be used to listen to the
// responses from the browser process if any expected.
- virtual bool OnControlMessageReceived(const IPC::Message& msg) override {
+ bool OnControlMessageReceived(const IPC::Message& msg) override {
return false;
}
« no previous file with comments | « content/common/sandbox_mac_system_access_unittest.mm ('k') | content/public/test/content_test_suite_base.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698