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

Unified Diff: chrome/browser/chromeos/settings/device_oauth2_token_service_unittest.cc

Issue 851123003: Update {virtual,override,final} to follow C++11 style in chrome/browser/chromeos/settings. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 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/chromeos/settings/device_oauth2_token_service_unittest.cc
diff --git a/chrome/browser/chromeos/settings/device_oauth2_token_service_unittest.cc b/chrome/browser/chromeos/settings/device_oauth2_token_service_unittest.cc
index a75754ea8ea043cf7983f0bd72d6148e529f3038..8ddfdace5be0d5349d6e1681d628c21592d0cd2d 100644
--- a/chrome/browser/chromeos/settings/device_oauth2_token_service_unittest.cc
+++ b/chrome/browser/chromeos/settings/device_oauth2_token_service_unittest.cc
@@ -41,7 +41,7 @@ class DeviceOAuth2TokenServiceTest : public testing::Test {
: scoped_testing_local_state_(TestingBrowserProcess::GetGlobal()),
request_context_getter_(new net::TestURLRequestContextGetter(
message_loop_.message_loop_proxy())) {}
- virtual ~DeviceOAuth2TokenServiceTest() {}
+ ~DeviceOAuth2TokenServiceTest() override {}
// Most tests just want a noop crypto impl with a dummy refresh token value in
// Local State (if the value is an empty string, it will be ignored).
@@ -74,7 +74,7 @@ class DeviceOAuth2TokenServiceTest : public testing::Test {
&consumer_);
}
- virtual void SetUp() override {
+ void SetUp() override {
fake_cryptohome_client_ = new FakeCryptohomeClient;
fake_cryptohome_client_->SetServiceIsAvailable(true);
fake_cryptohome_client_->set_system_salt(
@@ -95,7 +95,7 @@ class DeviceOAuth2TokenServiceTest : public testing::Test {
CrosSettings::Initialize();
}
- virtual void TearDown() override {
+ void TearDown() override {
CrosSettings::Shutdown();
TestingBrowserProcess::GetGlobal()->SetBrowserPolicyConnector(NULL);
content::BrowserThread::GetBlockingPool()->FlushForTesting();

Powered by Google App Engine
This is Rietveld 408576698