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 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
99 content::ResourceContext* context, | 99 content::ResourceContext* context, |
100 int render_process_id, | 100 int render_process_id, |
101 int render_view_id) OVERRIDE; | 101 int render_view_id) OVERRIDE; |
102 virtual bool AllowSetCookie(const GURL& url, | 102 virtual bool AllowSetCookie(const GURL& url, |
103 const GURL& first_party, | 103 const GURL& first_party, |
104 const std::string& cookie_line, | 104 const std::string& cookie_line, |
105 content::ResourceContext* context, | 105 content::ResourceContext* context, |
106 int render_process_id, | 106 int render_process_id, |
107 int render_view_id, | 107 int render_view_id, |
108 net::CookieOptions* options) OVERRIDE; | 108 net::CookieOptions* options) OVERRIDE; |
109 virtual bool AllowPluginLocalDataAccess( | |
110 const GURL& document_url, | |
111 const GURL& plugin_url, | |
112 content::ResourceContext* context) OVERRIDE; | |
113 virtual bool AllowPluginLocalDataSessionOnly( | |
114 const GURL& url, | |
115 content::ResourceContext* context) OVERRIDE; | |
116 virtual bool AllowSaveLocalState(content::ResourceContext* context) OVERRIDE; | 109 virtual bool AllowSaveLocalState(content::ResourceContext* context) OVERRIDE; |
117 virtual bool AllowWorkerDatabase( | 110 virtual bool AllowWorkerDatabase( |
118 const GURL& url, | 111 const GURL& url, |
119 const string16& name, | 112 const string16& name, |
120 const string16& display_name, | 113 const string16& display_name, |
121 unsigned long estimated_size, | 114 unsigned long estimated_size, |
122 content::ResourceContext* context, | 115 content::ResourceContext* context, |
123 const std::vector<std::pair<int, int> >& render_views) OVERRIDE; | 116 const std::vector<std::pair<int, int> >& render_views) OVERRIDE; |
124 virtual bool AllowWorkerFileSystem( | 117 virtual bool AllowWorkerFileSystem( |
125 const GURL& url, | 118 const GURL& url, |
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
252 // Cached version of the locale so we can return the locale on the I/O | 245 // Cached version of the locale so we can return the locale on the I/O |
253 // thread. | 246 // thread. |
254 std::string io_thread_application_locale_; | 247 std::string io_thread_application_locale_; |
255 | 248 |
256 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); | 249 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); |
257 }; | 250 }; |
258 | 251 |
259 } // namespace chrome | 252 } // namespace chrome |
260 | 253 |
261 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ | 254 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ |
OLD | NEW |