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

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

Issue 634483005: Replacing the OVERRIDE with override and FINAL with final in content/browser/[devtools/ssl] (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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_BROWSER_DEVTOOLS_DEVTOOLS_HTTP_HANDLER_IMPL_H_ 5 #ifndef CONTENT_BROWSER_DEVTOOLS_DEVTOOLS_HTTP_HANDLER_IMPL_H_
6 #define CONTENT_BROWSER_DEVTOOLS_DEVTOOLS_HTTP_HANDLER_IMPL_H_ 6 #define CONTENT_BROWSER_DEVTOOLS_DEVTOOLS_HTTP_HANDLER_IMPL_H_
7 7
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 class BrowserTarget; 45 class BrowserTarget;
46 46
47 DevToolsHttpHandlerImpl(scoped_ptr<ServerSocketFactory> server_socket_factory, 47 DevToolsHttpHandlerImpl(scoped_ptr<ServerSocketFactory> server_socket_factory,
48 const std::string& frontend_url, 48 const std::string& frontend_url,
49 DevToolsHttpHandlerDelegate* delegate, 49 DevToolsHttpHandlerDelegate* delegate,
50 const base::FilePath& active_port_output_directory); 50 const base::FilePath& active_port_output_directory);
51 virtual ~DevToolsHttpHandlerImpl(); 51 virtual ~DevToolsHttpHandlerImpl();
52 void Start(); 52 void Start();
53 53
54 // DevToolsHttpHandler implementation. 54 // DevToolsHttpHandler implementation.
55 virtual void Stop() OVERRIDE; 55 virtual void Stop() override;
56 virtual GURL GetFrontendURL() OVERRIDE; 56 virtual GURL GetFrontendURL() override;
57 57
58 // net::HttpServer::Delegate implementation. 58 // net::HttpServer::Delegate implementation.
59 virtual void OnConnect(int connection_id) OVERRIDE {} 59 virtual void OnConnect(int connection_id) override {}
60 virtual void OnHttpRequest(int connection_id, 60 virtual void OnHttpRequest(int connection_id,
61 const net::HttpServerRequestInfo& info) OVERRIDE; 61 const net::HttpServerRequestInfo& info) override;
62 virtual void OnWebSocketRequest( 62 virtual void OnWebSocketRequest(
63 int connection_id, 63 int connection_id,
64 const net::HttpServerRequestInfo& info) OVERRIDE; 64 const net::HttpServerRequestInfo& info) override;
65 virtual void OnWebSocketMessage(int connection_id, 65 virtual void OnWebSocketMessage(int connection_id,
66 const std::string& data) OVERRIDE; 66 const std::string& data) override;
67 virtual void OnClose(int connection_id) OVERRIDE; 67 virtual void OnClose(int connection_id) override;
68 68
69 void OnJsonRequestUI(int connection_id, 69 void OnJsonRequestUI(int connection_id,
70 const net::HttpServerRequestInfo& info); 70 const net::HttpServerRequestInfo& info);
71 void OnThumbnailRequestUI(int connection_id, const GURL& page_url); 71 void OnThumbnailRequestUI(int connection_id, const GURL& page_url);
72 void OnDiscoveryPageRequestUI(int connection_id); 72 void OnDiscoveryPageRequestUI(int connection_id);
73 73
74 void OnWebSocketRequestUI(int connection_id, 74 void OnWebSocketRequestUI(int connection_id,
75 const net::HttpServerRequestInfo& info); 75 const net::HttpServerRequestInfo& info);
76 void OnWebSocketMessageUI(int connection_id, const std::string& data); 76 void OnWebSocketMessageUI(int connection_id, const std::string& data);
77 void OnCloseUI(int connection_id); 77 void OnCloseUI(int connection_id);
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
128 typedef std::map<std::string, DevToolsTarget*> TargetMap; 128 typedef std::map<std::string, DevToolsTarget*> TargetMap;
129 TargetMap target_map_; 129 TargetMap target_map_;
130 typedef std::map<int, BrowserTarget*> BrowserTargets; 130 typedef std::map<int, BrowserTarget*> BrowserTargets;
131 BrowserTargets browser_targets_; 131 BrowserTargets browser_targets_;
132 DISALLOW_COPY_AND_ASSIGN(DevToolsHttpHandlerImpl); 132 DISALLOW_COPY_AND_ASSIGN(DevToolsHttpHandlerImpl);
133 }; 133 };
134 134
135 } // namespace content 135 } // namespace content
136 136
137 #endif // CONTENT_BROWSER_DEVTOOLS_DEVTOOLS_HTTP_HANDLER_IMPL_H_ 137 #endif // CONTENT_BROWSER_DEVTOOLS_DEVTOOLS_HTTP_HANDLER_IMPL_H_
OLDNEW
« no previous file with comments | « content/browser/devtools/devtools_frontend_host_impl.h ('k') | content/browser/devtools/devtools_http_handler_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698