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

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

Issue 1504763004: [DevTools] Fix frontend host race and assert. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: documentObjectCleared Created 5 years 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 <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 27 matching lines...) Expand all
38 void DidClearWindowObject() override; 38 void DidClearWindowObject() override;
39 39
40 // WebDevToolsFrontendClient implementation. 40 // WebDevToolsFrontendClient implementation.
41 void sendMessageToEmbedder(const blink::WebString&) override; 41 void sendMessageToEmbedder(const blink::WebString&) override;
42 42
43 bool isUnderTest() override; 43 bool isUnderTest() override;
44 44
45 void OnDispatchOnInspectorFrontend(const std::string& message, 45 void OnDispatchOnInspectorFrontend(const std::string& message,
46 uint32 total_size); 46 uint32 total_size);
47 47
48 std::string compatibility_script_;
48 scoped_ptr<blink::WebDevToolsFrontend> web_tools_frontend_; 49 scoped_ptr<blink::WebDevToolsFrontend> web_tools_frontend_;
49 std::string compatibility_script_;
50 50
51 DISALLOW_COPY_AND_ASSIGN(DevToolsClient); 51 DISALLOW_COPY_AND_ASSIGN(DevToolsClient);
52 }; 52 };
53 53
54 } // namespace content 54 } // namespace content
55 55
56 #endif // CONTENT_RENDERER_DEVTOOLS_DEVTOOLS_CLIENT_H_ 56 #endif // CONTENT_RENDERER_DEVTOOLS_DEVTOOLS_CLIENT_H_
OLDNEW
« no previous file with comments | « chrome/browser/devtools/devtools_ui_bindings.cc ('k') | content/renderer/devtools/devtools_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698