// Owned by a Profile object for the lifetime of the profile.
PrerenderManager(Profile* profile, PrerenderTracker* prerender_tracker);
- virtual ~PrerenderManager();
+ ~PrerenderManager() override;
// From KeyedService:
- virtual void Shutdown() OVERRIDE;
+ void Shutdown() override;
// Entry points for adding prerenders.
int cookie_send_type) const;
// content::NotificationObserver
- virtual void Observe(int type,
- const content::NotificationSource& source,
- const content::NotificationDetails& details) OVERRIDE;
+ void Observe(int type,
+ const content::NotificationSource& source,
+ const content::NotificationDetails& details) override;
// MediaCaptureDevicesDispatcher::Observer
- virtual void OnCreatingAudioStream(int render_process_id,
- int render_frame_id) OVERRIDE;
+ void OnCreatingAudioStream(int render_process_id,
+ int render_frame_id) override;
const Config& config() const { return config_; }
Config& mutable_config() { return config_; }
bool MayReuseProcessHost(content::RenderProcessHost* process_host);
// content::RenderProcessHostObserver implementation.
- virtual void RenderProcessHostDestroyed(
- content::RenderProcessHost* host) OVERRIDE;
+ void RenderProcessHostDestroyed(content::RenderProcessHost* host) override;
// To be called once the cookie store for this profile has been loaded.
void OnCookieStoreLoaded();
PrerenderData* prerender_data,
const GURL& url,
bool should_replace_current_entry);
- virtual ~PendingSwap();
+ ~PendingSwap() override;
void set_swap_successful(bool swap_successful) {
swap_successful_ = swap_successful;
void BeginSwap();
// content::WebContentsObserver implementation.
- virtual void AboutToNavigateRenderView(
- content::RenderViewHost* render_view_host) OVERRIDE;
- virtual void DidStartProvisionalLoadForFrame(
+ void AboutToNavigateRenderView(
+ content::RenderViewHost* render_view_host) override;
+ void DidStartProvisionalLoadForFrame(
content::RenderFrameHost* render_frame_host,
const GURL& validated_url,
bool is_error_page,
- bool is_iframe_srcdoc) OVERRIDE;
- virtual void DidCommitProvisionalLoadForFrame(
+ bool is_iframe_srcdoc) override;
+ void DidCommitProvisionalLoadForFrame(
content::RenderFrameHost* render_frame_host,
const GURL& validated_url,
- ui::PageTransition transition_type) OVERRIDE;
- virtual void DidFailProvisionalLoad(
+ ui::PageTransition transition_type) override;
+ void DidFailProvisionalLoad(
content::RenderFrameHost* render_frame_host,
const GURL& validated_url,
int error_code,
- const base::string16& error_description) OVERRIDE;
- virtual void WebContentsDestroyed() OVERRIDE;
+ const base::string16& error_description) override;
+ void WebContentsDestroyed() override;
private:
void RecordEvent(PrerenderEvent event) const;