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

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

Issue 9566035: Move QuotaPermissionContext to content/public/browser and put it in the content namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 9 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 122 matching lines...) Expand 10 before | Expand all | Expand 10 after
133 #include "content/browser/tab_contents/web_contents_view_android.h" 133 #include "content/browser/tab_contents/web_contents_view_android.h"
134 #endif 134 #endif
135 135
136 #if defined(USE_NSS) 136 #if defined(USE_NSS)
137 #include "chrome/browser/ui/crypto_module_password_dialog.h" 137 #include "chrome/browser/ui/crypto_module_password_dialog.h"
138 #endif 138 #endif
139 139
140 using content::AccessTokenStore; 140 using content::AccessTokenStore;
141 using content::BrowserThread; 141 using content::BrowserThread;
142 using content::ChildProcessSecurityPolicy; 142 using content::ChildProcessSecurityPolicy;
143 using content::QuotaPermissionContext;
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 1377 matching lines...) Expand 10 before | Expand all | Expand 10 after
1530 #if defined(USE_NSS) 1531 #if defined(USE_NSS)
1531 crypto::CryptoModuleBlockingPasswordDelegate* 1532 crypto::CryptoModuleBlockingPasswordDelegate*
1532 ChromeContentBrowserClient::GetCryptoPasswordDelegate( 1533 ChromeContentBrowserClient::GetCryptoPasswordDelegate(
1533 const GURL& url) { 1534 const GURL& url) {
1534 return browser::NewCryptoModuleBlockingDialogDelegate( 1535 return browser::NewCryptoModuleBlockingDialogDelegate(
1535 browser::kCryptoModulePasswordKeygen, url.host()); 1536 browser::kCryptoModulePasswordKeygen, url.host());
1536 } 1537 }
1537 #endif 1538 #endif
1538 1539
1539 } // namespace chrome 1540 } // namespace chrome
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698