public base::NonThreadSafe {
public:
// net::URLRequestJob:
- virtual void Start() OVERRIDE;
+ void Start() override;
// All the public static methods below can be called on any thread.
URLRequestTimeoutOnDemandJob(net::URLRequest* request,
net::NetworkDelegate* network_delegate);
- virtual ~URLRequestTimeoutOnDemandJob();
+ ~URLRequestTimeoutOnDemandJob() override;
// Attempts to removes |this| from |jobs_|. Returns true if it was removed
// from the list.
class MultiNavigationObserver : public content::NotificationObserver {
public:
MultiNavigationObserver();
- virtual ~MultiNavigationObserver();
+ ~MultiNavigationObserver() override;
// Waits for exactly |num_navigations_to_wait_for| LOAD_STOP
// notifications to have occurred since the construction of |this|. More
typedef std::map<const WebContents*, int> TabNavigationMap;
// 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;
int num_navigations_;
class FailLoadsAfterLoginObserver : public content::NotificationObserver {
public:
FailLoadsAfterLoginObserver();
- virtual ~FailLoadsAfterLoginObserver();
+ ~FailLoadsAfterLoginObserver() override;
void WaitForNavigations();
typedef std::set<const WebContents*> TabSet;
// 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;
// The set of tabs that need to be navigated. This is the set of loading
// tabs when the observer is created.
private:
// Records results and exits the message loop, if needed.
- 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;
// Number of times OnPortalResult has been called since construction.
int num_results_received_;
CaptivePortalBrowserTest();
// InProcessBrowserTest:
- virtual void SetUpOnMainThread() OVERRIDE;
- virtual void TearDownOnMainThread() OVERRIDE;
+ void SetUpOnMainThread() override;
+ void TearDownOnMainThread() override;
// Sets the captive portal checking preference. Does not affect the command
// line flag, which is set in SetUpCommandLine.