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

Side by Side Diff: remoting/host/cast_extension.h

Issue 667123002: Standardize usage of virtual/override/final in remoting/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 1 month 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
« no previous file with comments | « remoting/host/basic_desktop_environment.h ('k') | remoting/host/cast_extension_session.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 REMOTING_HOST_CAST_EXTENSION_H_ 5 #ifndef REMOTING_HOST_CAST_EXTENSION_H_
6 #define REMOTING_HOST_CAST_EXTENSION_H_ 6 #define REMOTING_HOST_CAST_EXTENSION_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
(...skipping 14 matching lines...) Expand all
25 struct NetworkSettings; 25 struct NetworkSettings;
26 } // namespace protocol 26 } // namespace protocol
27 27
28 // CastExtension extends HostExtension to enable WebRTC support. 28 // CastExtension extends HostExtension to enable WebRTC support.
29 class CastExtension : public HostExtension { 29 class CastExtension : public HostExtension {
30 public: 30 public:
31 CastExtension( 31 CastExtension(
32 scoped_refptr<base::SingleThreadTaskRunner> network_task_runner, 32 scoped_refptr<base::SingleThreadTaskRunner> network_task_runner,
33 scoped_refptr<net::URLRequestContextGetter> url_request_context_getter, 33 scoped_refptr<net::URLRequestContextGetter> url_request_context_getter,
34 const protocol::NetworkSettings& network_settings); 34 const protocol::NetworkSettings& network_settings);
35 virtual ~CastExtension(); 35 ~CastExtension() override;
36 36
37 // HostExtension interface. 37 // HostExtension interface.
38 virtual std::string capability() const override; 38 std::string capability() const override;
39 virtual scoped_ptr<HostExtensionSession> CreateExtensionSession( 39 scoped_ptr<HostExtensionSession> CreateExtensionSession(
40 ClientSessionControl* client_session_control, 40 ClientSessionControl* client_session_control,
41 protocol::ClientStub* client_stub) override; 41 protocol::ClientStub* client_stub) override;
42 42
43 private: 43 private:
44 scoped_refptr<base::SingleThreadTaskRunner> network_task_runner_; 44 scoped_refptr<base::SingleThreadTaskRunner> network_task_runner_;
45 scoped_refptr<net::URLRequestContextGetter> url_request_context_getter_; 45 scoped_refptr<net::URLRequestContextGetter> url_request_context_getter_;
46 const protocol::NetworkSettings& network_settings_; 46 const protocol::NetworkSettings& network_settings_;
47 47
48 DISALLOW_COPY_AND_ASSIGN(CastExtension); 48 DISALLOW_COPY_AND_ASSIGN(CastExtension);
49 }; 49 };
50 50
51 } // namespace remoting 51 } // namespace remoting
52 52
53 #endif // REMOTING_HOST_CAST_EXTENSION_H_ 53 #endif // REMOTING_HOST_CAST_EXTENSION_H_
54 54
OLDNEW
« no previous file with comments | « remoting/host/basic_desktop_environment.h ('k') | remoting/host/cast_extension_session.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698