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