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 | 7 |
8 #include <set> | 8 #include <set> |
9 #include <string> | 9 #include <string> |
10 #include <utility> | 10 #include <utility> |
(...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
164 #if defined(ENABLE_WEBRTC) | 164 #if defined(ENABLE_WEBRTC) |
165 bool AllowWebRTCIdentityCache(const GURL& url, | 165 bool AllowWebRTCIdentityCache(const GURL& url, |
166 const GURL& first_party_url, | 166 const GURL& first_party_url, |
167 content::ResourceContext* context) override; | 167 content::ResourceContext* context) override; |
168 #endif // defined(ENABLE_WEBRTC) | 168 #endif // defined(ENABLE_WEBRTC) |
169 | 169 |
170 net::URLRequestContext* OverrideRequestContextForURL( | 170 net::URLRequestContext* OverrideRequestContextForURL( |
171 const GURL& url, | 171 const GURL& url, |
172 content::ResourceContext* context) override; | 172 content::ResourceContext* context) override; |
173 content::QuotaPermissionContext* CreateQuotaPermissionContext() override; | 173 content::QuotaPermissionContext* CreateQuotaPermissionContext() override; |
174 void AddQuotaEvictionPolicies(content::BrowserContext* context, | |
dominickn
2015/09/24 00:53:42
Nit: can there be multiple policies added/active?
calamity
2015/10/26 03:01:57
Not anymore. Changed.
| |
175 storage::QuotaManager* quota_manager) override; | |
174 void AllowCertificateError( | 176 void AllowCertificateError( |
175 int render_process_id, | 177 int render_process_id, |
176 int render_frame_id, | 178 int render_frame_id, |
177 int cert_error, | 179 int cert_error, |
178 const net::SSLInfo& ssl_info, | 180 const net::SSLInfo& ssl_info, |
179 const GURL& request_url, | 181 const GURL& request_url, |
180 content::ResourceType resource_type, | 182 content::ResourceType resource_type, |
181 bool overridable, | 183 bool overridable, |
182 bool strict_enforcement, | 184 bool strict_enforcement, |
183 bool expired_previous_decision, | 185 bool expired_previous_decision, |
(...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
331 // Vector of additional ChromeContentBrowserClientParts. | 333 // Vector of additional ChromeContentBrowserClientParts. |
332 // Parts are deleted in the reverse order they are added. | 334 // Parts are deleted in the reverse order they are added. |
333 std::vector<ChromeContentBrowserClientParts*> extra_parts_; | 335 std::vector<ChromeContentBrowserClientParts*> extra_parts_; |
334 | 336 |
335 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_; | 337 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_; |
336 | 338 |
337 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); | 339 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); |
338 }; | 340 }; |
339 | 341 |
340 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ | 342 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ |
OLD | NEW |