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

Unified Diff: chrome/browser/chromeos/login/signin/oauth2_browsertest.cc

Issue 856493004: Update {virtual,override,final} to follow C++11 style in chrome/browser/chromeos/login. (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/login/signin/oauth2_browsertest.cc
diff --git a/chrome/browser/chromeos/login/signin/oauth2_browsertest.cc b/chrome/browser/chromeos/login/signin/oauth2_browsertest.cc
index 36bb855ac7fe9c0548adcff5bf4492796b43fa76..d474bf4350f174cd5bff3ae89f2e2e7486bc4ea4 100644
--- a/chrome/browser/chromeos/login/signin/oauth2_browsertest.cc
+++ b/chrome/browser/chromeos/login/signin/oauth2_browsertest.cc
@@ -105,7 +105,7 @@ class OAuth2LoginManagerStateWaiter : public OAuth2LoginManager::Observer {
private:
// OAuth2LoginManager::Observer overrides.
- virtual void OnSessionRestoreStateChanged(
+ void OnSessionRestoreStateChanged(
Profile* user_profile,
OAuth2LoginManager::SessionRestoreState state) override {
if (!waiting_for_state_)
@@ -134,7 +134,7 @@ class OAuth2Test : public OobeBaseTest {
protected:
OAuth2Test() {}
- virtual void SetUpCommandLine(base::CommandLine* command_line) override {
+ void SetUpCommandLine(base::CommandLine* command_line) override {
OobeBaseTest::SetUpCommandLine(command_line);
// Disable sync sinc we don't really need this for these tests and it also
@@ -229,7 +229,7 @@ class OAuth2Test : public OobeBaseTest {
protected:
// OobeBaseTest overrides.
- virtual Profile* profile() override {
+ Profile* profile() override {
if (user_manager::UserManager::Get()->GetActiveUser())
return ProfileManager::GetPrimaryUserProfile();
@@ -587,8 +587,8 @@ class DelayedFakeGaia : public FakeGaia {
private:
// FakeGaia overrides.
- virtual void HandleMergeSession(const HttpRequest& request,
- BasicHttpResponse* http_response) override {
+ void HandleMergeSession(const HttpRequest& request,
+ BasicHttpResponse* http_response) override {
start_event_.Signal();
content::BrowserThread::PostTask(
content::BrowserThread::UI, FROM_HERE,
@@ -616,7 +616,7 @@ class MergeSessionTest : public OAuth2Test {
fake_gaia_.reset(delayed_fake_gaia_);
}
- virtual void SetUpCommandLine(base::CommandLine* command_line) override {
+ void SetUpCommandLine(base::CommandLine* command_line) override {
OAuth2Test::SetUpCommandLine(command_line);
// Get fake URL for fake google.com.
@@ -634,7 +634,7 @@ class MergeSessionTest : public OAuth2Test {
non_google_page_url_ = non_google_url.Resolve(kRandomPagePath);
}
- virtual void SetUp() override {
+void SetUp() override {
embedded_test_server()->RegisterRequestHandler(
base::Bind(&FakeGoogle::HandleRequest,
base::Unretained(&fake_google_)));

Powered by Google App Engine
This is Rietveld 408576698