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 224 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
235 virtual const wchar_t* GetResourceDllName() OVERRIDE; | 235 virtual const wchar_t* GetResourceDllName() OVERRIDE; |
236 virtual void PreSpawnRenderer(sandbox::TargetPolicy* policy, | 236 virtual void PreSpawnRenderer(sandbox::TargetPolicy* policy, |
237 bool* success) OVERRIDE; | 237 bool* success) OVERRIDE; |
238 #endif | 238 #endif |
239 #if defined(USE_NSS) | 239 #if defined(USE_NSS) |
240 virtual | 240 virtual |
241 crypto::CryptoModuleBlockingPasswordDelegate* GetCryptoPasswordDelegate( | 241 crypto::CryptoModuleBlockingPasswordDelegate* GetCryptoPasswordDelegate( |
242 const GURL& url) OVERRIDE; | 242 const GURL& url) OVERRIDE; |
243 #endif | 243 #endif |
244 | 244 |
| 245 virtual bool UploadWebRtcLog(base::SharedMemory* shared_memory, |
| 246 uint32 length) OVERRIDE; |
| 247 |
245 private: | 248 private: |
246 // Set of origins that can use TCP/UDP private APIs from NaCl. | 249 // Set of origins that can use TCP/UDP private APIs from NaCl. |
247 std::set<std::string> allowed_socket_origins_; | 250 std::set<std::string> allowed_socket_origins_; |
248 | 251 |
249 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); | 252 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); |
250 }; | 253 }; |
251 | 254 |
252 } // namespace chrome | 255 } // namespace chrome |
253 | 256 |
254 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ | 257 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ |
OLD | NEW |