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 virtual const wchar_t* GetResourceDllName() OVERRIDE; | 249 virtual const wchar_t* GetResourceDllName() OVERRIDE; |
250 virtual void PreSpawnRenderer(sandbox::TargetPolicy* policy, | 250 virtual void PreSpawnRenderer(sandbox::TargetPolicy* policy, |
251 bool* success) OVERRIDE; | 251 bool* success) OVERRIDE; |
252 #endif | 252 #endif |
253 #if defined(USE_NSS) | 253 #if defined(USE_NSS) |
254 virtual | 254 virtual |
255 crypto::CryptoModuleBlockingPasswordDelegate* GetCryptoPasswordDelegate( | 255 crypto::CryptoModuleBlockingPasswordDelegate* GetCryptoPasswordDelegate( |
256 const GURL& url) OVERRIDE; | 256 const GURL& url) OVERRIDE; |
257 #endif | 257 #endif |
258 | 258 |
| 259 #if defined(ENABLE_WEBRTC) |
| 260 virtual bool IsWebRtcLoggingAllowed() OVERRIDE; |
| 261 virtual void UploadWebRtcLog(content::BrowserContext* browser_context, |
| 262 scoped_ptr<base::SharedMemory> shared_memory, |
| 263 uint32 length, |
| 264 const std::string& app_session_id, |
| 265 const std::string& app_url) OVERRIDE; |
| 266 #endif |
| 267 |
259 private: | 268 private: |
260 // Set of origins that can use TCP/UDP private APIs from NaCl. | 269 // Set of origins that can use TCP/UDP private APIs from NaCl. |
261 std::set<std::string> allowed_socket_origins_; | 270 std::set<std::string> allowed_socket_origins_; |
262 scoped_ptr<extensions::BrowserPermissionsPolicyDelegate> | 271 scoped_ptr<extensions::BrowserPermissionsPolicyDelegate> |
263 permissions_policy_delegate_; | 272 permissions_policy_delegate_; |
264 | 273 |
265 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); | 274 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); |
266 }; | 275 }; |
267 | 276 |
268 } // namespace chrome | 277 } // namespace chrome |
269 | 278 |
270 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ | 279 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ |
OLD | NEW |