| 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 299 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 310 std::unique_ptr<content::MemoryCoordinatorDelegate> | 310 std::unique_ptr<content::MemoryCoordinatorDelegate> |
| 311 GetMemoryCoordinatorDelegate() override; | 311 GetMemoryCoordinatorDelegate() override; |
| 312 ::rappor::RapporService* GetRapporService() override; | 312 ::rappor::RapporService* GetRapporService() override; |
| 313 | 313 |
| 314 #if BUILDFLAG(ENABLE_MEDIA_REMOTING) | 314 #if BUILDFLAG(ENABLE_MEDIA_REMOTING) |
| 315 void CreateMediaRemoter(content::RenderFrameHost* render_frame_host, | 315 void CreateMediaRemoter(content::RenderFrameHost* render_frame_host, |
| 316 media::mojom::RemotingSourcePtr source, | 316 media::mojom::RemotingSourcePtr source, |
| 317 media::mojom::RemoterRequest request) final; | 317 media::mojom::RemoterRequest request) final; |
| 318 #endif // BUILDFLAG(ENABLE_MEDIA_REMOTING) | 318 #endif // BUILDFLAG(ENABLE_MEDIA_REMOTING) |
| 319 | 319 |
| 320 void GetTaskSchedulerInitializationParams( |
| 321 std::vector<base::SchedulerWorkerPoolParams>* params_vector, |
| 322 base::TaskScheduler::WorkerPoolIndexForTraitsCallback* |
| 323 index_to_traits_callback) override; |
| 324 |
| 325 void PerformExperimentalTaskSchedulerRedirections() override; |
| 326 |
| 320 private: | 327 private: |
| 321 friend class DisableWebRtcEncryptionFlagTest; | 328 friend class DisableWebRtcEncryptionFlagTest; |
| 322 | 329 |
| 323 #if BUILDFLAG(ENABLE_WEBRTC) | 330 #if BUILDFLAG(ENABLE_WEBRTC) |
| 324 // Copies disable WebRTC encryption switch depending on the channel. | 331 // Copies disable WebRTC encryption switch depending on the channel. |
| 325 static void MaybeCopyDisableWebRtcEncryptionSwitch( | 332 static void MaybeCopyDisableWebRtcEncryptionSwitch( |
| 326 base::CommandLine* to_command_line, | 333 base::CommandLine* to_command_line, |
| 327 const base::CommandLine& from_command_line, | 334 const base::CommandLine& from_command_line, |
| 328 version_info::Channel channel); | 335 version_info::Channel channel); |
| 329 #endif | 336 #endif |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 362 // Vector of additional ChromeContentBrowserClientParts. | 369 // Vector of additional ChromeContentBrowserClientParts. |
| 363 // Parts are deleted in the reverse order they are added. | 370 // Parts are deleted in the reverse order they are added. |
| 364 std::vector<ChromeContentBrowserClientParts*> extra_parts_; | 371 std::vector<ChromeContentBrowserClientParts*> extra_parts_; |
| 365 | 372 |
| 366 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_; | 373 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_; |
| 367 | 374 |
| 368 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); | 375 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); |
| 369 }; | 376 }; |
| 370 | 377 |
| 371 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ | 378 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ |
| OLD | NEW |