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 #include "content/public/browser/content_browser_client.h" | 5 #include "content/public/browser/content_browser_client.h" |
6 | 6 |
7 #include "base/files/file_path.h" | 7 #include "base/files/file_path.h" |
8 #include "ui/gfx/image/image_skia.h" | 8 #include "ui/gfx/image/image_skia.h" |
9 #include "url/gurl.h" | 9 #include "url/gurl.h" |
10 | 10 |
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
134 net::CookieOptions* options) { | 134 net::CookieOptions* options) { |
135 return true; | 135 return true; |
136 } | 136 } |
137 | 137 |
138 bool ContentBrowserClient::AllowSaveLocalState(ResourceContext* context) { | 138 bool ContentBrowserClient::AllowSaveLocalState(ResourceContext* context) { |
139 return true; | 139 return true; |
140 } | 140 } |
141 | 141 |
142 bool ContentBrowserClient::AllowWorkerDatabase( | 142 bool ContentBrowserClient::AllowWorkerDatabase( |
143 const GURL& url, | 143 const GURL& url, |
144 const string16& name, | 144 const base::string16& name, |
145 const string16& display_name, | 145 const base::string16& display_name, |
146 unsigned long estimated_size, | 146 unsigned long estimated_size, |
147 ResourceContext* context, | 147 ResourceContext* context, |
148 const std::vector<std::pair<int, int> >& render_views) { | 148 const std::vector<std::pair<int, int> >& render_views) { |
149 return true; | 149 return true; |
150 } | 150 } |
151 | 151 |
152 bool ContentBrowserClient::AllowWorkerFileSystem( | 152 bool ContentBrowserClient::AllowWorkerFileSystem( |
153 const GURL& url, | 153 const GURL& url, |
154 ResourceContext* context, | 154 ResourceContext* context, |
155 const std::vector<std::pair<int, int> >& render_views) { | 155 const std::vector<std::pair<int, int> >& render_views) { |
156 return true; | 156 return true; |
157 } | 157 } |
158 | 158 |
159 bool ContentBrowserClient::AllowWorkerIndexedDB( | 159 bool ContentBrowserClient::AllowWorkerIndexedDB( |
160 const GURL& url, | 160 const GURL& url, |
161 const string16& name, | 161 const base::string16& name, |
162 ResourceContext* context, | 162 ResourceContext* context, |
163 const std::vector<std::pair<int, int> >& render_views) { | 163 const std::vector<std::pair<int, int> >& render_views) { |
164 return true; | 164 return true; |
165 } | 165 } |
166 | 166 |
167 QuotaPermissionContext* ContentBrowserClient::CreateQuotaPermissionContext() { | 167 QuotaPermissionContext* ContentBrowserClient::CreateQuotaPermissionContext() { |
168 return NULL; | 168 return NULL; |
169 } | 169 } |
170 | 170 |
171 net::URLRequestContext* ContentBrowserClient::OverrideRequestContextForURL( | 171 net::URLRequestContext* ContentBrowserClient::OverrideRequestContextForURL( |
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
305 } | 305 } |
306 #endif | 306 #endif |
307 | 307 |
308 bool ContentBrowserClient::IsPluginAllowedToCallRequestOSFileHandle( | 308 bool ContentBrowserClient::IsPluginAllowedToCallRequestOSFileHandle( |
309 content::BrowserContext* browser_context, | 309 content::BrowserContext* browser_context, |
310 const GURL& url) { | 310 const GURL& url) { |
311 return false; | 311 return false; |
312 } | 312 } |
313 | 313 |
314 } // namespace content | 314 } // namespace content |
OLD | NEW |