| 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 std::unique_ptr<content::MemoryCoordinatorDelegate> | 318 std::unique_ptr<content::MemoryCoordinatorDelegate> |
| 319 GetMemoryCoordinatorDelegate() override; | 319 GetMemoryCoordinatorDelegate() override; |
| 320 ::rappor::RapporService* GetRapporService() override; | 320 ::rappor::RapporService* GetRapporService() override; |
| 321 | 321 |
| 322 #if BUILDFLAG(ENABLE_MEDIA_REMOTING) | 322 #if BUILDFLAG(ENABLE_MEDIA_REMOTING) |
| 323 void CreateMediaRemoter(content::RenderFrameHost* render_frame_host, | 323 void CreateMediaRemoter(content::RenderFrameHost* render_frame_host, |
| 324 media::mojom::RemotingSourcePtr source, | 324 media::mojom::RemotingSourcePtr source, |
| 325 media::mojom::RemoterRequest request) final; | 325 media::mojom::RemoterRequest request) final; |
| 326 #endif // BUILDFLAG(ENABLE_MEDIA_REMOTING) | 326 #endif // BUILDFLAG(ENABLE_MEDIA_REMOTING) |
| 327 | 327 |
| 328 void GetTaskSchedulerInitializationParams( | 328 std::unique_ptr<base::TaskSchedulerInitParams> GetTaskSchedulerInitParams() |
| 329 std::vector<base::SchedulerWorkerPoolParams>* params_vector, | 329 override; |
| 330 base::TaskScheduler::WorkerPoolIndexForTraitsCallback* | |
| 331 index_to_traits_callback) override; | |
| 332 void PerformExperimentalTaskSchedulerRedirections() override; | 330 void PerformExperimentalTaskSchedulerRedirections() override; |
| 333 bool ShouldRedirectDOMStorageTaskRunner() override; | 331 bool ShouldRedirectDOMStorageTaskRunner() override; |
| 334 bool RedirectNonUINonIOBrowserThreadsToTaskScheduler() override; | 332 bool RedirectNonUINonIOBrowserThreadsToTaskScheduler() override; |
| 335 | 333 |
| 336 private: | 334 private: |
| 337 friend class DisableWebRtcEncryptionFlagTest; | 335 friend class DisableWebRtcEncryptionFlagTest; |
| 338 friend class InProcessBrowserTest; | 336 friend class InProcessBrowserTest; |
| 339 | 337 |
| 340 #if BUILDFLAG(ENABLE_WEBRTC) | 338 #if BUILDFLAG(ENABLE_WEBRTC) |
| 341 // Copies disable WebRTC encryption switch depending on the channel. | 339 // Copies disable WebRTC encryption switch depending on the channel. |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 384 // Vector of additional ChromeContentBrowserClientParts. | 382 // Vector of additional ChromeContentBrowserClientParts. |
| 385 // Parts are deleted in the reverse order they are added. | 383 // Parts are deleted in the reverse order they are added. |
| 386 std::vector<ChromeContentBrowserClientParts*> extra_parts_; | 384 std::vector<ChromeContentBrowserClientParts*> extra_parts_; |
| 387 | 385 |
| 388 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_; | 386 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_; |
| 389 | 387 |
| 390 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); | 388 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); |
| 391 }; | 389 }; |
| 392 | 390 |
| 393 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ | 391 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ |
| OLD | NEW |