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 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
82 content::ResourceContext* context, | 82 content::ResourceContext* context, |
83 int render_process_id, | 83 int render_process_id, |
84 int render_view_id) OVERRIDE; | 84 int render_view_id) OVERRIDE; |
85 virtual bool AllowSetCookie(const GURL& url, | 85 virtual bool AllowSetCookie(const GURL& url, |
86 const GURL& first_party, | 86 const GURL& first_party, |
87 const std::string& cookie_line, | 87 const std::string& cookie_line, |
88 content::ResourceContext* context, | 88 content::ResourceContext* context, |
89 int render_process_id, | 89 int render_process_id, |
90 int render_view_id, | 90 int render_view_id, |
91 net::CookieOptions* options) OVERRIDE; | 91 net::CookieOptions* options) OVERRIDE; |
| 92 virtual bool AllowPluginLocalDataAccess( |
| 93 const GURL& document_url, |
| 94 const GURL& plugin_url, |
| 95 content::ResourceContext* context) OVERRIDE; |
| 96 virtual bool AllowPluginLocalDataSessionOnly( |
| 97 const GURL& url, |
| 98 content::ResourceContext* context) OVERRIDE; |
92 virtual bool AllowSaveLocalState(content::ResourceContext* context) OVERRIDE; | 99 virtual bool AllowSaveLocalState(content::ResourceContext* context) OVERRIDE; |
93 virtual bool AllowWorkerDatabase( | 100 virtual bool AllowWorkerDatabase( |
94 const GURL& url, | 101 const GURL& url, |
95 const string16& name, | 102 const string16& name, |
96 const string16& display_name, | 103 const string16& display_name, |
97 unsigned long estimated_size, | 104 unsigned long estimated_size, |
98 content::ResourceContext* context, | 105 content::ResourceContext* context, |
99 const std::vector<std::pair<int, int> >& render_views) OVERRIDE; | 106 const std::vector<std::pair<int, int> >& render_views) OVERRIDE; |
100 virtual bool AllowWorkerFileSystem( | 107 virtual bool AllowWorkerFileSystem( |
101 const GURL& url, | 108 const GURL& url, |
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
213 // Cached version of the locale so we can return the locale on the I/O | 220 // Cached version of the locale so we can return the locale on the I/O |
214 // thread. | 221 // thread. |
215 std::string io_thread_application_locale_; | 222 std::string io_thread_application_locale_; |
216 | 223 |
217 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); | 224 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); |
218 }; | 225 }; |
219 | 226 |
220 } // namespace chrome | 227 } // namespace chrome |
221 | 228 |
222 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ | 229 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ |
OLD | NEW |