blob: 052bed37df4528f60ee790e09dcd6008d9a1f8e2 [file] [log] [blame]
[email protected]de7d61ff2013-08-20 11:30:411// Copyright 2013 The Chromium Authors. All rights reserved.
[email protected]5629e0c2011-09-12 22:07:362// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
[email protected]de7d61ff2013-08-20 11:30:415#ifndef CONTENT_SHELL_BROWSER_SHELL_CONTENT_BROWSER_CLIENT_H_
6#define CONTENT_SHELL_BROWSER_SHELL_CONTENT_BROWSER_CLIENT_H_
[email protected]5629e0c2011-09-12 22:07:367
dcheng6003e0b2016-04-09 18:42:348#include <memory>
[email protected]5629e0c2011-09-12 22:07:369#include <string>
10
Jun Caibc561f412018-02-28 18:41:3911#include "base/callback.h"
[email protected]5629e0c2011-09-12 22:07:3612#include "base/compiler_specific.h"
[email protected]57999812013-02-24 05:40:5213#include "base/files/file_path.h"
avi66a07722015-12-25 23:38:1214#include "build/build_config.h"
[email protected]87f3c082011-10-19 18:07:4415#include "content/public/browser/content_browser_client.h"
[email protected]9896c552013-08-29 19:03:2016#include "content/shell/browser/shell_speech_recognition_manager_delegate.h"
Ben Goodger6a695c012017-06-20 20:21:2017#include "services/service_manager/public/cpp/binder_registry.h"
[email protected]5629e0c2011-09-12 22:07:3618
19namespace content {
20
Jun Caibc561f412018-02-28 18:41:3921class ResourceDispatcherHostDelegate;
[email protected]147f8092012-03-21 11:47:4522class ShellBrowserContext;
[email protected]b0f146f2011-09-15 22:14:2523class ShellBrowserMainParts;
24
Yutaka Hirano968d6252018-12-04 05:09:3125std::string GetShellUserAgent();
Mike West6e4cbb32019-02-13 09:40:1726blink::UserAgentMetadata GetShellUserAgentMetadata();
Yutaka Hirano968d6252018-12-04 05:09:3127
[email protected]7f5500872013-11-12 20:03:5428class ShellContentBrowserClient : public ContentBrowserClient {
[email protected]5629e0c2011-09-12 22:07:3629 public:
[email protected]eabbfb12013-04-05 23:28:3530 // Gets the current instance.
31 static ShellContentBrowserClient* Get();
32
[email protected]b0f146f2011-09-15 22:14:2533 ShellContentBrowserClient();
dchenge933b3e2014-10-21 11:44:09