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

Side by Side Diff: content/browser/devtools/worker_devtools_agent_host.h

Issue 1874893002: Convert //content/browser from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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 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_DEVTOOLS_WORKER_DEVTOOLS_AGENT_HOST_H_ 5 #ifndef CONTENT_BROWSER_DEVTOOLS_WORKER_DEVTOOLS_AGENT_HOST_H_
6 #define CONTENT_BROWSER_DEVTOOLS_WORKER_DEVTOOLS_AGENT_HOST_H_ 6 #define CONTENT_BROWSER_DEVTOOLS_WORKER_DEVTOOLS_AGENT_HOST_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "content/browser/devtools/devtools_agent_host_impl.h" 9 #include "content/browser/devtools/devtools_agent_host_impl.h"
10 #include "ipc/ipc_listener.h" 10 #include "ipc/ipc_listener.h"
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 } 58 }
59 59
60 private: 60 private:
61 friend class SharedWorkerDevToolsManagerTest; 61 friend class SharedWorkerDevToolsManagerTest;
62 62
63 void AttachToWorker(); 63 void AttachToWorker();
64 void DetachFromWorker(); 64 void DetachFromWorker();
65 void WorkerCreated(); 65 void WorkerCreated();
66 void OnDispatchOnInspectorFrontend(const DevToolsMessageChunk& message); 66 void OnDispatchOnInspectorFrontend(const DevToolsMessageChunk& message);
67 67
68 scoped_ptr<DevToolsProtocolHandler> protocol_handler_; 68 std::unique_ptr<DevToolsProtocolHandler> protocol_handler_;
69 DevToolsMessageChunkProcessor chunk_processor_; 69 DevToolsMessageChunkProcessor chunk_processor_;
70 WorkerState state_; 70 WorkerState state_;
71 WorkerId worker_id_; 71 WorkerId worker_id_;
72 DISALLOW_COPY_AND_ASSIGN(WorkerDevToolsAgentHost); 72 DISALLOW_COPY_AND_ASSIGN(WorkerDevToolsAgentHost);
73 }; 73 };
74 74
75 } // namespace content 75 } // namespace content
76 76
77 #endif // CONTENT_BROWSER_DEVTOOLS_WORKER_DEVTOOLS_AGENT_HOST_H_ 77 #endif // CONTENT_BROWSER_DEVTOOLS_WORKER_DEVTOOLS_AGENT_HOST_H_
OLDNEW
« no previous file with comments | « content/browser/devtools/shared_worker_devtools_manager_unittest.cc ('k') | content/browser/dom_storage/dom_storage_area.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698