| 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 155 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 166 #if defined(ENABLE_WEBRTC) | 166 #if defined(ENABLE_WEBRTC) |
| 167 bool AllowWebRTCIdentityCache(const GURL& url, | 167 bool AllowWebRTCIdentityCache(const GURL& url, |
| 168 const GURL& first_party_url, | 168 const GURL& first_party_url, |
| 169 content::ResourceContext* context) override; | 169 content::ResourceContext* context) override; |
| 170 #endif // defined(ENABLE_WEBRTC) | 170 #endif // defined(ENABLE_WEBRTC) |
| 171 | 171 |
| 172 net::URLRequestContext* OverrideRequestContextForURL( | 172 net::URLRequestContext* OverrideRequestContextForURL( |
| 173 const GURL& url, | 173 const GURL& url, |
| 174 content::ResourceContext* context) override; | 174 content::ResourceContext* context) override; |
| 175 content::QuotaPermissionContext* CreateQuotaPermissionContext() override; | 175 content::QuotaPermissionContext* CreateQuotaPermissionContext() override; |
| 176 scoped_ptr<storage::QuotaEvictionPolicy> GetTemporaryStorageEvictionPolicy( |
| 177 content::BrowserContext* context) override; |
| 176 void AllowCertificateError( | 178 void AllowCertificateError( |
| 177 int render_process_id, | 179 int render_process_id, |
| 178 int render_frame_id, | 180 int render_frame_id, |
| 179 int cert_error, | 181 int cert_error, |
| 180 const net::SSLInfo& ssl_info, | 182 const net::SSLInfo& ssl_info, |
| 181 const GURL& request_url, | 183 const GURL& request_url, |
| 182 content::ResourceType resource_type, | 184 content::ResourceType resource_type, |
| 183 bool overridable, | 185 bool overridable, |
| 184 bool strict_enforcement, | 186 bool strict_enforcement, |
| 185 bool expired_previous_decision, | 187 bool expired_previous_decision, |
| (...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 336 // Vector of additional ChromeContentBrowserClientParts. | 338 // Vector of additional ChromeContentBrowserClientParts. |
| 337 // Parts are deleted in the reverse order they are added. | 339 // Parts are deleted in the reverse order they are added. |
| 338 std::vector<ChromeContentBrowserClientParts*> extra_parts_; | 340 std::vector<ChromeContentBrowserClientParts*> extra_parts_; |
| 339 | 341 |
| 340 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_; | 342 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_; |
| 341 | 343 |
| 342 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); | 344 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); |
| 343 }; | 345 }; |
| 344 | 346 |
| 345 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ | 347 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ |
| OLD | NEW |