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 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
127 virtual bool AllowSetCookie(const GURL& url, | 127 virtual bool AllowSetCookie(const GURL& url, |
128 const GURL& first_party, | 128 const GURL& first_party, |
129 const std::string& cookie_line, | 129 const std::string& cookie_line, |
130 content::ResourceContext* context, | 130 content::ResourceContext* context, |
131 int render_process_id, | 131 int render_process_id, |
132 int render_view_id, | 132 int render_view_id, |
133 net::CookieOptions* options) OVERRIDE; | 133 net::CookieOptions* options) OVERRIDE; |
134 virtual bool AllowSaveLocalState(content::ResourceContext* context) OVERRIDE; | 134 virtual bool AllowSaveLocalState(content::ResourceContext* context) OVERRIDE; |
135 virtual bool AllowWorkerDatabase( | 135 virtual bool AllowWorkerDatabase( |
136 const GURL& url, | 136 const GURL& url, |
137 const string16& name, | 137 const base::string16& name, |
138 const string16& display_name, | 138 const base::string16& display_name, |
139 unsigned long estimated_size, | 139 unsigned long estimated_size, |
140 content::ResourceContext* context, | 140 content::ResourceContext* context, |
141 const std::vector<std::pair<int, int> >& render_views) OVERRIDE; | 141 const std::vector<std::pair<int, int> >& render_views) OVERRIDE; |
142 virtual bool AllowWorkerFileSystem( | 142 virtual bool AllowWorkerFileSystem( |
143 const GURL& url, | 143 const GURL& url, |
144 content::ResourceContext* context, | 144 content::ResourceContext* context, |
145 const std::vector<std::pair<int, int> >& render_views) OVERRIDE; | 145 const std::vector<std::pair<int, int> >& render_views) OVERRIDE; |
146 virtual bool AllowWorkerIndexedDB( | 146 virtual bool AllowWorkerIndexedDB( |
147 const GURL& url, | 147 const GURL& url, |
148 const string16& name, | 148 const base::string16& name, |
149 content::ResourceContext* context, | 149 content::ResourceContext* context, |
150 const std::vector<std::pair<int, int> >& render_views) OVERRIDE; | 150 const std::vector<std::pair<int, int> >& render_views) OVERRIDE; |
151 virtual net::URLRequestContext* OverrideRequestContextForURL( | 151 virtual net::URLRequestContext* OverrideRequestContextForURL( |
152 const GURL& url, content::ResourceContext* context) OVERRIDE; | 152 const GURL& url, content::ResourceContext* context) OVERRIDE; |
153 virtual content::QuotaPermissionContext* | 153 virtual content::QuotaPermissionContext* |
154 CreateQuotaPermissionContext() OVERRIDE; | 154 CreateQuotaPermissionContext() OVERRIDE; |
155 virtual void AllowCertificateError( | 155 virtual void AllowCertificateError( |
156 int render_process_id, | 156 int render_process_id, |
157 int render_view_id, | 157 int render_view_id, |
158 int cert_error, | 158 int cert_error, |
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
281 #endif | 281 #endif |
282 scoped_ptr<extensions::BrowserPermissionsPolicyDelegate> | 282 scoped_ptr<extensions::BrowserPermissionsPolicyDelegate> |
283 permissions_policy_delegate_; | 283 permissions_policy_delegate_; |
284 | 284 |
285 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); | 285 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); |
286 }; | 286 }; |
287 | 287 |
288 } // namespace chrome | 288 } // namespace chrome |
289 | 289 |
290 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ | 290 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ |
OLD | NEW |