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

Side by Side Diff: content/browser/devtools/shared_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_SHARED_WORKER_DEVTOOLS_AGENT_HOST_H_ 5 #ifndef CONTENT_BROWSER_DEVTOOLS_SHARED_WORKER_DEVTOOLS_AGENT_HOST_H_
6 #define CONTENT_BROWSER_DEVTOOLS_SHARED_WORKER_DEVTOOLS_AGENT_HOST_H_ 6 #define CONTENT_BROWSER_DEVTOOLS_SHARED_WORKER_DEVTOOLS_AGENT_HOST_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "content/browser/devtools/worker_devtools_agent_host.h" 9 #include "content/browser/devtools/worker_devtools_agent_host.h"
10 10
(...skipping 14 matching lines...) Expand all
25 GURL GetURL() override; 25 GURL GetURL() override;
26 bool Activate() override; 26 bool Activate() override;
27 bool Close() override; 27 bool Close() override;
28 28
29 bool Matches(const SharedWorkerInstance& other); 29 bool Matches(const SharedWorkerInstance& other);
30 30
31 private: 31 private:
32 friend class SharedWorkerDevToolsManagerTest; 32 friend class SharedWorkerDevToolsManagerTest;
33 33
34 ~SharedWorkerDevToolsAgentHost() override; 34 ~SharedWorkerDevToolsAgentHost() override;
35 scoped_ptr<SharedWorkerInstance> shared_worker_; 35 std::unique_ptr<SharedWorkerInstance> shared_worker_;
36 36
37 DISALLOW_COPY_AND_ASSIGN(SharedWorkerDevToolsAgentHost); 37 DISALLOW_COPY_AND_ASSIGN(SharedWorkerDevToolsAgentHost);
38 }; 38 };
39 39
40 } // namespace content 40 } // namespace content
41 41
42 #endif // CONTENT_BROWSER_DEVTOOLS_SHARED_WORKER_DEVTOOLS_AGENT_HOST_H_ 42 #endif // CONTENT_BROWSER_DEVTOOLS_SHARED_WORKER_DEVTOOLS_AGENT_HOST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698