| 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 238 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 249 const wchar_t* GetResourceDllName() override; | 249 const wchar_t* GetResourceDllName() override; |
| 250 void PreSpawnRenderer(sandbox::TargetPolicy* policy, bool* success) override; | 250 void PreSpawnRenderer(sandbox::TargetPolicy* policy, bool* success) override; |
| 251 #endif | 251 #endif |
| 252 void OverrideRenderFrameMojoServices( | 252 void OverrideRenderFrameMojoServices( |
| 253 content::ServiceRegistry* registry, | 253 content::ServiceRegistry* registry, |
| 254 content::RenderFrameHost* render_frame_host) override; | 254 content::RenderFrameHost* render_frame_host) override; |
| 255 void OpenURL(content::BrowserContext* browser_context, | 255 void OpenURL(content::BrowserContext* browser_context, |
| 256 const content::OpenURLParams& params, | 256 const content::OpenURLParams& params, |
| 257 const base::Callback<void(content::WebContents*)>& callback) | 257 const base::Callback<void(content::WebContents*)>& callback) |
| 258 override; | 258 override; |
| 259 content::PresentationServiceDelegate* GetPresentationServiceDelegate( |
| 260 content::WebContents* web_contents) override; |
| 259 | 261 |
| 260 void RecordURLMetric(const std::string& metric, const GURL& url) override; | 262 void RecordURLMetric(const std::string& metric, const GURL& url) override; |
| 261 | 263 |
| 262 private: | 264 private: |
| 263 friend class DisableWebRtcEncryptionFlagTest; | 265 friend class DisableWebRtcEncryptionFlagTest; |
| 264 | 266 |
| 265 #if defined(ENABLE_WEBRTC) | 267 #if defined(ENABLE_WEBRTC) |
| 266 // Copies disable WebRTC encryption switch depending on the channel. | 268 // Copies disable WebRTC encryption switch depending on the channel. |
| 267 static void MaybeCopyDisableWebRtcEncryptionSwitch( | 269 static void MaybeCopyDisableWebRtcEncryptionSwitch( |
| 268 base::CommandLine* to_command_line, | 270 base::CommandLine* to_command_line, |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 311 std::vector<ChromeContentBrowserClientParts*> extra_parts_; | 313 std::vector<ChromeContentBrowserClientParts*> extra_parts_; |
| 312 | 314 |
| 313 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_; | 315 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_; |
| 314 | 316 |
| 315 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); | 317 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); |
| 316 }; | 318 }; |
| 317 | 319 |
| 318 } // namespace chrome | 320 } // namespace chrome |
| 319 | 321 |
| 320 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ | 322 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ |
| OLD | NEW |