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

Side by Side Diff: content/public/test/service_worker_test_helpers.h

Issue 2924213002: Draft: Dispatching extension events to stopped extension SW.
Patch Set: rebase @tott Created 3 years, 6 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
(Empty)
1 // Copyright 2017 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CONTENT_PUBLIC_TEST_SERVICE_WORKER_TEST_OBSERVER_H_
6 #define CONTENT_PUBLIC_TEST_SERVICE_WORKER_TEST_OBSERVER_H_
7
8 #include "base/callback_forward.h"
9
10 class GURL;
11 namespace content {
12
13 class ServiceWorkerContext;
14
15 // Stops a running service worker at origin |origin|.
16 // Can be called from UI/IO thread. |complete_callback_ui| is called back on UI.
17 void StopServiceWorkerAtOrigin(ServiceWorkerContext* context,
18 const GURL& origin,
19 base::OnceClosure complete_callback_ui);
20
21 } // namespace content
22
23 #endif // CONTENT_PUBLIC_TEST_SERVICE_WORKER_TEST_OBSERVER_H_
OLDNEW
« no previous file with comments | « content/public/renderer/content_renderer_client.h ('k') | content/public/test/service_worker_test_helpers.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698