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 220 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
231 virtual int GetCrashSignalFD(const std::string& process_type) = 0; | 231 virtual int GetCrashSignalFD(const std::string& process_type) = 0; |
232 #endif | 232 #endif |
233 | 233 |
234 #if defined(USE_NSS) | 234 #if defined(USE_NSS) |
235 // Return a delegate to authenticate and unlock |module|. | 235 // Return a delegate to authenticate and unlock |module|. |
236 // This is called on a worker thread. | 236 // This is called on a worker thread. |
237 virtual | 237 virtual |
238 crypto::CryptoModuleBlockingPasswordDelegate* GetCryptoPasswordDelegate( | 238 crypto::CryptoModuleBlockingPasswordDelegate* GetCryptoPasswordDelegate( |
239 const GURL& url) = 0; | 239 const GURL& url) = 0; |
240 #endif | 240 #endif |
| 241 |
| 242 // Clears browser cache. |
| 243 virtual void ClearCache(RenderViewHost* rvh) = 0; |
| 244 |
| 245 // Clears browser cookies. |
| 246 virtual void ClearCookies(RenderViewHost* rvh) = 0; |
241 }; | 247 }; |
242 | 248 |
243 } // namespace content | 249 } // namespace content |
244 | 250 |
245 #endif // CONTENT_BROWSER_CONTENT_BROWSER_CLIENT_H_ | 251 #endif // CONTENT_BROWSER_CONTENT_BROWSER_CLIENT_H_ |
OLD | NEW |