Chromium Code Reviews| 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 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 114 virtual void UpdateInspectorSetting(RenderViewHost* rvh, | 114 virtual void UpdateInspectorSetting(RenderViewHost* rvh, |
| 115 const std::string& key, | 115 const std::string& key, |
| 116 const std::string& value) OVERRIDE; | 116 const std::string& value) OVERRIDE; |
| 117 virtual void ClearInspectorSettings(RenderViewHost* rvh) OVERRIDE; | 117 virtual void ClearInspectorSettings(RenderViewHost* rvh) OVERRIDE; |
| 118 virtual void BrowserURLHandlerCreated(BrowserURLHandler* handler) OVERRIDE; | 118 virtual void BrowserURLHandlerCreated(BrowserURLHandler* handler) OVERRIDE; |
| 119 virtual void ClearCache(RenderViewHost* rvh) OVERRIDE; | 119 virtual void ClearCache(RenderViewHost* rvh) OVERRIDE; |
| 120 virtual void ClearCookies(RenderViewHost* rvh) OVERRIDE; | 120 virtual void ClearCookies(RenderViewHost* rvh) OVERRIDE; |
| 121 virtual FilePath GetDefaultDownloadDirectory() OVERRIDE; | 121 virtual FilePath GetDefaultDownloadDirectory() OVERRIDE; |
| 122 | 122 |
| 123 #if defined(OS_POSIX) && !defined(OS_MACOSX) | 123 #if defined(OS_POSIX) && !defined(OS_MACOSX) |
| 124 // Can return an optional fd for crash handling, otherwise returns -1. | 124 // Can return an optional fd for crash handling, otherwise returns -1. The |
|
jam
2011/10/04 16:59:22
nit: this comment shouldn't be here, since we don'
jochen (gone - plz use gerrit)
2011/10/04 18:50:19
Done.
| |
| 125 virtual int GetCrashSignalFD(const std::string& process_type) OVERRIDE; | 125 // passed |command_line| will be used to start the process in question. |
| 126 virtual int GetCrashSignalFD(const CommandLine* command_line) OVERRIDE; | |
| 126 #endif | 127 #endif |
| 127 #if defined(OS_WIN) | 128 #if defined(OS_WIN) |
| 128 virtual const wchar_t* GetResourceDllName() OVERRIDE; | 129 virtual const wchar_t* GetResourceDllName() OVERRIDE; |
| 129 #endif | 130 #endif |
| 130 #if defined(USE_NSS) | 131 #if defined(USE_NSS) |
| 131 virtual | 132 virtual |
| 132 crypto::CryptoModuleBlockingPasswordDelegate* GetCryptoPasswordDelegate( | 133 crypto::CryptoModuleBlockingPasswordDelegate* GetCryptoPasswordDelegate( |
| 133 const GURL& url) OVERRIDE; | 134 const GURL& url) OVERRIDE; |
| 134 #endif | 135 #endif |
| 135 }; | 136 }; |
| 136 | 137 |
| 137 } // namespace chrome | 138 } // namespace chrome |
| 138 | 139 |
| 139 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ | 140 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ |
| OLD | NEW |