| 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 <stddef.h> | 8 #include <stddef.h> |
| 9 | 9 |
| 10 #include <set> | 10 #include <set> |
| (...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 161 content::ResourceContext* context, | 161 content::ResourceContext* context, |
| 162 const std::vector<std::pair<int, int>>& render_frames) override; | 162 const std::vector<std::pair<int, int>>& render_frames) override; |
| 163 | 163 |
| 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 bool AllowKeygen(const GURL& url, content::ResourceContext* context) override; | 170 bool AllowKeygen(const GURL& url, content::ResourceContext* context) override; |
| 171 bool AllowWebBluetooth(content::BrowserContext* browser_context, | 171 AllowWebBluetoothResult AllowWebBluetooth( |
| 172 const url::Origin& requesting_origin, | 172 content::BrowserContext* browser_context, |
| 173 const url::Origin& embedding_origin) override; | 173 const url::Origin& requesting_origin, |
| 174 const url::Origin& embedding_origin) override; |
| 174 | 175 |
| 175 net::URLRequestContext* OverrideRequestContextForURL( | 176 net::URLRequestContext* OverrideRequestContextForURL( |
| 176 const GURL& url, | 177 const GURL& url, |
| 177 content::ResourceContext* context) override; | 178 content::ResourceContext* context) override; |
| 178 content::QuotaPermissionContext* CreateQuotaPermissionContext() override; | 179 content::QuotaPermissionContext* CreateQuotaPermissionContext() override; |
| 179 scoped_ptr<storage::QuotaEvictionPolicy> GetTemporaryStorageEvictionPolicy( | 180 scoped_ptr<storage::QuotaEvictionPolicy> GetTemporaryStorageEvictionPolicy( |
| 180 content::BrowserContext* context) override; | 181 content::BrowserContext* context) override; |
| 181 void AllowCertificateError( | 182 void AllowCertificateError( |
| 182 content::WebContents* web_contents, | 183 content::WebContents* web_contents, |
| 183 int cert_error, | 184 int cert_error, |
| (...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 347 // Vector of additional ChromeContentBrowserClientParts. | 348 // Vector of additional ChromeContentBrowserClientParts. |
| 348 // Parts are deleted in the reverse order they are added. | 349 // Parts are deleted in the reverse order they are added. |
| 349 std::vector<ChromeContentBrowserClientParts*> extra_parts_; | 350 std::vector<ChromeContentBrowserClientParts*> extra_parts_; |
| 350 | 351 |
| 351 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_; | 352 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_; |
| 352 | 353 |
| 353 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); | 354 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); |
| 354 }; | 355 }; |
| 355 | 356 |
| 356 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ | 357 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ |
| OLD | NEW |