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_io_handler_win.h

Issue 1542163002: Switch to standard integer types in device/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: win Created 5 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 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_IO_HANDLER_WIN_H_ 5 #ifndef DEVICE_SERIAL_SERIAL_IO_HANDLER_WIN_H_
6 #define DEVICE_SERIAL_SERIAL_IO_HANDLER_WIN_H_ 6 #define DEVICE_SERIAL_SERIAL_IO_HANDLER_WIN_H_
7 7
8 #include "base/macros.h"
8 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
9 #include "base/message_loop/message_loop.h" 10 #include "base/message_loop/message_loop.h"
10 #include "base/single_thread_task_runner.h" 11 #include "base/single_thread_task_runner.h"
11 #include "base/thread_task_runner_handle.h" 12 #include "base/thread_task_runner_handle.h"
12 #include "device/serial/serial_io_handler.h" 13 #include "device/serial/serial_io_handler.h"
13 14
14 namespace device { 15 namespace device {
15 16
16 class SerialIoHandlerWin : public SerialIoHandler, 17 class SerialIoHandlerWin : public SerialIoHandler,
17 public base::MessageLoopForIO::IOHandler { 18 public base::MessageLoopForIO::IOHandler {
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 // handler that owns it. 69 // handler that owns it.
69 UiThreadHelper* helper_; 70 UiThreadHelper* helper_;
70 base::WeakPtrFactory<SerialIoHandlerWin> weak_factory_; 71 base::WeakPtrFactory<SerialIoHandlerWin> weak_factory_;
71 72
72 DISALLOW_COPY_AND_ASSIGN(SerialIoHandlerWin); 73 DISALLOW_COPY_AND_ASSIGN(SerialIoHandlerWin);
73 }; 74 };
74 75
75 } // namespace device 76 } // namespace device
76 77
77 #endif // DEVICE_SERIAL_SERIAL_IO_HANDLER_WIN_H_ 78 #endif // DEVICE_SERIAL_SERIAL_IO_HANDLER_WIN_H_
OLDNEW
« no previous file with comments | « device/serial/serial_io_handler_posix_unittest.cc ('k') | device/serial/serial_io_handler_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698