| 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 145 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 156 const string16& name, | 156 const string16& name, |
| 157 ResourceContext* context, | 157 ResourceContext* context, |
| 158 const std::vector<std::pair<int, int> >& render_views) { | 158 const std::vector<std::pair<int, int> >& render_views) { |
| 159 return true; | 159 return true; |
| 160 } | 160 } |
| 161 | 161 |
| 162 QuotaPermissionContext* ContentBrowserClient::CreateQuotaPermissionContext() { | 162 QuotaPermissionContext* ContentBrowserClient::CreateQuotaPermissionContext() { |
| 163 return NULL; | 163 return NULL; |
| 164 } | 164 } |
| 165 | 165 |
| 166 net::URLRequestContext* ContentBrowserClient::OverrideRequestContextForURL( |
| 167 const GURL& url, ResourceContext* context) { |
| 168 return NULL; |
| 169 } |
| 170 |
| 166 std::string ContentBrowserClient::GetStoragePartitionIdForSite( | 171 std::string ContentBrowserClient::GetStoragePartitionIdForSite( |
| 167 BrowserContext* browser_context, | 172 BrowserContext* browser_context, |
| 168 const GURL& site) { | 173 const GURL& site) { |
| 169 return std::string(); | 174 return std::string(); |
| 170 } | 175 } |
| 171 | 176 |
| 172 bool ContentBrowserClient::IsValidStoragePartitionId( | 177 bool ContentBrowserClient::IsValidStoragePartitionId( |
| 173 BrowserContext* browser_context, | 178 BrowserContext* browser_context, |
| 174 const std::string& partition_id) { | 179 const std::string& partition_id) { |
| 175 // Since the GetStoragePartitionIdForChildProcess() only generates empty | 180 // Since the GetStoragePartitionIdForChildProcess() only generates empty |
| (...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 284 #endif | 289 #endif |
| 285 | 290 |
| 286 #if defined(USE_NSS) | 291 #if defined(USE_NSS) |
| 287 crypto::CryptoModuleBlockingPasswordDelegate* | 292 crypto::CryptoModuleBlockingPasswordDelegate* |
| 288 ContentBrowserClient::GetCryptoPasswordDelegate(const GURL& url) { | 293 ContentBrowserClient::GetCryptoPasswordDelegate(const GURL& url) { |
| 289 return NULL; | 294 return NULL; |
| 290 } | 295 } |
| 291 #endif | 296 #endif |
| 292 | 297 |
| 293 } // namespace content | 298 } // namespace content |
| OLD | NEW |