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

Side by Side Diff: content/shell/browser/layout_test/layout_test_browser_context.h

Issue 671663002: Standardize usage of virtual/override/final in content/ (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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_SHELL_BROWSER_LAYOUT_TEST_BROWSER_CONTEXT_H_ 5 #ifndef CONTENT_SHELL_BROWSER_LAYOUT_TEST_BROWSER_CONTEXT_H_
6 #define CONTENT_SHELL_BROWSER_LAYOUT_TEST_BROWSER_CONTEXT_H_ 6 #define CONTENT_SHELL_BROWSER_LAYOUT_TEST_BROWSER_CONTEXT_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "content/shell/browser/shell_browser_context.h" 9 #include "content/shell/browser/shell_browser_context.h"
10 10
11 namespace net { 11 namespace net {
12 class NetLog; 12 class NetLog;
13 } 13 }
14 14
15 namespace content { 15 namespace content {
16 16
17 class DownloadManagerDelegate; 17 class DownloadManagerDelegate;
18 18
19 class LayoutTestBrowserContext : public ShellBrowserContext { 19 class LayoutTestBrowserContext : public ShellBrowserContext {
20 public: 20 public:
21 LayoutTestBrowserContext(bool off_the_record, net::NetLog* net_log); 21 LayoutTestBrowserContext(bool off_the_record, net::NetLog* net_log);
22 virtual ~LayoutTestBrowserContext(); 22 ~LayoutTestBrowserContext() override;
23 23
24 // BrowserContext implementation. 24 // BrowserContext implementation.
25 virtual DownloadManagerDelegate* GetDownloadManagerDelegate() override; 25 DownloadManagerDelegate* GetDownloadManagerDelegate() override;
26 26
27 protected: 27 protected:
28 virtual ShellURLRequestContextGetter* CreateURLRequestContextGetter( 28 ShellURLRequestContextGetter* CreateURLRequestContextGetter(
29 ProtocolHandlerMap* protocol_handlers, 29 ProtocolHandlerMap* protocol_handlers,
30 URLRequestInterceptorScopedVector request_interceptors) override; 30 URLRequestInterceptorScopedVector request_interceptors) override;
31 31
32 private: 32 private:
33 DISALLOW_COPY_AND_ASSIGN(LayoutTestBrowserContext); 33 DISALLOW_COPY_AND_ASSIGN(LayoutTestBrowserContext);
34 }; 34 };
35 35
36 } // namespace content 36 } // namespace content
37 37
38 #endif // CONTENT_SHELL_BROWSER_LAYOUT_TEST_BROWSER_CONTEXT_H_ 38 #endif // CONTENT_SHELL_BROWSER_LAYOUT_TEST_BROWSER_CONTEXT_H_
OLDNEW
« no previous file with comments | « content/shell/browser/ipc_echo_message_filter.h ('k') | content/shell/browser/layout_test/layout_test_browser_main_parts.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698