OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ | 5 #ifndef CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ |
6 #define CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ | 6 #define CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ |
7 | 7 |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 | 9 |
10 #include <memory> | 10 #include <memory> |
(...skipping 307 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
318 void CreateMediaRemoter(content::RenderFrameHost* render_frame_host, | 318 void CreateMediaRemoter(content::RenderFrameHost* render_frame_host, |
319 media::mojom::RemotingSourcePtr source, | 319 media::mojom::RemotingSourcePtr source, |
320 media::mojom::RemoterRequest request) final; | 320 media::mojom::RemoterRequest request) final; |
321 #endif // BUILDFLAG(ENABLE_MEDIA_REMOTING) | 321 #endif // BUILDFLAG(ENABLE_MEDIA_REMOTING) |
322 | 322 |
323 std::unique_ptr<base::TaskScheduler::InitParams> GetTaskSchedulerInitParams() | 323 std::unique_ptr<base::TaskScheduler::InitParams> GetTaskSchedulerInitParams() |
324 override; | 324 override; |
325 void PerformExperimentalTaskSchedulerRedirections() override; | 325 void PerformExperimentalTaskSchedulerRedirections() override; |
326 bool ShouldRedirectDOMStorageTaskRunner() override; | 326 bool ShouldRedirectDOMStorageTaskRunner() override; |
327 bool RedirectNonUINonIOBrowserThreadsToTaskScheduler() override; | 327 bool RedirectNonUINonIOBrowserThreadsToTaskScheduler() override; |
| 328 base::FilePath GetLoggingFileName() override; |
328 | 329 |
329 private: | 330 private: |
330 friend class DisableWebRtcEncryptionFlagTest; | 331 friend class DisableWebRtcEncryptionFlagTest; |
331 friend class InProcessBrowserTest; | 332 friend class InProcessBrowserTest; |
332 | 333 |
333 #if BUILDFLAG(ENABLE_WEBRTC) | 334 #if BUILDFLAG(ENABLE_WEBRTC) |
334 // Copies disable WebRTC encryption switch depending on the channel. | 335 // Copies disable WebRTC encryption switch depending on the channel. |
335 static void MaybeCopyDisableWebRtcEncryptionSwitch( | 336 static void MaybeCopyDisableWebRtcEncryptionSwitch( |
336 base::CommandLine* to_command_line, | 337 base::CommandLine* to_command_line, |
337 const base::CommandLine& from_command_line, | 338 const base::CommandLine& from_command_line, |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
379 std::vector<ChromeContentBrowserClientParts*> extra_parts_; | 380 std::vector<ChromeContentBrowserClientParts*> extra_parts_; |
380 | 381 |
381 service_manager::BinderRegistry gpu_binder_registry_; | 382 service_manager::BinderRegistry gpu_binder_registry_; |
382 | 383 |
383 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_; | 384 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_; |
384 | 385 |
385 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); | 386 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); |
386 }; | 387 }; |
387 | 388 |
388 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ | 389 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ |
OLD | NEW |