OLD | NEW |
(Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef CONTENT_SHELL_BROWSER_LAYOUT_TEST_BROWSER_CONTEXT_H_ |
| 6 #define CONTENT_SHELL_BROWSER_LAYOUT_TEST_BROWSER_CONTEXT_H_ |
| 7 |
| 8 #include "base/compiler_specific.h" |
| 9 #include "content/shell/browser/shell_browser_context.h" |
| 10 |
| 11 namespace net { |
| 12 class NetLog; |
| 13 } |
| 14 |
| 15 namespace content { |
| 16 |
| 17 class DownloadManagerDelegate; |
| 18 |
| 19 class LayoutTestBrowserContext : public ShellBrowserContext { |
| 20 public: |
| 21 LayoutTestBrowserContext(bool off_the_record, net::NetLog* net_log); |
| 22 virtual ~LayoutTestBrowserContext(); |
| 23 |
| 24 // BrowserContext implementation. |
| 25 virtual DownloadManagerDelegate* GetDownloadManagerDelegate() override; |
| 26 |
| 27 private: |
| 28 DISALLOW_COPY_AND_ASSIGN(LayoutTestBrowserContext); |
| 29 }; |
| 30 |
| 31 } // namespace content |
| 32 |
| 33 #endif // CONTENT_SHELL_BROWSER_LAYOUT_TEST_BROWSER_CONTEXT_H_ |
OLD | NEW |