| 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 1580 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1591 | 1591 |
| 1592 RecordYouTubeRewriteUMA(result); | 1592 RecordYouTubeRewriteUMA(result); |
| 1593 return corrected_url.ReplaceComponents(r); | 1593 return corrected_url.ReplaceComponents(r); |
| 1594 } | 1594 } |
| 1595 | 1595 |
| 1596 std::unique_ptr<base::TaskScheduler::InitParams> | 1596 std::unique_ptr<base::TaskScheduler::InitParams> |
| 1597 ChromeContentRendererClient::GetTaskSchedulerInitParams() { | 1597 ChromeContentRendererClient::GetTaskSchedulerInitParams() { |
| 1598 return task_scheduler_util:: | 1598 return task_scheduler_util:: |
| 1599 GetRendererTaskSchedulerInitParamsFromCommandLine(); | 1599 GetRendererTaskSchedulerInitParamsFromCommandLine(); |
| 1600 } | 1600 } |
| 1601 |
| 1602 blink::WebFrame* ChromeContentRendererClient::FindFrame( |
| 1603 blink::WebLocalFrame* relative_to_frame, |
| 1604 const std::string& name) { |
| 1605 #if BUILDFLAG(ENABLE_EXTENSIONS) |
| 1606 return ChromeExtensionsRendererClient::FindFrame(relative_to_frame, name); |
| 1607 #else |
| 1608 return nullptr; |
| 1609 #endif // BUILDFLAG(ENABLE_EXTENSIONS) |
| 1610 } |
| OLD | NEW |