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

Unified Diff: chrome/browser/extensions/api/messaging/native_message_process_host_unittest.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/messaging/native_message_process_host_unittest.cc
diff --git a/chrome/browser/extensions/api/messaging/native_message_process_host_unittest.cc b/chrome/browser/extensions/api/messaging/native_message_process_host_unittest.cc
index 32cf9ce402652fb198c2a8abe2a91f29d49f210c..bb9c7a030e7fe70f109eeea02d6042295126378b 100644
--- a/chrome/browser/extensions/api/messaging/native_message_process_host_unittest.cc
+++ b/chrome/browser/extensions/api/messaging/native_message_process_host_unittest.cc
@@ -81,7 +81,7 @@ class FakeLauncher : public NativeProcessLauncher {
virtual void Launch(const GURL& origin,
const std::string& native_host_name,
- LaunchedCallback callback) const OVERRIDE {
+ LaunchedCallback callback) const override {
callback.Run(NativeProcessLauncher::RESULT_SUCCESS,
base::kNullProcessHandle,
read_file_.Pass(), write_file_.Pass());
@@ -101,11 +101,11 @@ class NativeMessagingTest : public ::testing::Test,
thread_bundle_(content::TestBrowserThreadBundle::IO_MAINLOOP),
channel_closed_(false) {}
- virtual void SetUp() OVERRIDE {
+ virtual void SetUp() override {
ASSERT_TRUE(temp_dir_.CreateUniqueTempDir());
}
- virtual void TearDown() OVERRIDE {
+ virtual void TearDown() override {
if (native_message_process_host_.get()) {
BrowserThread::DeleteSoon(BrowserThread::IO, FROM_HERE,
native_message_process_host_.release());
@@ -115,7 +115,7 @@ class NativeMessagingTest : public ::testing::Test,
virtual void PostMessageFromNativeProcess(
int port_id,
- const std::string& message) OVERRIDE {
+ const std::string& message) override {
last_message_ = message;
// Parse the message.
@@ -134,7 +134,7 @@ class NativeMessagingTest : public ::testing::Test,
}
virtual void CloseChannel(int port_id,
- const std::string& error_message) OVERRIDE {
+ const std::string& error_message) override {
channel_closed_ = true;
if (run_loop_)
run_loop_->Quit();

Powered by Google App Engine
This is Rietveld 408576698