OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef HEADLESS_LIB_BROWSER_HEADLESS_CONTENT_BROWSER_CLIENT_H_ | 5 #ifndef HEADLESS_LIB_BROWSER_HEADLESS_CONTENT_BROWSER_CLIENT_H_ |
6 #define HEADLESS_LIB_BROWSER_HEADLESS_CONTENT_BROWSER_CLIENT_H_ | 6 #define HEADLESS_LIB_BROWSER_HEADLESS_CONTENT_BROWSER_CLIENT_H_ |
7 | 7 |
8 #include "content/public/browser/content_browser_client.h" | 8 #include "content/public/browser/content_browser_client.h" |
9 #include "headless/lib/browser/headless_resource_dispatcher_host_delegate.h" | 9 #include "headless/lib/browser/headless_resource_dispatcher_host_delegate.h" |
10 | 10 |
(...skipping 15 matching lines...) Expand all Loading... |
26 std::unique_ptr<base::Value> GetServiceManifestOverlay( | 26 std::unique_ptr<base::Value> GetServiceManifestOverlay( |
27 base::StringPiece name) override; | 27 base::StringPiece name) override; |
28 void GetQuotaSettings( | 28 void GetQuotaSettings( |
29 content::BrowserContext* context, | 29 content::BrowserContext* context, |
30 content::StoragePartition* partition, | 30 content::StoragePartition* partition, |
31 storage::OptionalQuotaSettingsCallback callback) override; | 31 storage::OptionalQuotaSettingsCallback callback) override; |
32 #if defined(OS_POSIX) && !defined(OS_MACOSX) | 32 #if defined(OS_POSIX) && !defined(OS_MACOSX) |
33 void GetAdditionalMappedFilesForChildProcess( | 33 void GetAdditionalMappedFilesForChildProcess( |
34 const base::CommandLine& command_line, | 34 const base::CommandLine& command_line, |
35 int child_process_id, | 35 int child_process_id, |
36 content::FileDescriptorInfo* mappings) override; | 36 content::PosixFileDescriptorInfo* mappings) override; |
37 #endif | 37 #endif |
38 void AppendExtraCommandLineSwitches(base::CommandLine* command_line, | 38 void AppendExtraCommandLineSwitches(base::CommandLine* command_line, |
39 int child_process_id) override; | 39 int child_process_id) override; |
40 | 40 |
41 void AllowCertificateError( | 41 void AllowCertificateError( |
42 content::WebContents* web_contents, | 42 content::WebContents* web_contents, |
43 int cert_error, | 43 int cert_error, |
44 const net::SSLInfo& ssl_info, | 44 const net::SSLInfo& ssl_info, |
45 const GURL& request_url, | 45 const GURL& request_url, |
46 content::ResourceType resource_type, | 46 content::ResourceType resource_type, |
(...skipping 13 matching lines...) Expand all Loading... |
60 | 60 |
61 std::unique_ptr<HeadlessResourceDispatcherHostDelegate> | 61 std::unique_ptr<HeadlessResourceDispatcherHostDelegate> |
62 resource_dispatcher_host_delegate_; | 62 resource_dispatcher_host_delegate_; |
63 | 63 |
64 DISALLOW_COPY_AND_ASSIGN(HeadlessContentBrowserClient); | 64 DISALLOW_COPY_AND_ASSIGN(HeadlessContentBrowserClient); |
65 }; | 65 }; |
66 | 66 |
67 } // namespace headless | 67 } // namespace headless |
68 | 68 |
69 #endif // HEADLESS_LIB_BROWSER_HEADLESS_CONTENT_BROWSER_CLIENT_H_ | 69 #endif // HEADLESS_LIB_BROWSER_HEADLESS_CONTENT_BROWSER_CLIENT_H_ |
OLD | NEW |