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 237 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
248 virtual const wchar_t* GetResourceDllName() OVERRIDE; | 248 virtual const wchar_t* GetResourceDllName() OVERRIDE; |
249 virtual void PreSpawnRenderer(sandbox::TargetPolicy* policy, | 249 virtual void PreSpawnRenderer(sandbox::TargetPolicy* policy, |
250 bool* success) OVERRIDE; | 250 bool* success) OVERRIDE; |
251 #endif | 251 #endif |
252 #if defined(USE_NSS) | 252 #if defined(USE_NSS) |
253 virtual | 253 virtual |
254 crypto::CryptoModuleBlockingPasswordDelegate* GetCryptoPasswordDelegate( | 254 crypto::CryptoModuleBlockingPasswordDelegate* GetCryptoPasswordDelegate( |
255 const GURL& url) OVERRIDE; | 255 const GURL& url) OVERRIDE; |
256 #endif | 256 #endif |
257 | 257 |
| 258 virtual bool IsWebRtcLoggingAllowed() OVERRIDE; |
| 259 virtual void UploadWebRtcLog(scoped_ptr<base::SharedMemory> shared_memory, |
| 260 uint32 length) OVERRIDE; |
| 261 |
258 private: | 262 private: |
259 // Set of origins that can use TCP/UDP private APIs from NaCl. | 263 // Set of origins that can use TCP/UDP private APIs from NaCl. |
260 std::set<std::string> allowed_socket_origins_; | 264 std::set<std::string> allowed_socket_origins_; |
261 | 265 |
262 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); | 266 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); |
263 }; | 267 }; |
264 | 268 |
265 } // namespace chrome | 269 } // namespace chrome |
266 | 270 |
267 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ | 271 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ |
OLD | NEW |