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 135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
146 #endif | 146 #endif |
147 | 147 |
148 using content::AccessTokenStore; | 148 using content::AccessTokenStore; |
149 using content::BrowserThread; | 149 using content::BrowserThread; |
150 using content::BrowserURLHandler; | 150 using content::BrowserURLHandler; |
151 using content::ChildProcessSecurityPolicy; | 151 using content::ChildProcessSecurityPolicy; |
152 using content::QuotaPermissionContext; | 152 using content::QuotaPermissionContext; |
153 using content::RenderViewHost; | 153 using content::RenderViewHost; |
154 using content::SiteInstance; | 154 using content::SiteInstance; |
155 using content::WebContents; | 155 using content::WebContents; |
| 156 using extensions::Extension; |
156 using webkit_glue::WebPreferences; | 157 using webkit_glue::WebPreferences; |
157 | 158 |
158 namespace { | 159 namespace { |
159 | 160 |
160 const char* kPredefinedAllowedSocketOrigins[] = { | 161 const char* kPredefinedAllowedSocketOrigins[] = { |
161 "okddffdblfhhnmhodogpojmfkjmhinfp", // Test SSH Client | 162 "okddffdblfhhnmhodogpojmfkjmhinfp", // Test SSH Client |
162 "pnhechapfaindjhompbnflcldabbghjo", // HTerm App (SSH Client) | 163 "pnhechapfaindjhompbnflcldabbghjo", // HTerm App (SSH Client) |
163 "bglhmjfplikpjnfoegeomebmfnkjomhe", // see crbug.com/122126 | 164 "bglhmjfplikpjnfoegeomebmfnkjomhe", // see crbug.com/122126 |
164 "gbchcmhmhahfdphkhkmpfmihenigjmpp", // Chrome Remote Desktop | 165 "gbchcmhmhahfdphkhkmpfmihenigjmpp", // Chrome Remote Desktop |
165 "kgngmbheleoaphbjbaiobfdepmghbfah", // Pre-release Chrome Remote Desktop | 166 "kgngmbheleoaphbjbaiobfdepmghbfah", // Pre-release Chrome Remote Desktop |
(...skipping 1451 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1617 #if defined(USE_NSS) | 1618 #if defined(USE_NSS) |
1618 crypto::CryptoModuleBlockingPasswordDelegate* | 1619 crypto::CryptoModuleBlockingPasswordDelegate* |
1619 ChromeContentBrowserClient::GetCryptoPasswordDelegate( | 1620 ChromeContentBrowserClient::GetCryptoPasswordDelegate( |
1620 const GURL& url) { | 1621 const GURL& url) { |
1621 return browser::NewCryptoModuleBlockingDialogDelegate( | 1622 return browser::NewCryptoModuleBlockingDialogDelegate( |
1622 browser::kCryptoModulePasswordKeygen, url.host()); | 1623 browser::kCryptoModulePasswordKeygen, url.host()); |
1623 } | 1624 } |
1624 #endif | 1625 #endif |
1625 | 1626 |
1626 } // namespace chrome | 1627 } // namespace chrome |
OLD | NEW |