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

Unified Diff: chrome/browser/local_discovery/privet_http_unittest.cc

Issue 624173002: replace OVERRIDE and FINAL with override and final in chrome/browser/[j-q]* (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase on master 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/local_discovery/privet_http_unittest.cc
diff --git a/chrome/browser/local_discovery/privet_http_unittest.cc b/chrome/browser/local_discovery/privet_http_unittest.cc
index 94c9bc7ad0db18f4cd8aa1154af4d6f8730afea0..1835024df38dd0fcc3f750de5d9802f1a4a98b23 100644
--- a/chrome/browser/local_discovery/privet_http_unittest.cc
+++ b/chrome/browser/local_discovery/privet_http_unittest.cc
@@ -382,7 +382,7 @@ class MockRegisterDelegate : public PrivetRegisterOperation::Delegate {
virtual void OnPrivetRegisterClaimToken(
PrivetRegisterOperation* operation,
const std::string& token,
- const GURL& url) OVERRIDE {
+ const GURL& url) override {
OnPrivetRegisterClaimTokenInternal(token, url);
}
@@ -395,7 +395,7 @@ class MockRegisterDelegate : public PrivetRegisterOperation::Delegate {
const std::string& action,
PrivetRegisterOperation::FailureReason reason,
int printer_http_code,
- const base::DictionaryValue* json) OVERRIDE {
+ const base::DictionaryValue* json) override {
// TODO(noamsml): Save and test for JSON?
OnPrivetRegisterErrorInternal(action, reason, printer_http_code);
}
@@ -407,7 +407,7 @@ class MockRegisterDelegate : public PrivetRegisterOperation::Delegate {
virtual void OnPrivetRegisterDone(
PrivetRegisterOperation* operation,
- const std::string& device_id) OVERRIDE {
+ const std::string& device_id) override {
OnPrivetRegisterDoneInternal(device_id);
}
@@ -441,7 +441,7 @@ class PrivetInfoTest : public PrivetHTTPTest {
virtual ~PrivetInfoTest() {}
- virtual void SetUp() OVERRIDE {
+ virtual void SetUp() override {
info_operation_ = privet_client_->CreateInfoOperation(
info_callback_.callback());
}
@@ -488,7 +488,7 @@ class PrivetRegisterTest : public PrivetHTTPTest {
virtual ~PrivetRegisterTest() {
}
- virtual void SetUp() OVERRIDE {
+ virtual void SetUp() override {
info_operation_ = privet_client_->CreateInfoOperation(
info_callback_.callback());
register_operation_ =
@@ -677,7 +677,7 @@ class PrivetCapabilitiesTest : public PrivetHTTPTest {
virtual ~PrivetCapabilitiesTest() {}
- virtual void SetUp() OVERRIDE {
+ virtual void SetUp() override {
capabilities_operation_ = privet_client_->CreateCapabilitiesOperation(
capabilities_callback_.callback());
}
@@ -768,7 +768,7 @@ class FakePWGRasterConverter : public PWGRasterConverter {
virtual void Start(base::RefCountedMemory* data,
const printing::PdfRenderSettings& conversion_settings,
const printing::PwgRasterSettings& bitmap_settings,
- const ResultCallback& callback) OVERRIDE {
+ const ResultCallback& callback) override {
bitmap_settings_ = bitmap_settings;
std::string data_str(data->front_as<char>(), data->size());
callback.Run(true, base::FilePath().AppendASCII(data_str + "test.pdf"));
@@ -788,7 +788,7 @@ class PrivetLocalPrintTest : public PrivetHTTPTest {
virtual ~PrivetLocalPrintTest() {}
- virtual void SetUp() OVERRIDE {
+ virtual void SetUp() override {
PrivetURLFetcher::ResetTokenMapForTests();
local_print_operation_ = privet_client_->CreateLocalPrintOperation(
« no previous file with comments | « chrome/browser/local_discovery/privet_http_impl.h ('k') | chrome/browser/local_discovery/privet_local_printer_lister.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698