Add ICU message format support
[chromium-blink-merge.git] / content / shell / browser / layout_test / layout_test_content_browser_client.h
blobf41794dad6719b854a24635982391bc6e3f3d08b
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_CONTENT_BROWSER_CLIENT_H_
6 #define CONTENT_SHELL_BROWSER_LAYOUT_TEST_LAYOUT_TEST_CONTENT_BROWSER_CLIENT_H_
8 #include "content/shell/browser/shell_content_browser_client.h"
10 namespace content {
12 class LayoutTestBrowserContext;
13 class LayoutTestNotificationManager;
15 class LayoutTestContentBrowserClient : public ShellContentBrowserClient {
16 public:
17 // Gets the current instance.
18 static LayoutTestContentBrowserClient* Get();
20 LayoutTestContentBrowserClient();
21 ~LayoutTestContentBrowserClient() override;
23 LayoutTestBrowserContext* GetLayoutTestBrowserContext();
25 // Implements the PlatformNotificationService interface.
26 LayoutTestNotificationManager* GetLayoutTestNotificationManager();
28 // ContentBrowserClient overrides.
29 void RenderProcessWillLaunch(RenderProcessHost* host) override;
31 PlatformNotificationService* GetPlatformNotificationService() override;
32 void GetAdditionalNavigatorConnectServices(
33 const scoped_refptr<NavigatorConnectContext>& context) override;
35 private:
36 scoped_ptr<LayoutTestNotificationManager> layout_test_notification_manager_;
39 } // content
41 #endif // CONTENT_SHELL_BROWSER_LAYOUT_TEST_LAYOUT_TEST_CONTENT_BROWSER_CLIENT_H_