| 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 146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 338 #endif | 346 #endif |
| 339 | 347 |
| 340 #if defined(USE_NSS) | 348 #if defined(USE_NSS) |
| 341 crypto::CryptoModuleBlockingPasswordDelegate* | 349 crypto::CryptoModuleBlockingPasswordDelegate* |
| 342 ShellContentBrowserClient::GetCryptoPasswordDelegate(const GURL& url) { | 350 ShellContentBrowserClient::GetCryptoPasswordDelegate(const GURL& url) { |
| 343 return NULL; | 351 return NULL; |
| 344 } | 352 } |
| 345 #endif | 353 #endif |
| 346 | 354 |
| 347 } // namespace content | 355 } // namespace content |
| OLD | NEW |