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

Side by Side Diff: device/serial/serial_service_impl.h

Issue 628873002: replace OVERRIDE and FINAL with override and final in device/ (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
« no previous file with comments | « device/serial/serial_io_handler_win.h ('k') | device/serial/serial_service_unittest.cc » ('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 DEVICE_SERIAL_SERIAL_SERVICE_IMPL_H_ 5 #ifndef DEVICE_SERIAL_SERIAL_SERVICE_IMPL_H_
6 #define DEVICE_SERIAL_SERIAL_SERVICE_IMPL_H_ 6 #define DEVICE_SERIAL_SERIAL_SERVICE_IMPL_H_
7 7
8 #include "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
9 #include "base/message_loop/message_loop_proxy.h" 9 #include "base/message_loop/message_loop_proxy.h"
10 #include "device/serial/data_stream.mojom.h" 10 #include "device/serial/data_stream.mojom.h"
(...skipping 14 matching lines...) Expand all
25 25
26 static void Create(scoped_refptr<base::MessageLoopProxy> io_message_loop, 26 static void Create(scoped_refptr<base::MessageLoopProxy> io_message_loop,
27 mojo::InterfaceRequest<serial::SerialService> request); 27 mojo::InterfaceRequest<serial::SerialService> request);
28 static void CreateOnMessageLoop( 28 static void CreateOnMessageLoop(
29 scoped_refptr<base::MessageLoopProxy> message_loop, 29 scoped_refptr<base::MessageLoopProxy> message_loop,
30 scoped_refptr<base::MessageLoopProxy> io_message_loop, 30 scoped_refptr<base::MessageLoopProxy> io_message_loop,
31 mojo::InterfaceRequest<serial::SerialService> request); 31 mojo::InterfaceRequest<serial::SerialService> request);
32 32
33 // mojo::InterfaceImpl<SerialService> overrides. 33 // mojo::InterfaceImpl<SerialService> overrides.
34 virtual void GetDevices(const mojo::Callback< 34 virtual void GetDevices(const mojo::Callback<
35 void(mojo::Array<serial::DeviceInfoPtr>)>& callback) OVERRIDE; 35 void(mojo::Array<serial::DeviceInfoPtr>)>& callback) override;
36 virtual void Connect( 36 virtual void Connect(
37 const mojo::String& path, 37 const mojo::String& path,
38 serial::ConnectionOptionsPtr options, 38 serial::ConnectionOptionsPtr options,
39 mojo::InterfaceRequest<serial::Connection> connection_request, 39 mojo::InterfaceRequest<serial::Connection> connection_request,
40 mojo::InterfaceRequest<serial::DataSink> sink, 40 mojo::InterfaceRequest<serial::DataSink> sink,
41 mojo::InterfaceRequest<serial::DataSource> source) OVERRIDE; 41 mojo::InterfaceRequest<serial::DataSource> source) override;
42 42
43 private: 43 private:
44 SerialDeviceEnumerator* GetDeviceEnumerator(); 44 SerialDeviceEnumerator* GetDeviceEnumerator();
45 bool IsValidPath(const mojo::String& path); 45 bool IsValidPath(const mojo::String& path);
46 46
47 scoped_ptr<SerialDeviceEnumerator> device_enumerator_; 47 scoped_ptr<SerialDeviceEnumerator> device_enumerator_;
48 scoped_refptr<SerialConnectionFactory> connection_factory_; 48 scoped_refptr<SerialConnectionFactory> connection_factory_;
49 49
50 DISALLOW_COPY_AND_ASSIGN(SerialServiceImpl); 50 DISALLOW_COPY_AND_ASSIGN(SerialServiceImpl);
51 }; 51 };
52 52
53 } // namespace device 53 } // namespace device
54 54
55 #endif // DEVICE_SERIAL_SERIAL_SERVICE_IMPL_H_ 55 #endif // DEVICE_SERIAL_SERIAL_SERVICE_IMPL_H_
OLDNEW
« no previous file with comments | « device/serial/serial_io_handler_win.h ('k') | device/serial/serial_service_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698