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

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

Issue 1100223002: Update {virtual,override} to follow C++11 style in chrome. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase 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: 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 66bb7f6c0264ebe3434084bff6ac9dbf93fc86f0..c77de5eaf8920df315bca66997f09e19c5d33606 100644
--- a/chrome/browser/local_discovery/privet_http_unittest.cc
+++ b/chrome/browser/local_discovery/privet_http_unittest.cc
@@ -379,7 +379,7 @@ class MockRegisterDelegate : public PrivetRegisterOperation::Delegate {
~MockRegisterDelegate() {
}
- virtual void OnPrivetRegisterClaimToken(
+ void OnPrivetRegisterClaimToken(
PrivetRegisterOperation* operation,
const std::string& token,
const GURL& url) override {
@@ -390,7 +390,7 @@ class MockRegisterDelegate : public PrivetRegisterOperation::Delegate {
const std::string& token,
const GURL& url));
- virtual void OnPrivetRegisterError(
+ void OnPrivetRegisterError(
PrivetRegisterOperation* operation,
const std::string& action,
PrivetRegisterOperation::FailureReason reason,
@@ -405,7 +405,7 @@ class MockRegisterDelegate : public PrivetRegisterOperation::Delegate {
PrivetRegisterOperation::FailureReason reason,
int printer_http_code));
- virtual void OnPrivetRegisterDone(
+ void OnPrivetRegisterDone(
PrivetRegisterOperation* operation,
const std::string& device_id) override {
OnPrivetRegisterDoneInternal(device_id);
@@ -439,9 +439,9 @@ class PrivetInfoTest : public PrivetHTTPTest {
public:
PrivetInfoTest() {}
- virtual ~PrivetInfoTest() {}
+ ~PrivetInfoTest() override {}
- virtual void SetUp() override {
+ void SetUp() override {
info_operation_ = privet_client_->CreateInfoOperation(
info_callback_.callback());
}
@@ -485,10 +485,10 @@ class PrivetRegisterTest : public PrivetHTTPTest {
public:
PrivetRegisterTest() {
}
- virtual ~PrivetRegisterTest() {
+ ~PrivetRegisterTest() override {
}
- virtual void SetUp() override {
+ void SetUp() override {
info_operation_ = privet_client_->CreateInfoOperation(
info_callback_.callback());
register_operation_ =
@@ -675,9 +675,9 @@ class PrivetCapabilitiesTest : public PrivetHTTPTest {
public:
PrivetCapabilitiesTest() {}
- virtual ~PrivetCapabilitiesTest() {}
+ ~PrivetCapabilitiesTest() override {}
- virtual void SetUp() override {
+ void SetUp() override {
capabilities_operation_ = privet_client_->CreateCapabilitiesOperation(
capabilities_callback_.callback());
}
@@ -785,9 +785,9 @@ class PrivetLocalPrintTest : public PrivetHTTPTest {
public:
PrivetLocalPrintTest() {}
- virtual ~PrivetLocalPrintTest() {}
+ ~PrivetLocalPrintTest() override {}
- virtual void SetUp() override {
+ void SetUp() override {
PrivetURLFetcher::ResetTokenMapForTests();
local_print_operation_ = privet_client_->CreateLocalPrintOperation(

Powered by Google App Engine
This is Rietveld 408576698