| 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 1044 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  1055 #endif |  1055 #endif | 
|  1056  |  1056  | 
|  1057   chrome::AddMetricsExtraParts(main_parts); |  1057   chrome::AddMetricsExtraParts(main_parts); | 
|  1058  |  1058  | 
|  1059   return main_parts; |  1059   return main_parts; | 
|  1060 } |  1060 } | 
|  1061  |  1061  | 
|  1062 void ChromeContentBrowserClient::PostAfterStartupTask( |  1062 void ChromeContentBrowserClient::PostAfterStartupTask( | 
|  1063     const tracked_objects::Location& from_here, |  1063     const tracked_objects::Location& from_here, | 
|  1064     const scoped_refptr<base::TaskRunner>& task_runner, |  1064     const scoped_refptr<base::TaskRunner>& task_runner, | 
|  1065     const base::Closure& task) { |  1065     base::Closure task) { | 
|  1066   AfterStartupTaskUtils::PostTask(from_here, task_runner, task); |  1066   AfterStartupTaskUtils::PostTask(from_here, task_runner, std::move(task)); | 
|  1067 } |  1067 } | 
|  1068  |  1068  | 
|  1069 bool ChromeContentBrowserClient::IsBrowserStartupComplete() { |  1069 bool ChromeContentBrowserClient::IsBrowserStartupComplete() { | 
|  1070   return AfterStartupTaskUtils::IsBrowserStartupComplete(); |  1070   return AfterStartupTaskUtils::IsBrowserStartupComplete(); | 
|  1071 } |  1071 } | 
|  1072  |  1072  | 
|  1073 std::string ChromeContentBrowserClient::GetStoragePartitionIdForSite( |  1073 std::string ChromeContentBrowserClient::GetStoragePartitionIdForSite( | 
|  1074     content::BrowserContext* browser_context, |  1074     content::BrowserContext* browser_context, | 
|  1075     const GURL& site) { |  1075     const GURL& site) { | 
|  1076   std::string partition_id; |  1076   std::string partition_id; | 
| (...skipping 2485 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  3562     RedirectNonUINonIOBrowserThreadsToTaskScheduler() { |  3562     RedirectNonUINonIOBrowserThreadsToTaskScheduler() { | 
|  3563   return variations::GetVariationParamValue( |  3563   return variations::GetVariationParamValue( | 
|  3564              "BrowserScheduler", "RedirectNonUINonIOBrowserThreads") == "true"; |  3564              "BrowserScheduler", "RedirectNonUINonIOBrowserThreads") == "true"; | 
|  3565 } |  3565 } | 
|  3566  |  3566  | 
|  3567 // static |  3567 // static | 
|  3568 void ChromeContentBrowserClient::SetDefaultQuotaSettingsForTesting( |  3568 void ChromeContentBrowserClient::SetDefaultQuotaSettingsForTesting( | 
|  3569     const storage::QuotaSettings* settings) { |  3569     const storage::QuotaSettings* settings) { | 
|  3570   g_default_quota_settings = settings; |  3570   g_default_quota_settings = settings; | 
|  3571 } |  3571 } | 
| OLD | NEW |