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

Side by Side Diff: content/browser/devtools/devtools_manager_unittest.cc

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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 #include "content/browser/devtools/devtools_manager.h"
6
7 #include <memory>
8
5 #include "base/location.h" 9 #include "base/location.h"
6 #include "base/macros.h" 10 #include "base/macros.h"
7 #include "base/memory/scoped_ptr.h"
8 #include "base/single_thread_task_runner.h" 11 #include "base/single_thread_task_runner.h"
9 #include "base/thread_task_runner_handle.h" 12 #include "base/thread_task_runner_handle.h"
10 #include "base/time/time.h" 13 #include "base/time/time.h"
11 #include "content/browser/devtools/devtools_manager.h"
12 #include "content/browser/devtools/shared_worker_devtools_manager.h" 14 #include "content/browser/devtools/shared_worker_devtools_manager.h"
13 #include "content/browser/shared_worker/shared_worker_instance.h" 15 #include "content/browser/shared_worker/shared_worker_instance.h"
14 #include "content/browser/shared_worker/worker_storage_partition.h" 16 #include "content/browser/shared_worker/worker_storage_partition.h"
15 #include "content/common/view_messages.h" 17 #include "content/common/view_messages.h"
16 #include "content/public/browser/browser_context.h" 18 #include "content/public/browser/browser_context.h"
17 #include "content/public/browser/content_browser_client.h" 19 #include "content/public/browser/content_browser_client.h"
18 #include "content/public/browser/devtools_agent_host.h" 20 #include "content/public/browser/devtools_agent_host.h"
19 #include "content/public/browser/devtools_external_agent_proxy.h" 21 #include "content/public/browser/devtools_external_agent_proxy.h"
20 #include "content/public/browser/devtools_external_agent_proxy_delegate.h" 22 #include "content/public/browser/devtools_external_agent_proxy_delegate.h"
21 #include "content/public/browser/web_contents_delegate.h" 23 #include "content/public/browser/web_contents_delegate.h"
(...skipping 224 matching lines...) Expand 10 before | Expand all | Expand 10 after
246 TestDevToolsClientHost client_host; 248 TestDevToolsClientHost client_host;
247 client_host.InspectAgentHost(agent_host.get()); 249 client_host.InspectAgentHost(agent_host.get());
248 agent_host->DispatchProtocolMessage("message1"); 250 agent_host->DispatchProtocolMessage("message1");
249 agent_host->DispatchProtocolMessage("message2"); 251 agent_host->DispatchProtocolMessage("message2");
250 agent_host->DispatchProtocolMessage("message2"); 252 agent_host->DispatchProtocolMessage("message2");
251 253
252 client_host.Close(); 254 client_host.Close();
253 } 255 }
254 256
255 } // namespace content 257 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/devtools/devtools_manager.h ('k') | content/browser/devtools/devtools_netlog_observer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698