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 "content/renderer/render_thread_impl.h" | 5 #include "content/renderer/render_thread_impl.h" |
6 | 6 |
7 #include <algorithm> | 7 #include <algorithm> |
8 #include <limits> | 8 #include <limits> |
9 #include <map> | 9 #include <map> |
10 #include <utility> | 10 #include <utility> |
11 #include <vector> | 11 #include <vector> |
12 | 12 |
13 #include "base/allocator/allocator_extension.h" | 13 #include "base/allocator/allocator_extension.h" |
14 #include "base/at_exit.h" | 14 #include "base/at_exit.h" |
15 #include "base/command_line.h" | 15 #include "base/command_line.h" |
16 #include "base/debug/crash_logging.h" | 16 #include "base/debug/crash_logging.h" |
17 #include "base/lazy_instance.h" | 17 #include "base/lazy_instance.h" |
18 #include "base/logging.h" | 18 #include "base/logging.h" |
19 #include "base/macros.h" | 19 #include "base/macros.h" |
20 #include "base/memory/discardable_memory_allocator.h" | 20 #include "base/memory/discardable_memory_allocator.h" |
21 #include "base/memory/memory_coordinator_client_registry.h" | 21 #include "base/memory/memory_coordinator_client_registry.h" |
22 #include "base/memory/ptr_util.h" | 22 #include "base/memory/ptr_util.h" |
23 #include "base/memory/shared_memory.h" | 23 #include "base/memory/shared_memory.h" |
| 24 #include "base/message_loop/message_loop.h" |
24 #include "base/metrics/field_trial.h" | 25 #include "base/metrics/field_trial.h" |
25 #include "base/metrics/histogram_macros.h" | 26 #include "base/metrics/histogram_macros.h" |
26 #include "base/path_service.h" | 27 #include "base/path_service.h" |
27 #include "base/process/process_metrics.h" | 28 #include "base/process/process_metrics.h" |
28 #include "base/run_loop.h" | 29 #include "base/run_loop.h" |
29 #include "base/strings/string16.h" | 30 #include "base/strings/string16.h" |
30 #include "base/strings/string_number_conversions.h" | 31 #include "base/strings/string_number_conversions.h" |
31 #include "base/strings/string_split.h" | 32 #include "base/strings/string_split.h" |
32 #include "base/strings/sys_string_conversions.h" | 33 #include "base/strings/sys_string_conversions.h" |
33 #include "base/strings/utf_string_conversions.h" | 34 #include "base/strings/utf_string_conversions.h" |
(...skipping 2407 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2441 } | 2442 } |
2442 } | 2443 } |
2443 | 2444 |
2444 void RenderThreadImpl::OnRendererInterfaceRequest( | 2445 void RenderThreadImpl::OnRendererInterfaceRequest( |
2445 mojom::RendererAssociatedRequest request) { | 2446 mojom::RendererAssociatedRequest request) { |
2446 DCHECK(!renderer_binding_.is_bound()); | 2447 DCHECK(!renderer_binding_.is_bound()); |
2447 renderer_binding_.Bind(std::move(request)); | 2448 renderer_binding_.Bind(std::move(request)); |
2448 } | 2449 } |
2449 | 2450 |
2450 } // namespace content | 2451 } // namespace content |
OLD | NEW |