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

Side by Side Diff: content/browser/devtools/protocol/service_worker_handler.h

Issue 1102263002: Add skipWaiting checkbox to ServiceWorkersView in DevTools [1/2 chromium] (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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_DEVTOOLS_PROTOCOL_SERVICE_WORKER_HANDLER_H_ 5 #ifndef CONTENT_BROWSER_DEVTOOLS_PROTOCOL_SERVICE_WORKER_HANDLER_H_
6 #define CONTENT_BROWSER_DEVTOOLS_PROTOCOL_SERVICE_WORKER_HANDLER_H_ 6 #define CONTENT_BROWSER_DEVTOOLS_PROTOCOL_SERVICE_WORKER_HANDLER_H_
7 7
8 #include <set> 8 #include <set>
9 9
10 #include "base/memory/weak_ptr.h" 10 #include "base/memory/weak_ptr.h"
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 Response Enable(); 47 Response Enable();
48 Response Disable(); 48 Response Disable();
49 Response SendMessage(const std::string& worker_id, 49 Response SendMessage(const std::string& worker_id,
50 const std::string& message); 50 const std::string& message);
51 Response Stop(const std::string& worker_id); 51 Response Stop(const std::string& worker_id);
52 Response Unregister(const std::string& scope_url); 52 Response Unregister(const std::string& scope_url);
53 Response StartWorker(const std::string& scope_url); 53 Response StartWorker(const std::string& scope_url);
54 Response StopWorker(const std::string& version_id); 54 Response StopWorker(const std::string& version_id);
55 Response UpdateRegistration(const std::string& scope_url); 55 Response UpdateRegistration(const std::string& scope_url);
56 Response InspectWorker(const std::string& version_id); 56 Response InspectWorker(const std::string& version_id);
57 Response SkipWaiting(const std::string& version_id);
57 Response SetDebugOnStart(bool debug_on_start); 58 Response SetDebugOnStart(bool debug_on_start);
58 Response DeliverPushMessage(const std::string& origin, 59 Response DeliverPushMessage(const std::string& origin,
59 const std::string& registration_id, 60 const std::string& registration_id,
60 const std::string& data); 61 const std::string& data);
61 62
62 // WorkerDevToolsManager::Observer implementation. 63 // WorkerDevToolsManager::Observer implementation.
63 void WorkerCreated(ServiceWorkerDevToolsAgentHost* host) override; 64 void WorkerCreated(ServiceWorkerDevToolsAgentHost* host) override;
64 void WorkerReadyForInspection(ServiceWorkerDevToolsAgentHost* host) override; 65 void WorkerReadyForInspection(ServiceWorkerDevToolsAgentHost* host) override;
65 void WorkerDestroyed(ServiceWorkerDevToolsAgentHost* host) override; 66 void WorkerDestroyed(ServiceWorkerDevToolsAgentHost* host) override;
66 void DebugOnStartUpdated(bool debug_on_start) override; 67 void DebugOnStartUpdated(bool debug_on_start) override;
(...skipping 29 matching lines...) Expand all
96 base::WeakPtrFactory<ServiceWorkerHandler> weak_factory_; 97 base::WeakPtrFactory<ServiceWorkerHandler> weak_factory_;
97 98
98 DISALLOW_COPY_AND_ASSIGN(ServiceWorkerHandler); 99 DISALLOW_COPY_AND_ASSIGN(ServiceWorkerHandler);
99 }; 100 };
100 101
101 } // namespace service_worker 102 } // namespace service_worker
102 } // namespace devtools 103 } // namespace devtools
103 } // namespace content 104 } // namespace content
104 105
105 #endif // CONTENT_BROWSER_DEVTOOLS_PROTOCOL_SERVICE_WORKER_HANDLER_H_ 106 #endif // CONTENT_BROWSER_DEVTOOLS_PROTOCOL_SERVICE_WORKER_HANDLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698