| 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 void GetTaskSchedulerInitializationParams( | 323 void GetTaskSchedulerInitializationParams( |
| 324 std::vector<base::SchedulerWorkerPoolParams>* params_vector, | 324 std::vector<base::SchedulerWorkerPoolParams>* params_vector, |
| 325 base::TaskScheduler::WorkerPoolIndexForTraitsCallback* | 325 base::TaskScheduler::WorkerPoolIndexForTraitsCallback* |
| 326 index_to_traits_callback) override; | 326 index_to_traits_callback) override; |
| 327 void PerformExperimentalTaskSchedulerRedirections() override; | 327 void PerformExperimentalTaskSchedulerRedirections() override; |
| 328 bool ShouldRedirectDOMStorageTaskRunner() override; |
| 328 bool RedirectNonUINonIOBrowserThreadsToTaskScheduler() override; | 329 bool RedirectNonUINonIOBrowserThreadsToTaskScheduler() override; |
| 329 | 330 |
| 330 private: | 331 private: |
| 331 friend class DisableWebRtcEncryptionFlagTest; | 332 friend class DisableWebRtcEncryptionFlagTest; |
| 332 friend class InProcessBrowserTest; | 333 friend class InProcessBrowserTest; |
| 333 | 334 |
| 334 #if BUILDFLAG(ENABLE_WEBRTC) | 335 #if BUILDFLAG(ENABLE_WEBRTC) |
| 335 // Copies disable WebRTC encryption switch depending on the channel. | 336 // Copies disable WebRTC encryption switch depending on the channel. |
| 336 static void MaybeCopyDisableWebRtcEncryptionSwitch( | 337 static void MaybeCopyDisableWebRtcEncryptionSwitch( |
| 337 base::CommandLine* to_command_line, | 338 base::CommandLine* to_command_line, |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 378 // Vector of additional ChromeContentBrowserClientParts. | 379 // Vector of additional ChromeContentBrowserClientParts. |
| 379 // Parts are deleted in the reverse order they are added. | 380 // Parts are deleted in the reverse order they are added. |
| 380 std::vector<ChromeContentBrowserClientParts*> extra_parts_; | 381 std::vector<ChromeContentBrowserClientParts*> extra_parts_; |
| 381 | 382 |
| 382 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_; | 383 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_; |
| 383 | 384 |
| 384 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); | 385 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); |
| 385 }; | 386 }; |
| 386 | 387 |
| 387 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ | 388 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ |
| OLD | NEW |