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 160 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
171 | 171 |
172 bool AllowKeygen(const GURL& url, content::ResourceContext* context) override; | 172 bool AllowKeygen(const GURL& url, content::ResourceContext* context) override; |
173 | 173 |
174 net::URLRequestContext* OverrideRequestContextForURL( | 174 net::URLRequestContext* OverrideRequestContextForURL( |
175 const GURL& url, | 175 const GURL& url, |
176 content::ResourceContext* context) override; | 176 content::ResourceContext* context) override; |
177 content::QuotaPermissionContext* CreateQuotaPermissionContext() override; | 177 content::QuotaPermissionContext* CreateQuotaPermissionContext() override; |
178 scoped_ptr<storage::QuotaEvictionPolicy> GetTemporaryStorageEvictionPolicy( | 178 scoped_ptr<storage::QuotaEvictionPolicy> GetTemporaryStorageEvictionPolicy( |
179 content::BrowserContext* context) override; | 179 content::BrowserContext* context) override; |
180 void AllowCertificateError( | 180 void AllowCertificateError( |
181 int render_process_id, | 181 content::WebContents* web_contents, |
182 int render_frame_id, | |
183 int cert_error, | 182 int cert_error, |
184 const net::SSLInfo& ssl_info, | 183 const net::SSLInfo& ssl_info, |
185 const GURL& request_url, | 184 const GURL& request_url, |
186 content::ResourceType resource_type, | 185 content::ResourceType resource_type, |
187 bool overridable, | 186 bool overridable, |
188 bool strict_enforcement, | 187 bool strict_enforcement, |
189 bool expired_previous_decision, | 188 bool expired_previous_decision, |
190 const base::Callback<void(bool)>& callback, | 189 const base::Callback<void(bool)>& callback, |
191 content::CertificateRequestResultType* request) override; | 190 content::CertificateRequestResultType* request) override; |
192 void SelectClientCertificate( | 191 void SelectClientCertificate( |
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
342 // Vector of additional ChromeContentBrowserClientParts. | 341 // Vector of additional ChromeContentBrowserClientParts. |
343 // Parts are deleted in the reverse order they are added. | 342 // Parts are deleted in the reverse order they are added. |
344 std::vector<ChromeContentBrowserClientParts*> extra_parts_; | 343 std::vector<ChromeContentBrowserClientParts*> extra_parts_; |
345 | 344 |
346 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_; | 345 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_; |
347 | 346 |
348 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); | 347 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); |
349 }; | 348 }; |
350 | 349 |
351 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ | 350 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ |
OLD | NEW |