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

Side by Side Diff: content/renderer/devtools/devtools_client.h

Issue 1873783003: Convert //content/renderer 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 #ifndef CONTENT_RENDERER_DEVTOOLS_DEVTOOLS_CLIENT_H_ 5 #ifndef CONTENT_RENDERER_DEVTOOLS_DEVTOOLS_CLIENT_H_
6 #define CONTENT_RENDERER_DEVTOOLS_DEVTOOLS_CLIENT_H_ 6 #define CONTENT_RENDERER_DEVTOOLS_DEVTOOLS_CLIENT_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <memory>
10 #include <string> 11 #include <string>
11 12
12 #include "base/macros.h" 13 #include "base/macros.h"
13 #include "base/memory/scoped_ptr.h"
14 #include "content/public/renderer/render_frame_observer.h" 14 #include "content/public/renderer/render_frame_observer.h"
15 #include "third_party/WebKit/public/web/WebDevToolsFrontendClient.h" 15 #include "third_party/WebKit/public/web/WebDevToolsFrontendClient.h"
16 16
17 namespace blink { 17 namespace blink {
18 class WebDevToolsFrontend; 18 class WebDevToolsFrontend;
19 class WebString; 19 class WebString;
20 } 20 }
21 21
22 namespace content { 22 namespace content {
23 23
(...skipping 17 matching lines...) Expand all
41 41
42 // WebDevToolsFrontendClient implementation. 42 // WebDevToolsFrontendClient implementation.
43 void sendMessageToEmbedder(const blink::WebString&) override; 43 void sendMessageToEmbedder(const blink::WebString&) override;
44 44
45 bool isUnderTest() override; 45 bool isUnderTest() override;
46 46
47 void OnDispatchOnInspectorFrontend(const std::string& message, 47 void OnDispatchOnInspectorFrontend(const std::string& message,
48 uint32_t total_size); 48 uint32_t total_size);
49 49
50 std::string compatibility_script_; 50 std::string compatibility_script_;
51 scoped_ptr<blink::WebDevToolsFrontend> web_tools_frontend_; 51 std::unique_ptr<blink::WebDevToolsFrontend> web_tools_frontend_;
52 52
53 DISALLOW_COPY_AND_ASSIGN(DevToolsClient); 53 DISALLOW_COPY_AND_ASSIGN(DevToolsClient);
54 }; 54 };
55 55
56 } // namespace content 56 } // namespace content
57 57
58 #endif // CONTENT_RENDERER_DEVTOOLS_DEVTOOLS_CLIENT_H_ 58 #endif // CONTENT_RENDERER_DEVTOOLS_DEVTOOLS_CLIENT_H_
OLDNEW
« no previous file with comments | « content/renderer/devtools/devtools_agent.h ('k') | content/renderer/devtools/devtools_cpu_throttler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698