| 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 <utility> | 7 #include <utility> |
| 8 | 8 |
| 9 #include "base/files/file_path.h" | 9 #include "base/files/file_path.h" |
| 10 #include "base/guid.h" | 10 #include "base/guid.h" |
| (...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 144 | 144 |
| 145 std::string ContentBrowserClient::GetAcceptLangs(BrowserContext* context) { | 145 std::string ContentBrowserClient::GetAcceptLangs(BrowserContext* context) { |
| 146 return std::string(); | 146 return std::string(); |
| 147 } | 147 } |
| 148 | 148 |
| 149 const gfx::ImageSkia* ContentBrowserClient::GetDefaultFavicon() { | 149 const gfx::ImageSkia* ContentBrowserClient::GetDefaultFavicon() { |
| 150 static gfx::ImageSkia* empty = new gfx::ImageSkia(); | 150 static gfx::ImageSkia* empty = new gfx::ImageSkia(); |
| 151 return empty; | 151 return empty; |
| 152 } | 152 } |
| 153 | 153 |
| 154 base::FilePath ContentBrowserClient::GetLoggingFileName() { |
| 155 return base::FilePath(); |
| 156 } |
| 157 |
| 154 bool ContentBrowserClient::AllowAppCache(const GURL& manifest_url, | 158 bool ContentBrowserClient::AllowAppCache(const GURL& manifest_url, |
| 155 const GURL& first_party, | 159 const GURL& first_party, |
| 156 ResourceContext* context) { | 160 ResourceContext* context) { |
| 157 return true; | 161 return true; |
| 158 } | 162 } |
| 159 | 163 |
| 160 bool ContentBrowserClient::AllowServiceWorker( | 164 bool ContentBrowserClient::AllowServiceWorker( |
| 161 const GURL& scope, | 165 const GURL& scope, |
| 162 const GURL& first_party, | 166 const GURL& first_party, |
| 163 ResourceContext* context, | 167 ResourceContext* context, |
| (...skipping 285 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 449 ::rappor::RapporService* ContentBrowserClient::GetRapporService() { | 453 ::rappor::RapporService* ContentBrowserClient::GetRapporService() { |
| 450 return nullptr; | 454 return nullptr; |
| 451 } | 455 } |
| 452 | 456 |
| 453 std::unique_ptr<base::TaskScheduler::InitParams> | 457 std::unique_ptr<base::TaskScheduler::InitParams> |
| 454 ContentBrowserClient::GetTaskSchedulerInitParams() { | 458 ContentBrowserClient::GetTaskSchedulerInitParams() { |
| 455 return nullptr; | 459 return nullptr; |
| 456 } | 460 } |
| 457 | 461 |
| 458 } // namespace content | 462 } // namespace content |
| OLD | NEW |