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

Side by Side Diff: chrome/browser/devtools/remote_debugging_server.cc

Issue 625113002: replace OVERRIDE and FINAL with override and final in chrome/browser/[a-i]* (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix newly added OVERRIDEs 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 #include "chrome/browser/devtools/remote_debugging_server.h" 5 #include "chrome/browser/devtools/remote_debugging_server.h"
6 6
7 #include "base/path_service.h" 7 #include "base/path_service.h"
8 #include "chrome/browser/devtools/browser_list_tabcontents_provider.h" 8 #include "chrome/browser/devtools/browser_list_tabcontents_provider.h"
9 #include "chrome/browser/ui/webui/devtools_ui.h" 9 #include "chrome/browser/ui/webui/devtools_ui.h"
10 #include "chrome/common/chrome_paths.h" 10 #include "chrome/common/chrome_paths.h"
11 #include "content/public/browser/devtools_http_handler.h" 11 #include "content/public/browser/devtools_http_handler.h"
12 #include "net/socket/tcp_server_socket.h" 12 #include "net/socket/tcp_server_socket.h"
13 13
14 namespace { 14 namespace {
15 15
16 class TCPServerSocketFactory 16 class TCPServerSocketFactory
17 : public content::DevToolsHttpHandler::ServerSocketFactory { 17 : public content::DevToolsHttpHandler::ServerSocketFactory {
18 public: 18 public:
19 TCPServerSocketFactory(const std::string& address, int port, int backlog) 19 TCPServerSocketFactory(const std::string& address, int port, int backlog)
20 : content::DevToolsHttpHandler::ServerSocketFactory( 20 : content::DevToolsHttpHandler::ServerSocketFactory(
21 address, port, backlog) {} 21 address, port, backlog) {}
22 22
23 private: 23 private:
24 // content::DevToolsHttpHandler::ServerSocketFactory. 24 // content::DevToolsHttpHandler::ServerSocketFactory.
25 virtual scoped_ptr<net::ServerSocket> Create() const OVERRIDE { 25 virtual scoped_ptr<net::ServerSocket> Create() const override {
26 return scoped_ptr<net::ServerSocket>( 26 return scoped_ptr<net::ServerSocket>(
27 new net::TCPServerSocket(NULL, net::NetLog::Source())); 27 new net::TCPServerSocket(NULL, net::NetLog::Source()));
28 } 28 }
29 29
30 DISALLOW_COPY_AND_ASSIGN(TCPServerSocketFactory); 30 DISALLOW_COPY_AND_ASSIGN(TCPServerSocketFactory);
31 }; 31 };
32 32
33 } // namespace 33 } // namespace
34 34
35 RemoteDebuggingServer::RemoteDebuggingServer( 35 RemoteDebuggingServer::RemoteDebuggingServer(
(...skipping 14 matching lines...) Expand all
50 devtools_http_handler_ = content::DevToolsHttpHandler::Start( 50 devtools_http_handler_ = content::DevToolsHttpHandler::Start(
51 factory.Pass(), 51 factory.Pass(),
52 "", 52 "",
53 new BrowserListTabContentsProvider(host_desktop_type), 53 new BrowserListTabContentsProvider(host_desktop_type),
54 output_dir); 54 output_dir);
55 } 55 }
56 56
57 RemoteDebuggingServer::~RemoteDebuggingServer() { 57 RemoteDebuggingServer::~RemoteDebuggingServer() {
58 devtools_http_handler_->Stop(); 58 devtools_http_handler_->Stop();
59 } 59 }
OLDNEW
« no previous file with comments | « chrome/browser/devtools/devtools_window.cc ('k') | chrome/browser/diagnostics/diagnostics_model.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698