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 <set> | 9 #include <set> |
10 #include <string> | 10 #include <string> |
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
71 const GURL& url, | 71 const GURL& url, |
72 const string16& name, | 72 const string16& name, |
73 const string16& display_name, | 73 const string16& display_name, |
74 unsigned long estimated_size, | 74 unsigned long estimated_size, |
75 content::ResourceContext* context, | 75 content::ResourceContext* context, |
76 const std::vector<std::pair<int, int> >& render_views) OVERRIDE; | 76 const std::vector<std::pair<int, int> >& render_views) OVERRIDE; |
77 virtual bool AllowWorkerFileSystem( | 77 virtual bool AllowWorkerFileSystem( |
78 const GURL& url, | 78 const GURL& url, |
79 content::ResourceContext* context, | 79 content::ResourceContext* context, |
80 const std::vector<std::pair<int, int> >& render_views) OVERRIDE; | 80 const std::vector<std::pair<int, int> >& render_views) OVERRIDE; |
| 81 virtual bool AllowWorkerIndexedDB( |
| 82 const GURL& url, |
| 83 const string16& name, |
| 84 content::ResourceContext* context, |
| 85 const std::vector<std::pair<int, int> >& render_views) OVERRIDE; |
81 virtual net::URLRequestContext* OverrideRequestContextForURL( | 86 virtual net::URLRequestContext* OverrideRequestContextForURL( |
82 const GURL& url, content::ResourceContext* context) OVERRIDE; | 87 const GURL& url, content::ResourceContext* context) OVERRIDE; |
83 virtual QuotaPermissionContext* CreateQuotaPermissionContext() OVERRIDE; | 88 virtual QuotaPermissionContext* CreateQuotaPermissionContext() OVERRIDE; |
84 virtual void OpenItem(const FilePath& path) OVERRIDE; | 89 virtual void OpenItem(const FilePath& path) OVERRIDE; |
85 virtual void ShowItemInFolder(const FilePath& path) OVERRIDE; | 90 virtual void ShowItemInFolder(const FilePath& path) OVERRIDE; |
86 virtual void AllowCertificateError( | 91 virtual void AllowCertificateError( |
87 int render_process_id, | 92 int render_process_id, |
88 int render_view_id, | 93 int render_view_id, |
89 int cert_error, | 94 int cert_error, |
90 const net::SSLInfo& ssl_info, | 95 const net::SSLInfo& ssl_info, |
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
167 private: | 172 private: |
168 // Set of origins that can use TCP/UDP private APIs from NaCl. | 173 // Set of origins that can use TCP/UDP private APIs from NaCl. |
169 std::set<std::string> allowed_socket_origins_; | 174 std::set<std::string> allowed_socket_origins_; |
170 | 175 |
171 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); | 176 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); |
172 }; | 177 }; |
173 | 178 |
174 } // namespace chrome | 179 } // namespace chrome |
175 | 180 |
176 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ | 181 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ |
OLD | NEW |