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

Unified Diff: chrome/browser/apps/app_shim/extension_app_shim_handler_mac_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
« no previous file with comments | « chrome/app/delay_load_hook_unittest_win.cc ('k') | chrome/browser/autocomplete/autocomplete_controller.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/apps/app_shim/extension_app_shim_handler_mac_unittest.cc
diff --git a/chrome/browser/apps/app_shim/extension_app_shim_handler_mac_unittest.cc b/chrome/browser/apps/app_shim/extension_app_shim_handler_mac_unittest.cc
index 913c9c812ac4f94b87a7ff582b9f7fcb4c90dba5..76500420469581bba9fcf66b43e150e71ceb4f1a 100644
--- a/chrome/browser/apps/app_shim/extension_app_shim_handler_mac_unittest.cc
+++ b/chrome/browser/apps/app_shim/extension_app_shim_handler_mac_unittest.cc
@@ -116,16 +116,16 @@ class FakeHost : public apps::AppShimHandler::Host {
MOCK_METHOD1(OnAppLaunchComplete, void(AppShimLaunchResult));
- virtual void OnAppClosed() override {
+ void OnAppClosed() override {
handler_->OnShimClose(this);
++close_count_;
}
- virtual void OnAppHide() override {}
- virtual void OnAppRequestUserAttention(AppShimAttentionType type) override {}
- virtual base::FilePath GetProfilePath() const override {
+ void OnAppHide() override {}
+ void OnAppRequestUserAttention(AppShimAttentionType type) override {}
+ base::FilePath GetProfilePath() const override {
return profile_path_;
}
- virtual std::string GetAppId() const override { return app_id_; }
+ std::string GetAppId() const override { return app_id_; }
int close_count() { return close_count_; }
« no previous file with comments | « chrome/app/delay_load_hook_unittest_win.cc ('k') | chrome/browser/autocomplete/autocomplete_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698