Add ICU message format support
[chromium-blink-merge.git] / content / shell / browser / layout_test / layout_test_browser_context.h
blob93fd10eeed7339aec7ffc2246ccf967254b23c62
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.
5 #ifndef CONTENT_SHELL_BROWSER_LAYOUT_TEST_LAYOUT_TEST_BROWSER_CONTEXT_H_
6 #define CONTENT_SHELL_BROWSER_LAYOUT_TEST_LAYOUT_TEST_BROWSER_CONTEXT_H_
8 #include "base/compiler_specific.h"
9 #include "content/shell/browser/shell_browser_context.h"
11 namespace net {
12 class NetLog;
15 namespace content {
17 class DownloadManagerDelegate;
18 class LayoutTestPermissionManager;
19 class LayoutTestPushMessagingService;
20 class PermissionManager;
21 class PushMessagingService;
23 class LayoutTestBrowserContext : public ShellBrowserContext {
24 public:
25 LayoutTestBrowserContext(bool off_the_record, net::NetLog* net_log);
26 ~LayoutTestBrowserContext() override;
28 // BrowserContext implementation.
29 DownloadManagerDelegate* GetDownloadManagerDelegate() override;
30 PushMessagingService* GetPushMessagingService() override;
31 PermissionManager* GetPermissionManager() override;
33 LayoutTestPermissionManager* GetLayoutTestPermissionManager();
35 protected:
36 ShellURLRequestContextGetter* CreateURLRequestContextGetter(
37 ProtocolHandlerMap* protocol_handlers,
38 URLRequestInterceptorScopedVector request_interceptors) override;
40 private:
41 scoped_ptr<LayoutTestPushMessagingService> push_messaging_service_;
42 scoped_ptr<PermissionManager> permission_manager_;
44 DISALLOW_COPY_AND_ASSIGN(LayoutTestBrowserContext);
47 } // namespace content
49 #endif // CONTENT_SHELL_BROWSER_LAYOUT_TEST_LAYOUT_TEST_BROWSER_CONTEXT_H_