| 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 151 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 162 const base::string16& name, | 162 const base::string16& name, |
| 163 content::ResourceContext* context, | 163 content::ResourceContext* context, |
| 164 const std::vector<std::pair<int, int>>& render_frames) override; | 164 const std::vector<std::pair<int, int>>& render_frames) override; |
| 165 | 165 |
| 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 bool AllowKeygen(const GURL& url, content::ResourceContext* context) override; |
| 173 |
| 172 net::URLRequestContext* OverrideRequestContextForURL( | 174 net::URLRequestContext* OverrideRequestContextForURL( |
| 173 const GURL& url, | 175 const GURL& url, |
| 174 content::ResourceContext* context) override; | 176 content::ResourceContext* context) override; |
| 175 content::QuotaPermissionContext* CreateQuotaPermissionContext() override; | 177 content::QuotaPermissionContext* CreateQuotaPermissionContext() override; |
| 176 scoped_ptr<storage::QuotaEvictionPolicy> GetTemporaryStorageEvictionPolicy( | 178 scoped_ptr<storage::QuotaEvictionPolicy> GetTemporaryStorageEvictionPolicy( |
| 177 content::BrowserContext* context) override; | 179 content::BrowserContext* context) override; |
| 178 void AllowCertificateError( | 180 void AllowCertificateError( |
| 179 int render_process_id, | 181 int render_process_id, |
| 180 int render_frame_id, | 182 int render_frame_id, |
| 181 int cert_error, | 183 int cert_error, |
| (...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 340 // Vector of additional ChromeContentBrowserClientParts. | 342 // Vector of additional ChromeContentBrowserClientParts. |
| 341 // Parts are deleted in the reverse order they are added. | 343 // Parts are deleted in the reverse order they are added. |
| 342 std::vector<ChromeContentBrowserClientParts*> extra_parts_; | 344 std::vector<ChromeContentBrowserClientParts*> extra_parts_; |
| 343 | 345 |
| 344 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_; | 346 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_; |
| 345 | 347 |
| 346 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); | 348 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); |
| 347 }; | 349 }; |
| 348 | 350 |
| 349 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ | 351 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ |
| OLD | NEW |