From 7d15aa23211b401641e9c5ca9df2aa8a63eae273 Mon Sep 17 00:00:00 2001 From: Cheng Zhao Date: Fri, 31 Oct 2014 18:26:01 +0800 Subject: [PATCH] OVERRIDE => override in atom_browser_client.h --- atom/browser/atom_browser_client.h | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/atom/browser/atom_browser_client.h b/atom/browser/atom_browser_client.h index 861931729975..c3695d86d4bd 100644 --- a/atom/browser/atom_browser_client.h +++ b/atom/browser/atom_browser_client.h @@ -18,25 +18,25 @@ class AtomBrowserClient : public brightray::BrowserClient { protected: // content::ContentBrowserClient: - virtual void RenderProcessWillLaunch( - content::RenderProcessHost* host) OVERRIDE; - virtual content::SpeechRecognitionManagerDelegate* + void RenderProcessWillLaunch( + content::RenderProcessHost* host) override; + content::SpeechRecognitionManagerDelegate* GetSpeechRecognitionManagerDelegate() override; - virtual content::AccessTokenStore* CreateAccessTokenStore() OVERRIDE; - virtual void OverrideWebkitPrefs(content::RenderViewHost* render_view_host, - const GURL& url, - content::WebPreferences* prefs) OVERRIDE; - virtual bool ShouldSwapBrowsingInstancesForNavigation( + content::AccessTokenStore* CreateAccessTokenStore() override; + void OverrideWebkitPrefs(content::RenderViewHost* render_view_host, + const GURL& url, + content::WebPreferences* prefs) override; + bool ShouldSwapBrowsingInstancesForNavigation( content::SiteInstance* site_instance, const GURL& current_url, - const GURL& new_url) OVERRIDE; - virtual std::string GetApplicationLocale() OVERRIDE; - virtual void AppendExtraCommandLineSwitches(base::CommandLine* command_line, - int child_process_id) OVERRIDE; + const GURL& new_url) override; + std::string GetApplicationLocale() override; + void AppendExtraCommandLineSwitches(base::CommandLine* command_line, + int child_process_id) override; private: - virtual brightray::BrowserMainParts* OverrideCreateBrowserMainParts( - const content::MainFunctionParams&) OVERRIDE; + brightray::BrowserMainParts* OverrideCreateBrowserMainParts( + const content::MainFunctionParams&) override; // The render process which would be swapped out soon. content::RenderProcessHost* dying_render_process_;