Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(277)

Side by Side Diff: chrome/browser/chrome_content_browser_client.cc

Issue 10384128: Quote WebPreferences in namespace webkit_glue. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Copyright 2012 Created 8 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 134 matching lines...) Expand 10 before | Expand all | Expand 10 after
145 #endif 145 #endif
146 146
147 using content::AccessTokenStore; 147 using content::AccessTokenStore;
148 using content::BrowserThread; 148 using content::BrowserThread;
149 using content::BrowserURLHandler; 149 using content::BrowserURLHandler;
150 using content::ChildProcessSecurityPolicy; 150 using content::ChildProcessSecurityPolicy;
151 using content::QuotaPermissionContext; 151 using content::QuotaPermissionContext;
152 using content::RenderViewHost; 152 using content::RenderViewHost;
153 using content::SiteInstance; 153 using content::SiteInstance;
154 using content::WebContents; 154 using content::WebContents;
155 using webkit_glue::WebPreferences;
155 156
156 namespace { 157 namespace {
157 158
158 const char* kPredefinedAllowedSocketOrigins[] = { 159 const char* kPredefinedAllowedSocketOrigins[] = {
159 "okddffdblfhhnmhodogpojmfkjmhinfp", // Test SSH Client 160 "okddffdblfhhnmhodogpojmfkjmhinfp", // Test SSH Client
160 "pnhechapfaindjhompbnflcldabbghjo", // HTerm App (SSH Client) 161 "pnhechapfaindjhompbnflcldabbghjo", // HTerm App (SSH Client)
161 "bglhmjfplikpjnfoegeomebmfnkjomhe", // see crbug.com/122126 162 "bglhmjfplikpjnfoegeomebmfnkjomhe", // see crbug.com/122126
162 "gbchcmhmhahfdphkhkmpfmihenigjmpp", // Chrome Remote Desktop 163 "gbchcmhmhahfdphkhkmpfmihenigjmpp", // Chrome Remote Desktop
163 "kgngmbheleoaphbjbaiobfdepmghbfah", // Pre-release Chrome Remote Desktop 164 "kgngmbheleoaphbjbaiobfdepmghbfah", // Pre-release Chrome Remote Desktop
164 "odkaodonbgfohohmklejpjiejmcipmib", // Dogfood Chrome Remote Desktop 165 "odkaodonbgfohohmklejpjiejmcipmib", // Dogfood Chrome Remote Desktop
(...skipping 1459 matching lines...) Expand 10 before | Expand all | Expand 10 after
1624 #if defined(USE_NSS) 1625 #if defined(USE_NSS)
1625 crypto::CryptoModuleBlockingPasswordDelegate* 1626 crypto::CryptoModuleBlockingPasswordDelegate*
1626 ChromeContentBrowserClient::GetCryptoPasswordDelegate( 1627 ChromeContentBrowserClient::GetCryptoPasswordDelegate(
1627 const GURL& url) { 1628 const GURL& url) {
1628 return browser::NewCryptoModuleBlockingDialogDelegate( 1629 return browser::NewCryptoModuleBlockingDialogDelegate(
1629 browser::kCryptoModulePasswordKeygen, url.host()); 1630 browser::kCryptoModulePasswordKeygen, url.host());
1630 } 1631 }
1631 #endif 1632 #endif
1632 1633
1633 } // namespace chrome 1634 } // namespace chrome
OLDNEW
« no previous file with comments | « chrome/browser/chrome_content_browser_client.h ('k') | chrome/browser/extensions/extension_browsertests_misc.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698