OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 #include "remoting/host/setup/native_messaging_channel.h" | 5 #include "remoting/host/native_messaging/native_messaging_channel.h" |
6 | 6 |
7 #include "base/basictypes.h" | 7 #include "base/basictypes.h" |
8 #include "base/bind.h" | 8 #include "base/bind.h" |
9 #include "base/callback.h" | 9 #include "base/callback.h" |
10 #include "base/location.h" | 10 #include "base/location.h" |
11 #include "base/values.h" | 11 #include "base/values.h" |
12 | 12 |
13 #if defined(OS_POSIX) | 13 #if defined(OS_POSIX) |
14 #include <unistd.h> | 14 #include <unistd.h> |
15 #endif | 15 #endif |
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
120 | 120 |
121 if (shutdown_) | 121 if (shutdown_) |
122 return; | 122 return; |
123 | 123 |
124 shutdown_ = true; | 124 shutdown_ = true; |
125 if (!pending_requests_) | 125 if (!pending_requests_) |
126 quit_closure_.Run(); | 126 quit_closure_.Run(); |
127 } | 127 } |
128 | 128 |
129 } // namespace remoting | 129 } // namespace remoting |
OLD | NEW |