| 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 "chrome/browser/chrome_content_browser_client.h" | 5 #include "chrome/browser/chrome_content_browser_client.h" |
| 6 | 6 |
| 7 #include <map> | 7 #include <map> |
| 8 #include <set> | 8 #include <set> |
| 9 #include <utility> | 9 #include <utility> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 3214 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3225 kWebRtcDevSwitchNames, | 3225 kWebRtcDevSwitchNames, |
| 3226 arraysize(kWebRtcDevSwitchNames)); | 3226 arraysize(kWebRtcDevSwitchNames)); |
| 3227 } | 3227 } |
| 3228 } | 3228 } |
| 3229 #endif // defined(ENABLE_WEBRTC) | 3229 #endif // defined(ENABLE_WEBRTC) |
| 3230 | 3230 |
| 3231 std::unique_ptr<content::MemoryCoordinatorDelegate> | 3231 std::unique_ptr<content::MemoryCoordinatorDelegate> |
| 3232 ChromeContentBrowserClient::GetMemoryCoordinatorDelegate() { | 3232 ChromeContentBrowserClient::GetMemoryCoordinatorDelegate() { |
| 3233 return memory::ChromeMemoryCoordinatorDelegate::Create(); | 3233 return memory::ChromeMemoryCoordinatorDelegate::Create(); |
| 3234 } | 3234 } |
| 3235 |
| 3236 bool ChromeContentBrowserClient:: |
| 3237 RedirectNonUINonIOBrowserThreadsToTaskScheduler() { |
| 3238 return variations::GetVariationParamValue( |
| 3239 "BrowserScheduler", "RedirectNonUINonIOBrowserThreads") == "true"; |
| 3240 } |
| OLD | NEW |