| 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 310 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 321 media::mojom::RemoterRequest request) final; | 321 media::mojom::RemoterRequest request) final; |
| 322 #endif // BUILDFLAG(ENABLE_MEDIA_REMOTING) | 322 #endif // BUILDFLAG(ENABLE_MEDIA_REMOTING) |
| 323 | 323 |
| 324 std::unique_ptr<base::TaskScheduler::InitParams> GetTaskSchedulerInitParams() | 324 std::unique_ptr<base::TaskScheduler::InitParams> GetTaskSchedulerInitParams() |
| 325 override; | 325 override; |
| 326 base::FilePath GetLoggingFileName() override; | 326 base::FilePath GetLoggingFileName() override; |
| 327 std::vector<std::unique_ptr<content::URLLoaderThrottle>> | 327 std::vector<std::unique_ptr<content::URLLoaderThrottle>> |
| 328 CreateURLLoaderThrottles( | 328 CreateURLLoaderThrottles( |
| 329 const base::Callback<content::WebContents*()>& wc_getter) override; | 329 const base::Callback<content::WebContents*()>& wc_getter) override; |
| 330 | 330 |
| 331 protected: |
| 332 static bool HandleWebUI(GURL* url, content::BrowserContext* browser_context); |
| 333 static bool HandleWebUIReverse(GURL* url, |
| 334 content::BrowserContext* browser_context); |
| 335 |
| 331 private: | 336 private: |
| 332 friend class DisableWebRtcEncryptionFlagTest; | 337 friend class DisableWebRtcEncryptionFlagTest; |
| 333 friend class InProcessBrowserTest; | 338 friend class InProcessBrowserTest; |
| 334 | 339 |
| 335 // Populate |frame_interfaces_|. | 340 // Populate |frame_interfaces_|. |
| 336 void InitFrameInterfaces(); | 341 void InitFrameInterfaces(); |
| 337 | 342 |
| 338 #if BUILDFLAG(ENABLE_WEBRTC) | 343 #if BUILDFLAG(ENABLE_WEBRTC) |
| 339 // Copies disable WebRTC encryption switch depending on the channel. | 344 // Copies disable WebRTC encryption switch depending on the channel. |
| 340 static void MaybeCopyDisableWebRtcEncryptionSwitch( | 345 static void MaybeCopyDisableWebRtcEncryptionSwitch( |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 391 std::unique_ptr< | 396 std::unique_ptr< |
| 392 service_manager::BinderRegistryWithParams<content::RenderFrameHost*>> | 397 service_manager::BinderRegistryWithParams<content::RenderFrameHost*>> |
| 393 frame_interfaces_parameterized_; | 398 frame_interfaces_parameterized_; |
| 394 | 399 |
| 395 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_; | 400 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_; |
| 396 | 401 |
| 397 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); | 402 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); |
| 398 }; | 403 }; |
| 399 | 404 |
| 400 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ | 405 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ |
| OLD | NEW |