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/shell/shell_content_browser_client.h" | 5 #include "content/shell/shell_content_browser_client.h" |
6 | 6 |
7 #include "base/command_line.h" | 7 #include "base/command_line.h" |
8 #include "base/file_path.h" | 8 #include "base/file_path.h" |
9 #include "content/shell/shell.h" | 9 #include "content/shell/shell.h" |
10 #include "content/shell/shell_browser_main.h" | 10 #include "content/shell/shell_browser_main.h" |
(...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
172 return true; | 172 return true; |
173 } | 173 } |
174 | 174 |
175 bool ShellContentBrowserClient::AllowWorkerFileSystem( | 175 bool ShellContentBrowserClient::AllowWorkerFileSystem( |
176 const GURL& url, | 176 const GURL& url, |
177 content::ResourceContext* context, | 177 content::ResourceContext* context, |
178 const std::vector<std::pair<int, int> >& render_views) { | 178 const std::vector<std::pair<int, int> >& render_views) { |
179 return true; | 179 return true; |
180 } | 180 } |
181 | 181 |
| 182 bool ShellContentBrowserClient::AllowWorkerIndexedDB( |
| 183 const GURL& url, |
| 184 const string16& name, |
| 185 content::ResourceContext* context, |
| 186 const std::vector<std::pair<int, int> >& render_views) { |
| 187 return true; |
| 188 } |
| 189 |
182 QuotaPermissionContext* | 190 QuotaPermissionContext* |
183 ShellContentBrowserClient::CreateQuotaPermissionContext() { | 191 ShellContentBrowserClient::CreateQuotaPermissionContext() { |
184 return NULL; | 192 return NULL; |
185 } | 193 } |
186 | 194 |
187 net::URLRequestContext* ShellContentBrowserClient::OverrideRequestContextForURL( | 195 net::URLRequestContext* ShellContentBrowserClient::OverrideRequestContextForURL( |
188 const GURL& url, content::ResourceContext* context) { | 196 const GURL& url, content::ResourceContext* context) { |
189 return NULL; | 197 return NULL; |
190 } | 198 } |
191 | 199 |
(...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
342 #endif | 350 #endif |
343 | 351 |
344 #if defined(USE_NSS) | 352 #if defined(USE_NSS) |
345 crypto::CryptoModuleBlockingPasswordDelegate* | 353 crypto::CryptoModuleBlockingPasswordDelegate* |
346 ShellContentBrowserClient::GetCryptoPasswordDelegate(const GURL& url) { | 354 ShellContentBrowserClient::GetCryptoPasswordDelegate(const GURL& url) { |
347 return NULL; | 355 return NULL; |
348 } | 356 } |
349 #endif | 357 #endif |
350 | 358 |
351 } // namespace content | 359 } // namespace content |
OLD | NEW |