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

Side by Side Diff: remoting/host/native_messaging/pipe_messaging_channel.h

Issue 2538183002: remoting: Cleanup class/struct fwd declarations (Closed)
Patch Set: Created 4 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
« no previous file with comments | « remoting/host/it2me/it2me_host.h ('k') | remoting/host/setup/daemon_controller_delegate_win.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_NATIVE_MESSAGING_PIPE_MESSAGING_CHANNEL_H_ 5 #ifndef REMOTING_HOST_NATIVE_MESSAGING_PIPE_MESSAGING_CHANNEL_H_
6 #define REMOTING_HOST_NATIVE_MESSAGING_PIPE_MESSAGING_CHANNEL_H_ 6 #define REMOTING_HOST_NATIVE_MESSAGING_PIPE_MESSAGING_CHANNEL_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "base/callback.h" 10 #include "base/callback.h"
11 #include "base/files/file.h" 11 #include "base/files/file.h"
12 #include "base/macros.h" 12 #include "base/macros.h"
13 #include "base/memory/ref_counted.h" 13 #include "base/memory/ref_counted.h"
14 #include "base/memory/weak_ptr.h" 14 #include "base/memory/weak_ptr.h"
15 #include "base/threading/non_thread_safe.h" 15 #include "base/threading/non_thread_safe.h"
16 #include "extensions/browser/api/messaging/native_messaging_channel.h" 16 #include "extensions/browser/api/messaging/native_messaging_channel.h"
17 #include "remoting/host/native_messaging/native_messaging_reader.h" 17 #include "remoting/host/native_messaging/native_messaging_reader.h"
18 #include "remoting/host/native_messaging/native_messaging_writer.h" 18 #include "remoting/host/native_messaging/native_messaging_writer.h"
19 19
20 namespace base { 20 namespace base {
21 class DictionaryValue;
22 class Value; 21 class Value;
23 } // namespace base 22 } // namespace base
24 23
25 namespace remoting { 24 namespace remoting {
26 25
27 // An implementation of extensions::NativeMessagingChannel using a pipe. It 26 // An implementation of extensions::NativeMessagingChannel using a pipe. It
28 // is used by the It2MeNativeMessagingHost and Me2MeNativeMessagingHost to 27 // is used by the It2MeNativeMessagingHost and Me2MeNativeMessagingHost to
29 // communicate with the chrome process. 28 // communicate with the chrome process.
30 // TODO(kelvinp): Move this class to the extensions/browser/api/messaging 29 // TODO(kelvinp): Move this class to the extensions/browser/api/messaging
31 // directory. 30 // directory.
(...skipping 24 matching lines...) Expand all
56 EventHandler* event_handler_; 55 EventHandler* event_handler_;
57 base::WeakPtr<PipeMessagingChannel> weak_ptr_; 56 base::WeakPtr<PipeMessagingChannel> weak_ptr_;
58 base::WeakPtrFactory<PipeMessagingChannel> weak_factory_; 57 base::WeakPtrFactory<PipeMessagingChannel> weak_factory_;
59 58
60 DISALLOW_COPY_AND_ASSIGN(PipeMessagingChannel); 59 DISALLOW_COPY_AND_ASSIGN(PipeMessagingChannel);
61 }; 60 };
62 61
63 } // namespace remoting 62 } // namespace remoting
64 63
65 #endif // REMOTING_HOST_NATIVE_MESSAGING_PIPE_MESSAGING_CHANNEL_H_ 64 #endif // REMOTING_HOST_NATIVE_MESSAGING_PIPE_MESSAGING_CHANNEL_H_
OLDNEW
« no previous file with comments | « remoting/host/it2me/it2me_host.h ('k') | remoting/host/setup/daemon_controller_delegate_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698