| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 #ifndef CONTENT_BROWSER_SERVICE_WORKER_EMBEDDED_WORKER_TEST_HELPER_H_ | 5 #ifndef CONTENT_BROWSER_SERVICE_WORKER_EMBEDDED_WORKER_TEST_HELPER_H_ |
| 6 #define CONTENT_BROWSER_SERVICE_WORKER_EMBEDDED_WORKER_TEST_HELPER_H_ | 6 #define CONTENT_BROWSER_SERVICE_WORKER_EMBEDDED_WORKER_TEST_HELPER_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <map> | 10 #include <map> |
| 11 #include <string> | 11 #include <string> |
| 12 #include <vector> | 12 #include <vector> |
| 13 | 13 |
| 14 #include "base/callback.h" | 14 #include "base/callback.h" |
| 15 #include "base/containers/hash_tables.h" | 15 #include "base/containers/hash_tables.h" |
| 16 #include "base/macros.h" | 16 #include "base/macros.h" |
| 17 #include "base/memory/weak_ptr.h" | 17 #include "base/memory/weak_ptr.h" |
| 18 #include "content/common/mojo/service_registry_impl.h" | |
| 19 #include "ipc/ipc_listener.h" | 18 #include "ipc/ipc_listener.h" |
| 20 #include "ipc/ipc_test_sink.h" | 19 #include "ipc/ipc_test_sink.h" |
| 20 #include "services/shell/public/interfaces/interface_provider.mojom.h" |
| 21 #include "testing/gtest/include/gtest/gtest.h" | 21 #include "testing/gtest/include/gtest/gtest.h" |
| 22 #include "url/gurl.h" | 22 #include "url/gurl.h" |
| 23 | 23 |
| 24 class GURL; | 24 class GURL; |
| 25 struct EmbeddedWorkerMsg_StartWorker_Params; | 25 struct EmbeddedWorkerMsg_StartWorker_Params; |
| 26 struct ServiceWorkerMsg_ExtendableMessageEvent_Params; | 26 struct ServiceWorkerMsg_ExtendableMessageEvent_Params; |
| 27 | 27 |
| 28 namespace shell { | 28 namespace shell { |
| 29 class InterfaceProvider; | 29 class InterfaceProvider; |
| 30 class InterfaceRegistry; | 30 class InterfaceRegistry; |
| (...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 204 message_port_message_filters_; | 204 message_port_message_filters_; |
| 205 | 205 |
| 206 base::WeakPtrFactory<EmbeddedWorkerTestHelper> weak_factory_; | 206 base::WeakPtrFactory<EmbeddedWorkerTestHelper> weak_factory_; |
| 207 | 207 |
| 208 DISALLOW_COPY_AND_ASSIGN(EmbeddedWorkerTestHelper); | 208 DISALLOW_COPY_AND_ASSIGN(EmbeddedWorkerTestHelper); |
| 209 }; | 209 }; |
| 210 | 210 |
| 211 } // namespace content | 211 } // namespace content |
| 212 | 212 |
| 213 #endif // CONTENT_BROWSER_SERVICE_WORKER_EMBEDDED_WORKER_TEST_HELPER_H_ | 213 #endif // CONTENT_BROWSER_SERVICE_WORKER_EMBEDDED_WORKER_TEST_HELPER_H_ |
| OLD | NEW |