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

Unified Diff: chrome/browser/search/iframe_source_unittest.cc

Issue 629603002: replace OVERRIDE and FINAL with override and final in chrome/browser/[r-z]* (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase on master 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
« no previous file with comments | « chrome/browser/search/iframe_source.h ('k') | chrome/browser/search/instant_service.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/search/iframe_source_unittest.cc
diff --git a/chrome/browser/search/iframe_source_unittest.cc b/chrome/browser/search/iframe_source_unittest.cc
index 801cb87a187d225f799dfb51b33d2456da63d4bd..284e8d43ee055853ab71c1006033de8e92aee84e 100644
--- a/chrome/browser/search/iframe_source_unittest.cc
+++ b/chrome/browser/search/iframe_source_unittest.cc
@@ -38,11 +38,11 @@ class TestIframeSource : public IframeSource {
using IframeSource::SendJSWithOrigin;
protected:
- virtual std::string GetSource() const OVERRIDE {
+ virtual std::string GetSource() const override {
return "test";
}
- virtual bool ServesPath(const std::string& path) const OVERRIDE {
+ virtual bool ServesPath(const std::string& path) const override {
return path == "/valid.html" || path == "/valid.js";
}
@@ -50,7 +50,7 @@ class TestIframeSource : public IframeSource {
const std::string& path,
int render_process_id,
int render_frame_id,
- const content::URLDataSource::GotDataCallback& callback) OVERRIDE {
+ const content::URLDataSource::GotDataCallback& callback) override {
}
// RenderFrameHost is hard to mock in concert with everything else, so stub
@@ -58,7 +58,7 @@ class TestIframeSource : public IframeSource {
virtual bool GetOrigin(
int process_id,
int render_frame_id,
- std::string* origin) const OVERRIDE {
+ std::string* origin) const override {
if (process_id == kInstantRendererPID) {
*origin = kInstantOrigin;
return true;
@@ -130,7 +130,7 @@ class IframeSourceTest : public testing::Test {
}
private:
- virtual void SetUp() OVERRIDE {
+ virtual void SetUp() override {
source_.reset(new TestIframeSource());
callback_ = base::Bind(&IframeSourceTest::SaveResponse,
base::Unretained(this));
« no previous file with comments | « chrome/browser/search/iframe_source.h ('k') | chrome/browser/search/instant_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698