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/renderer/chrome_content_renderer_client.h" | 5 #include "chrome/renderer/chrome_content_renderer_client.h" |
6 | 6 |
7 #include <memory> | 7 #include <memory> |
8 #include <utility> | 8 #include <utility> |
9 | 9 |
10 #include "base/bind.h" | 10 #include "base/bind.h" |
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
97 #include "extensions/features/features.h" | 97 #include "extensions/features/features.h" |
98 #include "ipc/ipc_sync_channel.h" | 98 #include "ipc/ipc_sync_channel.h" |
99 #include "media/media_features.h" | 99 #include "media/media_features.h" |
100 #include "net/base/net_errors.h" | 100 #include "net/base/net_errors.h" |
101 #include "ppapi/c/private/ppb_pdf.h" | 101 #include "ppapi/c/private/ppb_pdf.h" |
102 #include "ppapi/features/features.h" | 102 #include "ppapi/features/features.h" |
103 #include "ppapi/shared_impl/ppapi_switches.h" | 103 #include "ppapi/shared_impl/ppapi_switches.h" |
104 #include "printing/features/features.h" | 104 #include "printing/features/features.h" |
105 #include "services/service_manager/public/cpp/interface_provider.h" | 105 #include "services/service_manager/public/cpp/interface_provider.h" |
106 #include "third_party/WebKit/public/platform/URLConversion.h" | 106 #include "third_party/WebKit/public/platform/URLConversion.h" |
| 107 #include "third_party/WebKit/public/platform/WebCache.h" |
107 #include "third_party/WebKit/public/platform/WebCachePolicy.h" | 108 #include "third_party/WebKit/public/platform/WebCachePolicy.h" |
108 #include "third_party/WebKit/public/platform/WebSecurityOrigin.h" | 109 #include "third_party/WebKit/public/platform/WebSecurityOrigin.h" |
109 #include "third_party/WebKit/public/platform/WebURL.h" | 110 #include "third_party/WebKit/public/platform/WebURL.h" |
110 #include "third_party/WebKit/public/platform/WebURLError.h" | 111 #include "third_party/WebKit/public/platform/WebURLError.h" |
111 #include "third_party/WebKit/public/platform/WebURLRequest.h" | 112 #include "third_party/WebKit/public/platform/WebURLRequest.h" |
112 #include "third_party/WebKit/public/platform/WebURLResponse.h" | 113 #include "third_party/WebKit/public/platform/WebURLResponse.h" |
113 #include "third_party/WebKit/public/web/WebCache.h" | |
114 #include "third_party/WebKit/public/web/WebDataSource.h" | 114 #include "third_party/WebKit/public/web/WebDataSource.h" |
115 #include "third_party/WebKit/public/web/WebDocument.h" | 115 #include "third_party/WebKit/public/web/WebDocument.h" |
116 #include "third_party/WebKit/public/web/WebElement.h" | 116 #include "third_party/WebKit/public/web/WebElement.h" |
117 #include "third_party/WebKit/public/web/WebLocalFrame.h" | 117 #include "third_party/WebKit/public/web/WebLocalFrame.h" |
118 #include "third_party/WebKit/public/web/WebPluginContainer.h" | 118 #include "third_party/WebKit/public/web/WebPluginContainer.h" |
119 #include "third_party/WebKit/public/web/WebPluginParams.h" | 119 #include "third_party/WebKit/public/web/WebPluginParams.h" |
120 #include "third_party/WebKit/public/web/WebSecurityPolicy.h" | 120 #include "third_party/WebKit/public/web/WebSecurityPolicy.h" |
121 #include "ui/base/l10n/l10n_util.h" | 121 #include "ui/base/l10n/l10n_util.h" |
122 #include "ui/base/layout.h" | 122 #include "ui/base/layout.h" |
123 #include "ui/base/resource/resource_bundle.h" | 123 #include "ui/base/resource/resource_bundle.h" |
(...skipping 1386 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1510 std::vector<base::SchedulerWorkerPoolParams>* params_vector, | 1510 std::vector<base::SchedulerWorkerPoolParams>* params_vector, |
1511 base::TaskScheduler::WorkerPoolIndexForTraitsCallback* | 1511 base::TaskScheduler::WorkerPoolIndexForTraitsCallback* |
1512 index_to_traits_callback) { | 1512 index_to_traits_callback) { |
1513 DCHECK(params_vector); | 1513 DCHECK(params_vector); |
1514 DCHECK(index_to_traits_callback); | 1514 DCHECK(index_to_traits_callback); |
1515 // If this call fails, content will fall back to the default params. | 1515 // If this call fails, content will fall back to the default params. |
1516 *params_vector = task_scheduler_util::GetRendererWorkerPoolParams(); | 1516 *params_vector = task_scheduler_util::GetRendererWorkerPoolParams(); |
1517 *index_to_traits_callback = | 1517 *index_to_traits_callback = |
1518 base::Bind(&task_scheduler_util::RendererWorkerPoolIndexForTraits); | 1518 base::Bind(&task_scheduler_util::RendererWorkerPoolIndexForTraits); |
1519 } | 1519 } |
OLD | NEW |