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

Unified Diff: content/browser/renderer_host/render_view_host_unittest.cc

Issue 616603004: Replacing the OVERRIDE with override and FINAL with final in content/browser/renderer_host (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/renderer_host/render_view_host_unittest.cc
diff --git a/content/browser/renderer_host/render_view_host_unittest.cc b/content/browser/renderer_host/render_view_host_unittest.cc
index be0a1d8755ab47d6845fbb4ca7aeafeb7928e1cc..22ac2066b231c62113b01d350db7e0722d4ae6c0 100644
--- a/content/browser/renderer_host/render_view_host_unittest.cc
+++ b/content/browser/renderer_host/render_view_host_unittest.cc
@@ -31,7 +31,7 @@ class RenderViewHostTestBrowserClient : public TestContentBrowserClient {
RenderViewHostTestBrowserClient() {}
virtual ~RenderViewHostTestBrowserClient() {}
- virtual bool IsHandledURL(const GURL& url) OVERRIDE {
+ virtual bool IsHandledURL(const GURL& url) override {
return url.scheme() == url::kFileScheme;
}
@@ -44,12 +44,12 @@ class RenderViewHostTest : public RenderViewHostImplTestHarness {
RenderViewHostTest() : old_browser_client_(NULL) {}
virtual ~RenderViewHostTest() {}
- virtual void SetUp() OVERRIDE {
+ virtual void SetUp() override {
RenderViewHostImplTestHarness::SetUp();
old_browser_client_ = SetBrowserClientForTesting(&test_browser_client_);
}
- virtual void TearDown() OVERRIDE {
+ virtual void TearDown() override {
SetBrowserClientForTesting(old_browser_client_);
RenderViewHostImplTestHarness::TearDown();
}
@@ -124,13 +124,13 @@ class MockDraggingRenderViewHostDelegateView
blink::WebDragOperationsMask allowed_ops,
const gfx::ImageSkia& image,
const gfx::Vector2d& image_offset,
- const DragEventSourceInfo& event_info) OVERRIDE {
+ const DragEventSourceInfo& event_info) override {
drag_url_ = drop_data.url;
html_base_url_ = drop_data.html_base_url;
}
- virtual void UpdateDragCursor(blink::WebDragOperation operation) OVERRIDE {}
- virtual void GotFocus() OVERRIDE {}
- virtual void TakeFocus(bool reverse) OVERRIDE {}
+ virtual void UpdateDragCursor(blink::WebDragOperation operation) override {}
+ virtual void GotFocus() override {}
+ virtual void TakeFocus(bool reverse) override {}
virtual void UpdatePreferredSize(const gfx::Size& pref_size) {}
GURL drag_url() {
@@ -287,7 +287,7 @@ class TestSaveImageFromDataURL : public RenderMessageFilter {
const GURL& url,
const Referrer& referrer,
const base::string16& suggested_name,
- const bool use_prompt) const OVERRIDE {
+ const bool use_prompt) const override {
url_string_ = url.spec();
is_downloaded_ = true;
}
« no previous file with comments | « content/browser/renderer_host/render_view_host_impl.h ('k') | content/browser/renderer_host/render_widget_host_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698