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 | |
171 std::string ContentBrowserClient::GetStoragePartitionIdForSite( | 166 std::string ContentBrowserClient::GetStoragePartitionIdForSite( |
172 BrowserContext* browser_context, | 167 BrowserContext* browser_context, |
173 const GURL& site) { | 168 const GURL& site) { |
174 return std::string(); | 169 return std::string(); |
175 } | 170 } |
176 | 171 |
177 bool ContentBrowserClient::IsValidStoragePartitionId( | 172 bool ContentBrowserClient::IsValidStoragePartitionId( |
178 BrowserContext* browser_context, | 173 BrowserContext* browser_context, |
179 const std::string& partition_id) { | 174 const std::string& partition_id) { |
180 // Since the GetStoragePartitionIdForChildProcess() only generates empty | 175 // Since the GetStoragePartitionIdForChildProcess() only generates empty |
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
289 #endif | 284 #endif |
290 | 285 |
291 #if defined(USE_NSS) | 286 #if defined(USE_NSS) |
292 crypto::CryptoModuleBlockingPasswordDelegate* | 287 crypto::CryptoModuleBlockingPasswordDelegate* |
293 ContentBrowserClient::GetCryptoPasswordDelegate(const GURL& url) { | 288 ContentBrowserClient::GetCryptoPasswordDelegate(const GURL& url) { |
294 return NULL; | 289 return NULL; |
295 } | 290 } |
296 #endif | 291 #endif |
297 | 292 |
298 } // namespace content | 293 } // namespace content |
OLD | NEW |