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

Unified Diff: chrome/browser/ui/app_list/app_list_service_impl.cc

Issue 671653002: Standardize usage of virtual/override/final in chrome/browser/ui/ (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/ui/app_list/app_list_service_impl.cc
diff --git a/chrome/browser/ui/app_list/app_list_service_impl.cc b/chrome/browser/ui/app_list/app_list_service_impl.cc
index a388c543e4eda2e67551c00940e29763cf7fb968..8031b69075cbc8e73aaab05278fc81496b65e19d 100644
--- a/chrome/browser/ui/app_list/app_list_service_impl.cc
+++ b/chrome/browser/ui/app_list/app_list_service_impl.cc
@@ -87,13 +87,12 @@ class ProfileStoreImpl : public ProfileStore {
weak_factory_(this) {
}
- virtual void AddProfileObserver(ProfileInfoCacheObserver* observer) override {
+ void AddProfileObserver(ProfileInfoCacheObserver* observer) override {
profile_manager_->GetProfileInfoCache().AddObserver(observer);
}
- virtual void LoadProfileAsync(
- const base::FilePath& path,
- base::Callback<void(Profile*)> callback) override {
+ void LoadProfileAsync(const base::FilePath& path,
+ base::Callback<void(Profile*)> callback) override {
profile_manager_->CreateProfileAsync(
path,
base::Bind(&ProfileStoreImpl::OnProfileCreated,
@@ -123,16 +122,15 @@ class ProfileStoreImpl : public ProfileStore {
}
}
- virtual Profile* GetProfileByPath(const base::FilePath& path) override {
+ Profile* GetProfileByPath(const base::FilePath& path) override {
return profile_manager_->GetProfileByPath(path);
}
- virtual base::FilePath GetUserDataDir() override {
+ base::FilePath GetUserDataDir() override {
return profile_manager_->user_data_dir();
}
- virtual bool IsProfileSupervised(
- const base::FilePath& profile_path) override {
+ bool IsProfileSupervised(const base::FilePath& profile_path) override {
ProfileInfoCache& profile_info =
g_browser_process->profile_manager()->GetProfileInfoCache();
size_t profile_index = profile_info.GetIndexOfProfileWithPath(profile_path);

Powered by Google App Engine
This is Rietveld 408576698