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

Side by Side Diff: content/public/test/test_renderer_host.h

Issue 629203002: Replace OVERRIDE and FINAL with override and final in content/public/[a-s]* (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
« no previous file with comments | « content/public/test/test_notification_tracker.h ('k') | content/public/test/test_utils.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 #ifndef CONTENT_PUBLIC_TEST_TEST_RENDERER_HOST_H_ 5 #ifndef CONTENT_PUBLIC_TEST_TEST_RENDERER_HOST_H_
6 #define CONTENT_PUBLIC_TEST_TEST_RENDERER_HOST_H_ 6 #define CONTENT_PUBLIC_TEST_TEST_RENDERER_HOST_H_
7 7
8 #include "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
9 #include "base/message_loop/message_loop.h" 9 #include "base/message_loop/message_loop.h"
10 #include "content/public/browser/render_frame_host.h" 10 #include "content/public/browser/render_frame_host.h"
(...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after
196 // Cover for |contents()->NavigateAndCommit(url)|. See 196 // Cover for |contents()->NavigateAndCommit(url)|. See
197 // WebContentsTester::NavigateAndCommit for details. 197 // WebContentsTester::NavigateAndCommit for details.
198 void NavigateAndCommit(const GURL& url); 198 void NavigateAndCommit(const GURL& url);
199 199
200 // Simulates a reload of the current page. 200 // Simulates a reload of the current page.
201 void Reload(); 201 void Reload();
202 void FailedReload(); 202 void FailedReload();
203 203
204 protected: 204 protected:
205 // testing::Test 205 // testing::Test
206 virtual void SetUp() OVERRIDE; 206 virtual void SetUp() override;
207 virtual void TearDown() OVERRIDE; 207 virtual void TearDown() override;
208 208
209 // Derived classes should override this method to use a custom BrowserContext. 209 // Derived classes should override this method to use a custom BrowserContext.
210 // It is invoked by SetUp after threads were started. 210 // It is invoked by SetUp after threads were started.
211 // RenderViewHostTestHarness will take ownership of the returned 211 // RenderViewHostTestHarness will take ownership of the returned
212 // BrowserContext. 212 // BrowserContext.
213 virtual BrowserContext* CreateBrowserContext(); 213 virtual BrowserContext* CreateBrowserContext();
214 214
215 // Configures which TestBrowserThreads inside |thread_bundle| are backed by 215 // Configures which TestBrowserThreads inside |thread_bundle| are backed by
216 // real threads. Must be called before SetUp(). 216 // real threads. Must be called before SetUp().
217 void SetThreadBundleOptions(int options) { 217 void SetThreadBundleOptions(int options) {
(...skipping 24 matching lines...) Expand all
242 242
243 int thread_bundle_options_; 243 int thread_bundle_options_;
244 scoped_ptr<TestBrowserThreadBundle> thread_bundle_; 244 scoped_ptr<TestBrowserThreadBundle> thread_bundle_;
245 245
246 DISALLOW_COPY_AND_ASSIGN(RenderViewHostTestHarness); 246 DISALLOW_COPY_AND_ASSIGN(RenderViewHostTestHarness);
247 }; 247 };
248 248
249 } // namespace content 249 } // namespace content
250 250
251 #endif // CONTENT_PUBLIC_TEST_TEST_RENDERER_HOST_H_ 251 #endif // CONTENT_PUBLIC_TEST_TEST_RENDERER_HOST_H_
OLDNEW
« no previous file with comments | « content/public/test/test_notification_tracker.h ('k') | content/public/test/test_utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698