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_MOCK_CONTENT_BROWSER_CLIENT_H_ | 5 #ifndef CONTENT_BROWSER_MOCK_CONTENT_BROWSER_CLIENT_H_ |
6 #define CONTENT_BROWSER_MOCK_CONTENT_BROWSER_CLIENT_H_ | 6 #define CONTENT_BROWSER_MOCK_CONTENT_BROWSER_CLIENT_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <string> | 9 #include <string> |
10 | 10 |
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
121 virtual void UpdateInspectorSetting(RenderViewHost* rvh, | 121 virtual void UpdateInspectorSetting(RenderViewHost* rvh, |
122 const std::string& key, | 122 const std::string& key, |
123 const std::string& value) OVERRIDE; | 123 const std::string& value) OVERRIDE; |
124 virtual void ClearInspectorSettings(RenderViewHost* rvh) OVERRIDE; | 124 virtual void ClearInspectorSettings(RenderViewHost* rvh) OVERRIDE; |
125 virtual void BrowserURLHandlerCreated(BrowserURLHandler* handler) OVERRIDE; | 125 virtual void BrowserURLHandlerCreated(BrowserURLHandler* handler) OVERRIDE; |
126 virtual void ClearCache(RenderViewHost* rvh) OVERRIDE; | 126 virtual void ClearCache(RenderViewHost* rvh) OVERRIDE; |
127 virtual void ClearCookies(RenderViewHost* rvh) OVERRIDE; | 127 virtual void ClearCookies(RenderViewHost* rvh) OVERRIDE; |
128 virtual FilePath GetDefaultDownloadDirectory() OVERRIDE; | 128 virtual FilePath GetDefaultDownloadDirectory() OVERRIDE; |
129 | 129 |
130 #if defined(OS_POSIX) && !defined(OS_MACOSX) | 130 #if defined(OS_POSIX) && !defined(OS_MACOSX) |
131 virtual int GetCrashSignalFD(const std::string& process_type) OVERRIDE; | 131 virtual int GetCrashSignalFD(const CommandLine& command_line) OVERRIDE; |
132 #endif | 132 #endif |
133 | 133 |
134 #if defined(OS_WIN) | 134 #if defined(OS_WIN) |
135 virtual const wchar_t* GetResourceDllName() OVERRIDE; | 135 virtual const wchar_t* GetResourceDllName() OVERRIDE; |
136 #endif | 136 #endif |
137 | 137 |
138 #if defined(USE_NSS) | 138 #if defined(USE_NSS) |
139 virtual | 139 virtual |
140 crypto::CryptoModuleBlockingPasswordDelegate* GetCryptoPasswordDelegate( | 140 crypto::CryptoModuleBlockingPasswordDelegate* GetCryptoPasswordDelegate( |
141 const GURL& url) OVERRIDE; | 141 const GURL& url) OVERRIDE; |
142 #endif | 142 #endif |
143 | 143 |
144 private: | 144 private: |
145 // Temporary directory for GetDefaultDownloadDirectory. | 145 // Temporary directory for GetDefaultDownloadDirectory. |
146 ScopedTempDir download_dir_; | 146 ScopedTempDir download_dir_; |
147 | 147 |
148 DISALLOW_COPY_AND_ASSIGN(MockContentBrowserClient); | 148 DISALLOW_COPY_AND_ASSIGN(MockContentBrowserClient); |
149 }; | 149 }; |
150 | 150 |
151 } // namespace content | 151 } // namespace content |
152 | 152 |
153 #endif // CONTENT_BROWSER_MOCK_CONTENT_BROWSER_CLIENT_H_ | 153 #endif // CONTENT_BROWSER_MOCK_CONTENT_BROWSER_CLIENT_H_ |
OLD | NEW |