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

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

Issue 823713002: Standardize usage of virtual/override/final specifiers in content/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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_BROWSER_DEVTOOLS_DEVTOOLS_AGENT_HOST_IMPL_H_ 5 #ifndef CONTENT_BROWSER_DEVTOOLS_DEVTOOLS_AGENT_HOST_IMPL_H_
6 #define CONTENT_BROWSER_DEVTOOLS_DEVTOOLS_AGENT_HOST_IMPL_H_ 6 #define CONTENT_BROWSER_DEVTOOLS_DEVTOOLS_AGENT_HOST_IMPL_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 14 matching lines...) Expand all
25 // Returns a list of all existing WebContents that can be debugged. 25 // Returns a list of all existing WebContents that can be debugged.
26 static std::vector<WebContents*> GetInspectableWebContents(); 26 static std::vector<WebContents*> GetInspectableWebContents();
27 27
28 // Informs the hosted agent that a client host has attached. 28 // Informs the hosted agent that a client host has attached.
29 virtual void Attach() = 0; 29 virtual void Attach() = 0;
30 30
31 // Informs the hosted agent that a client host has detached. 31 // Informs the hosted agent that a client host has detached.
32 virtual void Detach() = 0; 32 virtual void Detach() = 0;
33 33
34 // Sends a message to the agent. 34 // Sends a message to the agent.
35 virtual void DispatchProtocolMessage(const std::string& message) = 0; 35 void DispatchProtocolMessage(const std::string& message) override = 0;
36 36
37 // Opens the inspector for this host. 37 // Opens the inspector for this host.
38 void Inspect(BrowserContext* browser_context); 38 void Inspect(BrowserContext* browser_context);
39 39
40 // DevToolsAgentHost implementation. 40 // DevToolsAgentHost implementation.
41 void AttachClient(DevToolsAgentHostClient* client) override; 41 void AttachClient(DevToolsAgentHostClient* client) override;
42 void DetachClient() override; 42 void DetachClient() override;
43 bool IsAttached() override; 43 bool IsAttached() override;
44 void InspectElement(int x, int y) override; 44 void InspectElement(int x, int y) override;
45 std::string GetId() override; 45 std::string GetId() override;
(...skipping 14 matching lines...) Expand all
60 private: 60 private:
61 friend class DevToolsAgentHost; // for static methods 61 friend class DevToolsAgentHost; // for static methods
62 62
63 const std::string id_; 63 const std::string id_;
64 DevToolsAgentHostClient* client_; 64 DevToolsAgentHostClient* client_;
65 }; 65 };
66 66
67 } // namespace content 67 } // namespace content
68 68
69 #endif // CONTENT_BROWSER_DEVTOOLS_DEVTOOLS_AGENT_HOST_IMPL_H_ 69 #endif // CONTENT_BROWSER_DEVTOOLS_DEVTOOLS_AGENT_HOST_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698