| 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 CONTENT_SHELL_SHELL_CONTENT_BROWSER_CLIENT_H_ | 5 #ifndef CONTENT_SHELL_SHELL_CONTENT_BROWSER_CLIENT_H_ |
| 6 #define CONTENT_SHELL_SHELL_CONTENT_BROWSER_CLIENT_H_ | 6 #define CONTENT_SHELL_SHELL_CONTENT_BROWSER_CLIENT_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| (...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 67 virtual bool AllowSetCookie(const GURL& url, | 67 virtual bool AllowSetCookie(const GURL& url, |
| 68 const GURL& first_party, | 68 const GURL& first_party, |
| 69 const std::string& cookie_line, | 69 const std::string& cookie_line, |
| 70 const content::ResourceContext& context, | 70 const content::ResourceContext& context, |
| 71 int render_process_id, | 71 int render_process_id, |
| 72 int render_view_id, | 72 int render_view_id, |
| 73 net::CookieOptions* options) OVERRIDE; | 73 net::CookieOptions* options) OVERRIDE; |
| 74 virtual bool AllowSaveLocalState( | 74 virtual bool AllowSaveLocalState( |
| 75 const content::ResourceContext& context) OVERRIDE; | 75 const content::ResourceContext& context) OVERRIDE; |
| 76 virtual bool AllowWorkerDatabase( | 76 virtual bool AllowWorkerDatabase( |
| 77 int worker_route_id, | |
| 78 const GURL& url, | 77 const GURL& url, |
| 79 const string16& name, | 78 const string16& name, |
| 80 const string16& display_name, | 79 const string16& display_name, |
| 81 unsigned long estimated_size, | 80 unsigned long estimated_size, |
| 82 WorkerProcessHost* worker_process_host) OVERRIDE; | 81 const content::ResourceContext& context, |
| 82 const std::vector<std::pair<int, int> >& render_views) OVERRIDE; |
| 83 virtual bool AllowWorkerFileSystem( | 83 virtual bool AllowWorkerFileSystem( |
| 84 int worker_route_id, | |
| 85 const GURL& url, | 84 const GURL& url, |
| 86 WorkerProcessHost* worker_process_host) OVERRIDE; | 85 const content::ResourceContext& context, |
| 86 const std::vector<std::pair<int, int> >& render_views) OVERRIDE; |
| 87 virtual net::URLRequestContext* OverrideRequestContextForURL( | 87 virtual net::URLRequestContext* OverrideRequestContextForURL( |
| 88 const GURL& url, const content::ResourceContext& context) OVERRIDE; | 88 const GURL& url, const content::ResourceContext& context) OVERRIDE; |
| 89 virtual QuotaPermissionContext* CreateQuotaPermissionContext() OVERRIDE; | 89 virtual QuotaPermissionContext* CreateQuotaPermissionContext() OVERRIDE; |
| 90 virtual void OpenItem(const FilePath& path) OVERRIDE; | 90 virtual void OpenItem(const FilePath& path) OVERRIDE; |
| 91 virtual void ShowItemInFolder(const FilePath& path) OVERRIDE; | 91 virtual void ShowItemInFolder(const FilePath& path) OVERRIDE; |
| 92 virtual void AllowCertificateError( | 92 virtual void AllowCertificateError( |
| 93 SSLCertErrorHandler* handler, | 93 SSLCertErrorHandler* handler, |
| 94 bool overridable, | 94 bool overridable, |
| 95 const base::Callback<void(SSLCertErrorHandler*, bool)>& callback) | 95 const base::Callback<void(SSLCertErrorHandler*, bool)>& callback) |
| 96 OVERRIDE; | 96 OVERRIDE; |
| (...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 161 const GURL& url) OVERRIDE; | 161 const GURL& url) OVERRIDE; |
| 162 #endif | 162 #endif |
| 163 | 163 |
| 164 private: | 164 private: |
| 165 ShellBrowserMainParts* shell_browser_main_parts_; | 165 ShellBrowserMainParts* shell_browser_main_parts_; |
| 166 }; | 166 }; |
| 167 | 167 |
| 168 } // namespace content | 168 } // namespace content |
| 169 | 169 |
| 170 #endif // CONTENT_SHELL_SHELL_CONTENT_BROWSER_CLIENT_H_ | 170 #endif // CONTENT_SHELL_SHELL_CONTENT_BROWSER_CLIENT_H_ |
| OLD | NEW |