OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 CONTENT_BROWSER_CONTENT_BROWSER_CLIENT_H_ | 5 #ifndef CONTENT_BROWSER_CONTENT_BROWSER_CLIENT_H_ |
6 #define CONTENT_BROWSER_CONTENT_BROWSER_CLIENT_H_ | 6 #define CONTENT_BROWSER_CONTENT_BROWSER_CLIENT_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <string> | 9 #include <string> |
10 | 10 |
(...skipping 274 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
285 // Returns the "default" request context. There is no such thing in the world | 285 // Returns the "default" request context. There is no such thing in the world |
286 // of multiple profiles, and all calls to this need to be removed. | 286 // of multiple profiles, and all calls to this need to be removed. |
287 virtual net::URLRequestContextGetter* | 287 virtual net::URLRequestContextGetter* |
288 GetDefaultRequestContextDeprecatedCrBug64339() = 0; | 288 GetDefaultRequestContextDeprecatedCrBug64339() = 0; |
289 | 289 |
290 #if defined(OS_POSIX) && !defined(OS_MACOSX) | 290 #if defined(OS_POSIX) && !defined(OS_MACOSX) |
291 // Can return an optional fd for crash handling, otherwise returns -1. | 291 // Can return an optional fd for crash handling, otherwise returns -1. |
292 virtual int GetCrashSignalFD(const std::string& process_type) = 0; | 292 virtual int GetCrashSignalFD(const std::string& process_type) = 0; |
293 #endif | 293 #endif |
294 | 294 |
| 295 #if defined(OS_WIN) |
| 296 // Returns the name of the dll that contains cursors and other resources. |
| 297 virtual const wchar_t* GetResourceDllName() = 0; |
| 298 #endif |
| 299 |
295 #if defined(USE_NSS) | 300 #if defined(USE_NSS) |
296 // Return a delegate to authenticate and unlock |module|. | 301 // Return a delegate to authenticate and unlock |module|. |
297 // This is called on a worker thread. | 302 // This is called on a worker thread. |
298 virtual | 303 virtual |
299 crypto::CryptoModuleBlockingPasswordDelegate* GetCryptoPasswordDelegate( | 304 crypto::CryptoModuleBlockingPasswordDelegate* GetCryptoPasswordDelegate( |
300 const GURL& url) = 0; | 305 const GURL& url) = 0; |
301 #endif | 306 #endif |
302 }; | 307 }; |
303 | 308 |
304 } // namespace content | 309 } // namespace content |
305 | 310 |
306 #endif // CONTENT_BROWSER_CONTENT_BROWSER_CLIENT_H_ | 311 #endif // CONTENT_BROWSER_CONTENT_BROWSER_CLIENT_H_ |
OLD | NEW |