| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2012 Google Inc. All rights reserved. | 2 * Copyright (C) 2012 Google Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
| 6 * met: | 6 * met: |
| 7 * | 7 * |
| 8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
| (...skipping 23 matching lines...) Expand all Loading... |
| 34 | 34 |
| 35 #include "base/threading/thread_task_runner_handle.h" | 35 #include "base/threading/thread_task_runner_handle.h" |
| 36 #include "base/trace_event/memory_dump_manager.h" | 36 #include "base/trace_event/memory_dump_manager.h" |
| 37 #include "platform/Histogram.h" | 37 #include "platform/Histogram.h" |
| 38 #include "platform/MemoryCoordinator.h" | 38 #include "platform/MemoryCoordinator.h" |
| 39 #include "platform/PartitionAllocMemoryDumpProvider.h" | 39 #include "platform/PartitionAllocMemoryDumpProvider.h" |
| 40 #include "platform/fonts/FontCacheMemoryDumpProvider.h" | 40 #include "platform/fonts/FontCacheMemoryDumpProvider.h" |
| 41 #include "platform/heap/BlinkGCMemoryDumpProvider.h" | 41 #include "platform/heap/BlinkGCMemoryDumpProvider.h" |
| 42 #include "platform/heap/GCTaskRunner.h" | 42 #include "platform/heap/GCTaskRunner.h" |
| 43 #include "platform/instrumentation/tracing/MemoryCacheDumpProvider.h" | 43 #include "platform/instrumentation/tracing/MemoryCacheDumpProvider.h" |
| 44 #include "platform/wtf/HashMap.h" |
| 44 #include "public/platform/InterfaceProvider.h" | 45 #include "public/platform/InterfaceProvider.h" |
| 45 #include "public/platform/WebPrerenderingSupport.h" | 46 #include "public/platform/WebPrerenderingSupport.h" |
| 46 #include "services/service_manager/public/cpp/connector.h" | 47 #include "services/service_manager/public/cpp/connector.h" |
| 47 #include "wtf/HashMap.h" | |
| 48 | 48 |
| 49 namespace blink { | 49 namespace blink { |
| 50 | 50 |
| 51 namespace { | 51 namespace { |
| 52 | 52 |
| 53 class DefaultConnector { | 53 class DefaultConnector { |
| 54 public: | 54 public: |
| 55 DefaultConnector() { | 55 DefaultConnector() { |
| 56 service_manager::mojom::ConnectorRequest request; | 56 service_manager::mojom::ConnectorRequest request; |
| 57 m_connector = service_manager::Connector::Create(&request); | 57 m_connector = service_manager::Connector::Create(&request); |
| (...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 142 service_manager::Connector* Platform::connector() { | 142 service_manager::Connector* Platform::connector() { |
| 143 DEFINE_STATIC_LOCAL(DefaultConnector, connector, ()); | 143 DEFINE_STATIC_LOCAL(DefaultConnector, connector, ()); |
| 144 return connector.get(); | 144 return connector.get(); |
| 145 } | 145 } |
| 146 | 146 |
| 147 InterfaceProvider* Platform::interfaceProvider() { | 147 InterfaceProvider* Platform::interfaceProvider() { |
| 148 return InterfaceProvider::getEmptyInterfaceProvider(); | 148 return InterfaceProvider::getEmptyInterfaceProvider(); |
| 149 } | 149 } |
| 150 | 150 |
| 151 } // namespace blink | 151 } // namespace blink |
| OLD | NEW |