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

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

Issue 846443006: Include Mojo SDK/EDK via fully-qualified paths in Chromium code. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix include to satisfy checkdeps Created 5 years, 11 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_connection.h ('k') | device/serial/serial_connection_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_CONNECTION_FACTORY_H_ 5 #ifndef DEVICE_SERIAL_SERIAL_CONNECTION_FACTORY_H_
6 #define DEVICE_SERIAL_SERIAL_CONNECTION_FACTORY_H_ 6 #define DEVICE_SERIAL_SERIAL_CONNECTION_FACTORY_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/callback.h" 10 #include "base/callback.h"
11 #include "base/memory/ref_counted.h" 11 #include "base/memory/ref_counted.h"
12 #include "base/message_loop/message_loop_proxy.h" 12 #include "base/message_loop/message_loop_proxy.h"
13 #include "device/serial/data_stream.mojom.h" 13 #include "device/serial/data_stream.mojom.h"
14 #include "device/serial/serial.mojom.h" 14 #include "device/serial/serial.mojom.h"
15 #include "mojo/public/cpp/bindings/interface_request.h" 15 #include "third_party/mojo/src/mojo/public/cpp/bindings/interface_request.h"
16 16
17 namespace device { 17 namespace device {
18 18
19 class SerialIoHandler; 19 class SerialIoHandler;
20 20
21 class SerialConnectionFactory 21 class SerialConnectionFactory
22 : public base::RefCountedThreadSafe<SerialConnectionFactory> { 22 : public base::RefCountedThreadSafe<SerialConnectionFactory> {
23 public: 23 public:
24 typedef base::Callback<scoped_refptr<SerialIoHandler>()> IoHandlerFactory; 24 typedef base::Callback<scoped_refptr<SerialIoHandler>()> IoHandlerFactory;
25 25
(...skipping 16 matching lines...) Expand all
42 42
43 const IoHandlerFactory io_handler_factory_; 43 const IoHandlerFactory io_handler_factory_;
44 scoped_refptr<base::MessageLoopProxy> connect_message_loop_; 44 scoped_refptr<base::MessageLoopProxy> connect_message_loop_;
45 45
46 DISALLOW_COPY_AND_ASSIGN(SerialConnectionFactory); 46 DISALLOW_COPY_AND_ASSIGN(SerialConnectionFactory);
47 }; 47 };
48 48
49 } // namespace device 49 } // namespace device
50 50
51 #endif // DEVICE_SERIAL_SERIAL_CONNECTION_FACTORY_H_ 51 #endif // DEVICE_SERIAL_SERIAL_CONNECTION_FACTORY_H_
OLDNEW
« no previous file with comments | « device/serial/serial_connection.h ('k') | device/serial/serial_connection_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698