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 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <string> | 9 #include <string> |
10 | 10 |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
57 virtual bool AllowSetCookie(const GURL& url, | 57 virtual bool AllowSetCookie(const GURL& url, |
58 const GURL& first_party, | 58 const GURL& first_party, |
59 const std::string& cookie_line, | 59 const std::string& cookie_line, |
60 const content::ResourceContext& context, | 60 const content::ResourceContext& context, |
61 int render_process_id, | 61 int render_process_id, |
62 int render_view_id, | 62 int render_view_id, |
63 net::CookieOptions* options) OVERRIDE; | 63 net::CookieOptions* options) OVERRIDE; |
64 virtual bool AllowSaveLocalState( | 64 virtual bool AllowSaveLocalState( |
65 const content::ResourceContext& context) OVERRIDE; | 65 const content::ResourceContext& context) OVERRIDE; |
66 virtual bool AllowWorkerDatabase( | 66 virtual bool AllowWorkerDatabase( |
67 int worker_route_id, | |
68 const GURL& url, | 67 const GURL& url, |
69 const string16& name, | 68 const string16& name, |
70 const string16& display_name, | 69 const string16& display_name, |
71 unsigned long estimated_size, | 70 unsigned long estimated_size, |
72 WorkerProcessHost* worker_process_host) OVERRIDE; | 71 const content::ResourceContext& context, |
| 72 const std::vector<std::pair<int, int> >& render_views) OVERRIDE; |
73 virtual bool AllowWorkerFileSystem( | 73 virtual bool AllowWorkerFileSystem( |
74 int worker_route_id, | |
75 const GURL& url, | 74 const GURL& url, |
76 WorkerProcessHost* worker_process_host) OVERRIDE; | 75 const content::ResourceContext& context, |
| 76 const std::vector<std::pair<int, int> >& render_views) OVERRIDE; |
77 virtual net::URLRequestContext* OverrideRequestContextForURL( | 77 virtual net::URLRequestContext* OverrideRequestContextForURL( |
78 const GURL& url, const content::ResourceContext& context) OVERRIDE; | 78 const GURL& url, const content::ResourceContext& context) OVERRIDE; |
79 virtual QuotaPermissionContext* CreateQuotaPermissionContext() OVERRIDE; | 79 virtual QuotaPermissionContext* CreateQuotaPermissionContext() OVERRIDE; |
80 virtual void OpenItem(const FilePath& path) OVERRIDE; | 80 virtual void OpenItem(const FilePath& path) OVERRIDE; |
81 virtual void ShowItemInFolder(const FilePath& path) OVERRIDE; | 81 virtual void ShowItemInFolder(const FilePath& path) OVERRIDE; |
82 virtual void AllowCertificateError( | 82 virtual void AllowCertificateError( |
83 SSLCertErrorHandler* handler, | 83 SSLCertErrorHandler* handler, |
84 bool overridable, | 84 bool overridable, |
85 const base::Callback<void(SSLCertErrorHandler*, bool)>& callback) | 85 const base::Callback<void(SSLCertErrorHandler*, bool)>& callback) |
86 OVERRIDE; | 86 OVERRIDE; |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
146 #if defined(USE_NSS) | 146 #if defined(USE_NSS) |
147 virtual | 147 virtual |
148 crypto::CryptoModuleBlockingPasswordDelegate* GetCryptoPasswordDelegate( | 148 crypto::CryptoModuleBlockingPasswordDelegate* GetCryptoPasswordDelegate( |
149 const GURL& url) OVERRIDE; | 149 const GURL& url) OVERRIDE; |
150 #endif | 150 #endif |
151 }; | 151 }; |
152 | 152 |
153 } // namespace chrome | 153 } // namespace chrome |
154 | 154 |
155 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ | 155 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ |
OLD | NEW |