| 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 #include "chrome/browser/chrome_content_browser_client.h" | 5 #include "chrome/browser/chrome_content_browser_client.h" |
| 6 | 6 |
| 7 #include <set> | 7 #include <set> |
| 8 #include <utility> | 8 #include <utility> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 133 #endif | 133 #endif |
| 134 | 134 |
| 135 #if defined(USE_NSS) | 135 #if defined(USE_NSS) |
| 136 #include "chrome/browser/ui/crypto_module_password_dialog.h" | 136 #include "chrome/browser/ui/crypto_module_password_dialog.h" |
| 137 #endif | 137 #endif |
| 138 | 138 |
| 139 using content::AccessTokenStore; | 139 using content::AccessTokenStore; |
| 140 using content::BrowserThread; | 140 using content::BrowserThread; |
| 141 using content::ChildProcessSecurityPolicy; | 141 using content::ChildProcessSecurityPolicy; |
| 142 using content::QuotaPermissionContext; | 142 using content::QuotaPermissionContext; |
| 143 using content::RenderViewHost; |
| 143 using content::SiteInstance; | 144 using content::SiteInstance; |
| 144 using content::WebContents; | 145 using content::WebContents; |
| 145 | 146 |
| 146 namespace { | 147 namespace { |
| 147 | 148 |
| 148 const char* kPredefinedAllowedSocketOrigins[] = { | 149 const char* kPredefinedAllowedSocketOrigins[] = { |
| 149 "okddffdblfhhnmhodogpojmfkjmhinfp", // Test SSH Client | 150 "okddffdblfhhnmhodogpojmfkjmhinfp", // Test SSH Client |
| 150 "pnhechapfaindjhompbnflcldabbghjo" // HTerm App (SSH Client) | 151 "pnhechapfaindjhompbnflcldabbghjo" // HTerm App (SSH Client) |
| 151 }; | 152 }; |
| 152 | 153 |
| (...skipping 1435 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1588 #if defined(USE_NSS) | 1589 #if defined(USE_NSS) |
| 1589 crypto::CryptoModuleBlockingPasswordDelegate* | 1590 crypto::CryptoModuleBlockingPasswordDelegate* |
| 1590 ChromeContentBrowserClient::GetCryptoPasswordDelegate( | 1591 ChromeContentBrowserClient::GetCryptoPasswordDelegate( |
| 1591 const GURL& url) { | 1592 const GURL& url) { |
| 1592 return browser::NewCryptoModuleBlockingDialogDelegate( | 1593 return browser::NewCryptoModuleBlockingDialogDelegate( |
| 1593 browser::kCryptoModulePasswordKeygen, url.host()); | 1594 browser::kCryptoModulePasswordKeygen, url.host()); |
| 1594 } | 1595 } |
| 1595 #endif | 1596 #endif |
| 1596 | 1597 |
| 1597 } // namespace chrome | 1598 } // namespace chrome |
| OLD | NEW |