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

Unified Diff: chrome/browser/extensions/content_verifier_browsertest.cc

Issue 624153002: replace OVERRIDE and FINAL with override and final in chrome/browser/extensions/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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: chrome/browser/extensions/content_verifier_browsertest.cc
diff --git a/chrome/browser/extensions/content_verifier_browsertest.cc b/chrome/browser/extensions/content_verifier_browsertest.cc
index 4cd57f3250dbbe39cb83a2d5ff5d538ed4e44d36..c6ebcd9531426f29685b70b4202c1a6e5bd4d6f2 100644
--- a/chrome/browser/extensions/content_verifier_browsertest.cc
+++ b/chrome/browser/extensions/content_verifier_browsertest.cc
@@ -36,7 +36,7 @@ class UnloadObserver : public ExtensionRegistryObserver {
virtual void OnExtensionUnloaded(
content::BrowserContext* browser_context,
const Extension* extension,
- UnloadedExtensionInfo::Reason reason) OVERRIDE {
+ UnloadedExtensionInfo::Reason reason) override {
observed_.insert(extension->id());
if (awaited_id_ == extension->id())
loop_runner_->Quit();
@@ -62,7 +62,7 @@ class JobDelegate : public ContentVerifyJob::TestDelegate {
virtual ContentVerifyJob::FailureReason BytesRead(const ExtensionId& id,
int count,
- const char* data) OVERRIDE {
+ const char* data) override {
if (id == id_ && fail_next_read_) {
fail_next_read_ = false;
return ContentVerifyJob::HASH_MISMATCH;
@@ -71,7 +71,7 @@ class JobDelegate : public ContentVerifyJob::TestDelegate {
}
virtual ContentVerifyJob::FailureReason DoneReading(
- const ExtensionId& id) OVERRIDE {
+ const ExtensionId& id) override {
if (id == id_ && fail_next_done_) {
fail_next_done_ = false;
return ContentVerifyJob::HASH_MISMATCH;
@@ -94,7 +94,7 @@ class ContentVerifierTest : public ExtensionBrowserTest {
ContentVerifierTest() {}
virtual ~ContentVerifierTest() {}
- virtual void SetUpCommandLine(base::CommandLine* command_line) OVERRIDE {
+ virtual void SetUpCommandLine(base::CommandLine* command_line) override {
ExtensionBrowserTest::SetUpCommandLine(command_line);
command_line->AppendSwitchASCII(
switches::kExtensionContentVerification,
@@ -102,7 +102,7 @@ class ContentVerifierTest : public ExtensionBrowserTest {
}
// Setup our unload observer and JobDelegate, and install a test extension.
- virtual void SetUpOnMainThread() OVERRIDE {
+ virtual void SetUpOnMainThread() override {
ExtensionBrowserTest::SetUpOnMainThread();
unload_observer_.reset(
new UnloadObserver(ExtensionRegistry::Get(profile())));
@@ -115,7 +115,7 @@ class ContentVerifierTest : public ExtensionBrowserTest {
ContentVerifyJob::SetDelegateForTests(&delegate_);
}
- virtual void TearDownOnMainThread() OVERRIDE {
+ virtual void TearDownOnMainThread() override {
ContentVerifyJob::SetDelegateForTests(NULL);
ExtensionBrowserTest::TearDownOnMainThread();
}
« no previous file with comments | « chrome/browser/extensions/content_script_apitest.cc ('k') | chrome/browser/extensions/convert_web_app_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698