Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5)

Side by Side Diff: content/browser/service_worker/embedded_worker_test_helper.h

Issue 1686223002: Move InterfaceProvider into the shell::mojom namespace like the rest of the shell interfaces. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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>
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after
147 void OnStartWorkerStub(const EmbeddedWorkerMsg_StartWorker_Params& params); 147 void OnStartWorkerStub(const EmbeddedWorkerMsg_StartWorker_Params& params);
148 void OnStopWorkerStub(int embedded_worker_id); 148 void OnStopWorkerStub(int embedded_worker_id);
149 void OnMessageToWorkerStub(int thread_id, 149 void OnMessageToWorkerStub(int thread_id,
150 int embedded_worker_id, 150 int embedded_worker_id,
151 const IPC::Message& message); 151 const IPC::Message& message);
152 void OnActivateEventStub(int request_id); 152 void OnActivateEventStub(int request_id);
153 void OnInstallEventStub(int request_id); 153 void OnInstallEventStub(int request_id);
154 void OnFetchEventStub(int request_id, 154 void OnFetchEventStub(int request_id,
155 const ServiceWorkerFetchRequest& request); 155 const ServiceWorkerFetchRequest& request);
156 void OnPushEventStub(int request_id, const PushEventPayload& payload); 156 void OnPushEventStub(int request_id, const PushEventPayload& payload);
157 void OnSetupMojoStub(int thread_id, 157 void OnSetupMojoStub(
158 mojo::InterfaceRequest<mojo::InterfaceProvider> services, 158 int thread_id,
159 mojo::InterfaceProviderPtr exposed_services); 159 mojo::shell::mojom::InterfaceProviderRequest services,
160 mojo::shell::mojom::InterfaceProviderPtr exposed_services);
160 161
161 MessagePortMessageFilter* NewMessagePortMessageFilter(); 162 MessagePortMessageFilter* NewMessagePortMessageFilter();
162 163
163 scoped_ptr<TestBrowserContext> browser_context_; 164 scoped_ptr<TestBrowserContext> browser_context_;
164 scoped_ptr<MockRenderProcessHost> render_process_host_; 165 scoped_ptr<MockRenderProcessHost> render_process_host_;
165 166
166 scoped_refptr<ServiceWorkerContextWrapper> wrapper_; 167 scoped_refptr<ServiceWorkerContextWrapper> wrapper_;
167 168
168 IPC::TestSink sink_; 169 IPC::TestSink sink_;
169 IPC::TestSink inner_sink_; 170 IPC::TestSink inner_sink_;
(...skipping 17 matching lines...) Expand all
187 message_port_message_filters_; 188 message_port_message_filters_;
188 189
189 base::WeakPtrFactory<EmbeddedWorkerTestHelper> weak_factory_; 190 base::WeakPtrFactory<EmbeddedWorkerTestHelper> weak_factory_;
190 191
191 DISALLOW_COPY_AND_ASSIGN(EmbeddedWorkerTestHelper); 192 DISALLOW_COPY_AND_ASSIGN(EmbeddedWorkerTestHelper);
192 }; 193 };
193 194
194 } // namespace content 195 } // namespace content
195 196
196 #endif // CONTENT_BROWSER_SERVICE_WORKER_EMBEDDED_WORKER_TEST_HELPER_H_ 197 #endif // CONTENT_BROWSER_SERVICE_WORKER_EMBEDDED_WORKER_TEST_HELPER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698