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 293 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
457 | 461 |
458 bool ContentBrowserClient::ShouldRedirectDOMStorageTaskRunner() { | 462 bool ContentBrowserClient::ShouldRedirectDOMStorageTaskRunner() { |
459 return false; | 463 return false; |
460 } | 464 } |
461 | 465 |
462 bool ContentBrowserClient::RedirectNonUINonIOBrowserThreadsToTaskScheduler() { | 466 bool ContentBrowserClient::RedirectNonUINonIOBrowserThreadsToTaskScheduler() { |
463 return false; | 467 return false; |
464 } | 468 } |
465 | 469 |
466 } // namespace content | 470 } // namespace content |
OLD | NEW |