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 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 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <string> | 9 #include <string> |
10 | 10 |
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
108 virtual void UpdateInspectorSetting(RenderViewHost* rvh, | 108 virtual void UpdateInspectorSetting(RenderViewHost* rvh, |
109 const std::string& key, | 109 const std::string& key, |
110 const std::string& value) OVERRIDE; | 110 const std::string& value) OVERRIDE; |
111 virtual void ClearInspectorSettings(RenderViewHost* rvh) OVERRIDE; | 111 virtual void ClearInspectorSettings(RenderViewHost* rvh) OVERRIDE; |
112 virtual void BrowserURLHandlerCreated(BrowserURLHandler* handler) OVERRIDE; | 112 virtual void BrowserURLHandlerCreated(BrowserURLHandler* handler) OVERRIDE; |
113 virtual void ClearCache(RenderViewHost* rvh) OVERRIDE; | 113 virtual void ClearCache(RenderViewHost* rvh) OVERRIDE; |
114 virtual void ClearCookies(RenderViewHost* rvh) OVERRIDE; | 114 virtual void ClearCookies(RenderViewHost* rvh) OVERRIDE; |
115 virtual FilePath GetDefaultDownloadDirectory() OVERRIDE; | 115 virtual FilePath GetDefaultDownloadDirectory() OVERRIDE; |
116 virtual net::URLRequestContextGetter* | 116 virtual net::URLRequestContextGetter* |
117 GetDefaultRequestContextDeprecatedCrBug64339() OVERRIDE; | 117 GetDefaultRequestContextDeprecatedCrBug64339() OVERRIDE; |
| 118 virtual net::URLRequestContextGetter* GetSystemRequestContext() OVERRIDE; |
118 | 119 |
119 #if defined(OS_POSIX) && !defined(OS_MACOSX) | 120 #if defined(OS_POSIX) && !defined(OS_MACOSX) |
120 // Can return an optional fd for crash handling, otherwise returns -1. | 121 // Can return an optional fd for crash handling, otherwise returns -1. |
121 virtual int GetCrashSignalFD(const std::string& process_type) OVERRIDE; | 122 virtual int GetCrashSignalFD(const std::string& process_type) OVERRIDE; |
122 #endif | 123 #endif |
123 #if defined(OS_WIN) | 124 #if defined(OS_WIN) |
124 virtual const wchar_t* GetResourceDllName() OVERRIDE; | 125 virtual const wchar_t* GetResourceDllName() OVERRIDE; |
125 #endif | 126 #endif |
126 #if defined(USE_NSS) | 127 #if defined(USE_NSS) |
127 virtual | 128 virtual |
128 crypto::CryptoModuleBlockingPasswordDelegate* GetCryptoPasswordDelegate( | 129 crypto::CryptoModuleBlockingPasswordDelegate* GetCryptoPasswordDelegate( |
129 const GURL& url) OVERRIDE; | 130 const GURL& url) OVERRIDE; |
130 #endif | 131 #endif |
131 }; | 132 }; |
132 | 133 |
133 } // namespace chrome | 134 } // namespace chrome |
134 | 135 |
135 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ | 136 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ |
OLD | NEW |