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