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

Unified Diff: chrome/test/chromedriver/net/websocket_unittest.cc

Issue 637933002: Replace FINAL and OVERRIDE with their C++11 counterparts in chrome/test (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/test/chromedriver/net/websocket_unittest.cc
diff --git a/chrome/test/chromedriver/net/websocket_unittest.cc b/chrome/test/chromedriver/net/websocket_unittest.cc
index fd6299e5d8b83a7185a14cebce2bb5a2876c0a4c..d03228770db35ae9fa7c2ca55ed30dae9aa9b549 100644
--- a/chrome/test/chromedriver/net/websocket_unittest.cc
+++ b/chrome/test/chromedriver/net/websocket_unittest.cc
@@ -44,7 +44,7 @@ class Listener : public WebSocketListener {
EXPECT_TRUE(messages_.empty());
}
- virtual void OnMessageReceived(const std::string& message) OVERRIDE {
+ virtual void OnMessageReceived(const std::string& message) override {
ASSERT_TRUE(messages_.size());
EXPECT_EQ(messages_[0], message);
messages_.erase(messages_.begin());
@@ -52,7 +52,7 @@ class Listener : public WebSocketListener {
base::MessageLoop::current()->Quit();
}
- virtual void OnClose() OVERRIDE {
+ virtual void OnClose() override {
EXPECT_TRUE(false);
}
@@ -69,9 +69,9 @@ class CloseListener : public WebSocketListener {
EXPECT_FALSE(run_loop_);
}
- virtual void OnMessageReceived(const std::string& message) OVERRIDE {}
+ virtual void OnMessageReceived(const std::string& message) override {}
- virtual void OnClose() OVERRIDE {
+ virtual void OnClose() override {
EXPECT_TRUE(run_loop_);
if (run_loop_)
run_loop_->Quit();
@@ -87,11 +87,11 @@ class WebSocketTest : public testing::Test {
WebSocketTest() {}
virtual ~WebSocketTest() {}
- virtual void SetUp() OVERRIDE {
+ virtual void SetUp() override {
ASSERT_TRUE(server_.Start());
}
- virtual void TearDown() OVERRIDE {
+ virtual void TearDown() override {
server_.Stop();
}
« no previous file with comments | « chrome/test/chromedriver/net/url_request_context_getter.h ('k') | chrome/test/chromedriver/performance_logger.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698