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

Side by Side Diff: content/renderer/gin_browsertest.cc

Issue 633303002: Replace FINAL and OVERRIDE with their C++11 counterparts in content/renderer (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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "base/command_line.h" 5 #include "base/command_line.h"
6 #include "content/public/common/content_switches.h" 6 #include "content/public/common/content_switches.h"
7 #include "content/public/test/render_view_test.h" 7 #include "content/public/test/render_view_test.h"
8 #include "content/renderer/render_view_impl.h" 8 #include "content/renderer/render_view_impl.h"
9 #include "gin/handle.h" 9 #include "gin/handle.h"
10 #include "gin/per_isolate_data.h" 10 #include "gin/per_isolate_data.h"
(...skipping 24 matching lines...) Expand all
35 DISALLOW_COPY_AND_ASSIGN(TestGinObject); 35 DISALLOW_COPY_AND_ASSIGN(TestGinObject);
36 }; 36 };
37 37
38 gin::WrapperInfo TestGinObject::kWrapperInfo = { gin::kEmbedderNativeGin }; 38 gin::WrapperInfo TestGinObject::kWrapperInfo = { gin::kEmbedderNativeGin };
39 39
40 class GinBrowserTest : public RenderViewTest { 40 class GinBrowserTest : public RenderViewTest {
41 public: 41 public:
42 GinBrowserTest() {} 42 GinBrowserTest() {}
43 virtual ~GinBrowserTest() {} 43 virtual ~GinBrowserTest() {}
44 44
45 virtual void SetUp() OVERRIDE { 45 virtual void SetUp() override {
46 CommandLine::ForCurrentProcess()->AppendSwitchASCII( 46 CommandLine::ForCurrentProcess()->AppendSwitchASCII(
47 switches::kJavaScriptFlags, "--expose_gc"); 47 switches::kJavaScriptFlags, "--expose_gc");
48 48
49 RenderViewTest::SetUp(); 49 RenderViewTest::SetUp();
50 } 50 }
51 51
52 private: 52 private:
53 53
54 DISALLOW_COPY_AND_ASSIGN(GinBrowserTest); 54 DISALLOW_COPY_AND_ASSIGN(GinBrowserTest);
55 }; 55 };
(...skipping 20 matching lines...) Expand all
76 76
77 // Should not crash. 77 // Should not crash.
78 blink::mainThreadIsolate()->LowMemoryNotification(); 78 blink::mainThreadIsolate()->LowMemoryNotification();
79 79
80 CHECK(!alive); 80 CHECK(!alive);
81 } 81 }
82 82
83 } // namespace 83 } // namespace
84 84
85 } // namespace content 85 } // namespace content
OLDNEW
« no previous file with comments | « content/renderer/geolocation_dispatcher.h ('k') | content/renderer/gpu/compositor_output_surface.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698