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

Unified Diff: content/browser/cross_site_transfer_browsertest.cc

Issue 637183002: Replace FINAL and OVERRIDE with their C++11 counterparts in content (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased the patch 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: content/browser/cross_site_transfer_browsertest.cc
diff --git a/content/browser/cross_site_transfer_browsertest.cc b/content/browser/cross_site_transfer_browsertest.cc
index 8082eb239e0a15f78892944bdf884c4b4803a81f..55e132d6d1068f96dff9a30966a10cfe72c30465 100644
--- a/content/browser/cross_site_transfer_browsertest.cc
+++ b/content/browser/cross_site_transfer_browsertest.cc
@@ -38,7 +38,7 @@ class TrackingResourceDispatcherHostDelegate
ResourceContext* resource_context,
AppCacheService* appcache_service,
ResourceType resource_type,
- ScopedVector<ResourceThrottle>* throttles) OVERRIDE {
+ ScopedVector<ResourceThrottle>* throttles) override {
CHECK(BrowserThread::CurrentlyOn(BrowserThread::IO));
ShellResourceDispatcherHostDelegate::RequestBeginning(
request, resource_context, appcache_service, resource_type, throttles);
@@ -97,7 +97,7 @@ class TrackingResourceDispatcherHostDelegate
}
// ResourceThrottle implementation:
- virtual const char* GetNameForLogging() const OVERRIDE {
+ virtual const char* GetNameForLogging() const override {
return "TrackingThrottle";
}
@@ -145,7 +145,7 @@ class NoTransferRequestDelegate : public WebContentsDelegate {
NoTransferRequestDelegate() {}
virtual WebContents* OpenURLFromTab(WebContents* source,
- const OpenURLParams& params) OVERRIDE {
+ const OpenURLParams& params) override {
bool is_transfer =
(params.transferred_global_request_id != GlobalRequestID());
if (is_transfer)
@@ -172,7 +172,7 @@ class CrossSiteTransferTest : public ContentBrowserTest {
}
// ContentBrowserTest implementation:
- virtual void SetUpOnMainThread() OVERRIDE {
+ virtual void SetUpOnMainThread() override {
BrowserThread::PostTask(
BrowserThread::IO, FROM_HERE,
base::Bind(
@@ -180,7 +180,7 @@ class CrossSiteTransferTest : public ContentBrowserTest {
base::Unretained(this)));
}
- virtual void TearDownOnMainThread() OVERRIDE {
+ virtual void TearDownOnMainThread() override {
BrowserThread::PostTask(
BrowserThread::IO, FROM_HERE,
base::Bind(
@@ -205,7 +205,7 @@ class CrossSiteTransferTest : public ContentBrowserTest {
load_observer.Wait();
}
- virtual void SetUpCommandLine(CommandLine* command_line) OVERRIDE {
+ virtual void SetUpCommandLine(CommandLine* command_line) override {
// Use --site-per-process to force process swaps for cross-site transfers.
command_line->AppendSwitch(switches::kSitePerProcess);
}
« no previous file with comments | « content/browser/cocoa/system_hotkey_map_unittest.mm ('k') | content/browser/database_quota_client_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698