| 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 3592 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3603 return variations::GetVariationParamValue( | 3603 return variations::GetVariationParamValue( |
| 3604 "BrowserScheduler", "RedirectDOMStorageTaskRunner") == "true"; | 3604 "BrowserScheduler", "RedirectDOMStorageTaskRunner") == "true"; |
| 3605 } | 3605 } |
| 3606 | 3606 |
| 3607 bool ChromeContentBrowserClient:: | 3607 bool ChromeContentBrowserClient:: |
| 3608 RedirectNonUINonIOBrowserThreadsToTaskScheduler() { | 3608 RedirectNonUINonIOBrowserThreadsToTaskScheduler() { |
| 3609 return variations::GetVariationParamValue( | 3609 return variations::GetVariationParamValue( |
| 3610 "BrowserScheduler", "RedirectNonUINonIOBrowserThreads") == "true"; | 3610 "BrowserScheduler", "RedirectNonUINonIOBrowserThreads") == "true"; |
| 3611 } | 3611 } |
| 3612 | 3612 |
| 3613 base::FilePath ChromeContentBrowserClient::GetLoggingFileName() { |
| 3614 return logging::GetLogFileName(); |
| 3615 } |
| 3616 |
| 3613 // static | 3617 // static |
| 3614 void ChromeContentBrowserClient::SetDefaultQuotaSettingsForTesting( | 3618 void ChromeContentBrowserClient::SetDefaultQuotaSettingsForTesting( |
| 3615 const storage::QuotaSettings* settings) { | 3619 const storage::QuotaSettings* settings) { |
| 3616 g_default_quota_settings = settings; | 3620 g_default_quota_settings = settings; |
| 3617 } | 3621 } |
| OLD | NEW |