@@ -57,14 +57,14 @@ class ParentInspectorHandle {
|
57 | 57 | public: |
58 | 58 | ParentInspectorHandle( |
59 | 59 | uint64_t id, |
60 | | -const std::string& url, |
| 60 | + std::string_view url, |
61 | 61 | std::shared_ptr<MainThreadHandle> parent_thread, |
62 | 62 | bool wait_for_connect, |
63 | | -const std::string& name, |
| 63 | + std::string_view name, |
64 | 64 | std::shared_ptr<NetworkResourceManager> network_resource_manager); |
65 | 65 | ~ParentInspectorHandle(); |
66 | 66 | std::unique_ptr<ParentInspectorHandle> NewParentInspectorHandle( |
67 | | -uint64_t thread_id, const std::string& url, const std::string& name) { |
| 67 | +uint64_t thread_id, std::string_view url, std::string_view name) { |
68 | 68 | return std::make_unique<ParentInspectorHandle>( |
69 | 69 | thread_id, url, parent_thread_, wait_, name, network_resource_manager_); |
70 | 70 | } |
@@ -97,8 +97,8 @@ class WorkerManager : public std::enable_shared_from_this<WorkerManager> {
|
97 | 97 | |
98 | 98 | std::unique_ptr<ParentInspectorHandle> NewParentHandle( |
99 | 99 | uint64_t thread_id, |
100 | | -const std::string& url, |
101 | | -const std::string& name, |
| 100 | + std::string_view url, |
| 101 | + std::string_view name, |
102 | 102 | std::shared_ptr<NetworkResourceManager> network_resource_manager); |
103 | 103 | void WorkerStarted(uint64_t session_id, const WorkerInfo& info, bool waiting); |
104 | 104 | void WorkerFinished(uint64_t session_id); |
|