| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 <set> | 9 #include <set> |
| 10 #include <string> | 10 #include <string> |
| (...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 171 #endif | 171 #endif |
| 172 #if defined(OS_WIN) | 172 #if defined(OS_WIN) |
| 173 virtual const wchar_t* GetResourceDllName() OVERRIDE; | 173 virtual const wchar_t* GetResourceDllName() OVERRIDE; |
| 174 #endif | 174 #endif |
| 175 #if defined(USE_NSS) | 175 #if defined(USE_NSS) |
| 176 virtual | 176 virtual |
| 177 crypto::CryptoModuleBlockingPasswordDelegate* GetCryptoPasswordDelegate( | 177 crypto::CryptoModuleBlockingPasswordDelegate* GetCryptoPasswordDelegate( |
| 178 const GURL& url) OVERRIDE; | 178 const GURL& url) OVERRIDE; |
| 179 #endif | 179 #endif |
| 180 | 180 |
| 181 virtual void ShowYesNoBox( |
| 182 const string16& title, |
| 183 const string16& message, |
| 184 content::YesNoBoxResponseCallback* callback) OVERRIDE; |
| 185 |
| 181 private: | 186 private: |
| 182 // Set of origins that can use TCP/UDP private APIs from NaCl. | 187 // Set of origins that can use TCP/UDP private APIs from NaCl. |
| 183 std::set<std::string> allowed_socket_origins_; | 188 std::set<std::string> allowed_socket_origins_; |
| 184 | 189 |
| 185 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); | 190 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); |
| 186 }; | 191 }; |
| 187 | 192 |
| 188 } // namespace chrome | 193 } // namespace chrome |
| 189 | 194 |
| 190 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ | 195 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ |
| OLD | NEW |