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 <set> | 8 #include <set> |
9 #include <string> | 9 #include <string> |
10 #include <utility> | 10 #include <utility> |
(...skipping 267 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
278 void RegisterInProcessMojoApplications( | 278 void RegisterInProcessMojoApplications( |
279 StaticMojoApplicationMap* apps) override; | 279 StaticMojoApplicationMap* apps) override; |
280 void OpenURL(content::BrowserContext* browser_context, | 280 void OpenURL(content::BrowserContext* browser_context, |
281 const content::OpenURLParams& params, | 281 const content::OpenURLParams& params, |
282 const base::Callback<void(content::WebContents*)>& callback) | 282 const base::Callback<void(content::WebContents*)>& callback) |
283 override; | 283 override; |
284 content::PresentationServiceDelegate* GetPresentationServiceDelegate( | 284 content::PresentationServiceDelegate* GetPresentationServiceDelegate( |
285 content::WebContents* web_contents) override; | 285 content::WebContents* web_contents) override; |
286 | 286 |
287 void RecordURLMetric(const std::string& metric, const GURL& url) override; | 287 void RecordURLMetric(const std::string& metric, const GURL& url) override; |
| 288 ScopedVector<content::NavigationThrottle> CreateThrottlesForNavigation( |
| 289 content::NavigationHandle* handle) override; |
288 | 290 |
289 private: | 291 private: |
290 friend class DisableWebRtcEncryptionFlagTest; | 292 friend class DisableWebRtcEncryptionFlagTest; |
291 | 293 |
292 #if defined(ENABLE_WEBRTC) | 294 #if defined(ENABLE_WEBRTC) |
293 // Copies disable WebRTC encryption switch depending on the channel. | 295 // Copies disable WebRTC encryption switch depending on the channel. |
294 static void MaybeCopyDisableWebRtcEncryptionSwitch( | 296 static void MaybeCopyDisableWebRtcEncryptionSwitch( |
295 base::CommandLine* to_command_line, | 297 base::CommandLine* to_command_line, |
296 const base::CommandLine& from_command_line, | 298 const base::CommandLine& from_command_line, |
297 version_info::Channel channel); | 299 version_info::Channel channel); |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
331 // Vector of additional ChromeContentBrowserClientParts. | 333 // Vector of additional ChromeContentBrowserClientParts. |
332 // Parts are deleted in the reverse order they are added. | 334 // Parts are deleted in the reverse order they are added. |
333 std::vector<ChromeContentBrowserClientParts*> extra_parts_; | 335 std::vector<ChromeContentBrowserClientParts*> extra_parts_; |
334 | 336 |
335 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_; | 337 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_; |
336 | 338 |
337 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); | 339 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); |
338 }; | 340 }; |
339 | 341 |
340 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ | 342 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ |
OLD | NEW |