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

Unified Diff: athena/extensions/shell/extensions_delegate_impl.cc

Issue 641683003: C++11 override style change for athena (Closed) Base URL: https://chromium.googlesource.com/chromium/src@master
Patch Set: rebase 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: athena/extensions/shell/extensions_delegate_impl.cc
diff --git a/athena/extensions/shell/extensions_delegate_impl.cc b/athena/extensions/shell/extensions_delegate_impl.cc
index 00af9cc767bb9ce1eb93714ca66abe970a3c6d39..dd926a1e43b7f2b095b4cb026a11dc7555f7c1a1 100644
--- a/athena/extensions/shell/extensions_delegate_impl.cc
+++ b/athena/extensions/shell/extensions_delegate_impl.cc
@@ -23,26 +23,27 @@ class ShellExtensionsDelegate : public ExtensionsDelegate {
extensions::AppWindowClient::Set(&app_window_client_);
}
- virtual ~ShellExtensionsDelegate() {
+ ~ShellExtensionsDelegate() override {
extensions::AppWindowClient::Set(nullptr);
}
private:
// ExtensionsDelegate:
- virtual content::BrowserContext* GetBrowserContext() const override {
+ content::BrowserContext* GetBrowserContext() const override {
return context_;
}
- virtual const extensions::ExtensionSet& GetInstalledExtensions() override {
+
+ const extensions::ExtensionSet& GetInstalledExtensions() override {
return extensions::ExtensionRegistry::Get(context_)->enabled_extensions();
}
- virtual bool LaunchApp(const std::string& app_id) override {
+ bool LaunchApp(const std::string& app_id) override {
extension_system_->LaunchApp(app_id);
return true;
}
- virtual bool UnloadApp(const std::string& app_id) override { return false; }
+ bool UnloadApp(const std::string& app_id) override { return false; }
- virtual scoped_ptr<extensions::ExtensionInstallUI> CreateExtensionInstallUI()
+ scoped_ptr<extensions::ExtensionInstallUI> CreateExtensionInstallUI()
override {
return scoped_ptr<extensions::ExtensionInstallUI>();
}
« no previous file with comments | « athena/extensions/shell/athena_shell_scheme_classifier.h ('k') | athena/extensions/shell/shell_search_controller_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698