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

Unified Diff: chrome/browser/profiles/profile_manager_unittest.cc

Issue 654223009: Standardize usage of virtual/override/final in chrome/browser/profiles/ (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/profiles/profile_manager_unittest.cc
diff --git a/chrome/browser/profiles/profile_manager_unittest.cc b/chrome/browser/profiles/profile_manager_unittest.cc
index c965a6f80ea278f5c76fe799c8029e945cbba309..e86c8833728ac858e860b004ec5d93af7435e781 100644
--- a/chrome/browser/profiles/profile_manager_unittest.cc
+++ b/chrome/browser/profiles/profile_manager_unittest.cc
@@ -71,8 +71,7 @@ class UnittestProfileManager : public ::ProfileManagerWithoutInit {
: ::ProfileManagerWithoutInit(user_data_dir) {}
protected:
- virtual Profile* CreateProfileHelper(
- const base::FilePath& file_path) override {
+ Profile* CreateProfileHelper(const base::FilePath& file_path) override {
if (!base::PathExists(file_path)) {
if (!base::CreateDirectory(file_path))
return NULL;
@@ -80,8 +79,8 @@ class UnittestProfileManager : public ::ProfileManagerWithoutInit {
return new TestingProfile(file_path, NULL);
}
- virtual Profile* CreateProfileAsyncHelper(const base::FilePath& path,
- Delegate* delegate) override {
+ Profile* CreateProfileAsyncHelper(const base::FilePath& path,
+ Delegate* delegate) override {
// This is safe while all file operations are done on the FILE thread.
BrowserThread::PostTask(
BrowserThread::FILE, FROM_HERE,
@@ -392,8 +391,7 @@ class UnittestGuestProfileManager : public UnittestProfileManager {
: UnittestProfileManager(user_data_dir) {}
protected:
- virtual Profile* CreateProfileHelper(
- const base::FilePath& file_path) override {
+ Profile* CreateProfileHelper(const base::FilePath& file_path) override {
TestingProfile::Builder builder;
builder.SetGuestSession();
builder.SetPath(file_path);

Powered by Google App Engine
This is Rietveld 408576698