| Index: content/shell/browser/layout_test/layout_test_browser_context.h
|
| diff --git a/content/shell/browser/layout_test/layout_test_browser_context.h b/content/shell/browser/layout_test/layout_test_browser_context.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..87ffc58fa7baeca3951a453d571a1678c71d452d
|
| --- /dev/null
|
| +++ b/content/shell/browser/layout_test/layout_test_browser_context.h
|
| @@ -0,0 +1,37 @@
|
| +// Copyright 2014 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#ifndef CONTENT_SHELL_BROWSER_LAYOUT_TEST_BROWSER_CONTEXT_H_
|
| +#define CONTENT_SHELL_BROWSER_LAYOUT_TEST_BROWSER_CONTEXT_H_
|
| +
|
| +#include "base/compiler_specific.h"
|
| +#include "content/shell/browser/shell_browser_context.h"
|
| +
|
| +namespace net {
|
| +class NetLog;
|
| +}
|
| +
|
| +namespace content {
|
| +
|
| +class DownloadManagerDelegate;
|
| +
|
| +class LayoutTestBrowserContext : public ShellBrowserContext {
|
| + public:
|
| + LayoutTestBrowserContext(bool off_the_record, net::NetLog* net_log);
|
| + virtual ~LayoutTestBrowserContext();
|
| +
|
| + // BrowserContext implementation.
|
| + virtual DownloadManagerDelegate* GetDownloadManagerDelegate() override;
|
| +
|
| + protected:
|
| + // Performs initialization of the ShellBrowserContext while IO is still
|
| + // allowed on the current thread.
|
| + virtual void InitWhileIOAllowed() override;
|
| +
|
| + DISALLOW_COPY_AND_ASSIGN(LayoutTestBrowserContext);
|
| +};
|
| +
|
| +} // namespace content
|
| +
|
| +#endif // CONTENT_SHELL_BROWSER_LAYOUT_TEST_BROWSER_CONTEXT_H_
|
|
|