OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 CHROME_BROWSER_EXTENSIONS_API_MESSAGING_NATIVE_MESSAGE_PROCESS_HOST_H_ | 5 #ifndef CHROME_BROWSER_EXTENSIONS_API_MESSAGING_NATIVE_MESSAGE_PROCESS_HOST_H_ |
6 #define CHROME_BROWSER_EXTENSIONS_API_MESSAGING_NATIVE_MESSAGE_PROCESS_HOST_H_ | 6 #define CHROME_BROWSER_EXTENSIONS_API_MESSAGING_NATIVE_MESSAGE_PROCESS_HOST_H_ |
7 | 7 |
8 #include <queue> | 8 #include <queue> |
9 #include <string> | 9 #include <string> |
10 | 10 |
11 #include "base/memory/scoped_ptr.h" | 11 #include "base/memory/scoped_ptr.h" |
12 #include "base/memory/weak_ptr.h" | 12 #include "base/memory/weak_ptr.h" |
13 #include "base/message_loop/message_loop.h" | 13 #include "base/message_loop/message_loop.h" |
14 #include "base/process/process.h" | 14 #include "base/process/process.h" |
15 #include "chrome/browser/extensions/api/messaging/native_process_launcher.h" | 15 #include "chrome/browser/extensions/api/messaging/native_process_launcher.h" |
16 #include "content/public/browser/browser_thread.h" | |
17 #include "ui/gfx/native_widget_types.h" | 16 #include "ui/gfx/native_widget_types.h" |
18 | 17 |
19 class PrefService; | 18 class PrefService; |
20 | 19 |
21 namespace net { | 20 namespace net { |
22 | 21 |
23 class DrainableIOBuffer; | 22 class DrainableIOBuffer; |
24 class FileStream; | 23 class FileStream; |
25 class IOBuffer; | 24 class IOBuffer; |
26 class IOBufferWithSize; | 25 class IOBufferWithSize; |
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
176 | 175 |
177 // Set to true when a write is pending. | 176 // Set to true when a write is pending. |
178 bool write_pending_; | 177 bool write_pending_; |
179 | 178 |
180 DISALLOW_COPY_AND_ASSIGN(NativeMessageProcessHost); | 179 DISALLOW_COPY_AND_ASSIGN(NativeMessageProcessHost); |
181 }; | 180 }; |
182 | 181 |
183 } // namespace extensions | 182 } // namespace extensions |
184 | 183 |
185 #endif // CHROME_BROWSER_EXTENSIONS_API_MESSAGING_NATIVE_MESSAGE_PROCESS_HOST_H
_ | 184 #endif // CHROME_BROWSER_EXTENSIONS_API_MESSAGING_NATIVE_MESSAGE_PROCESS_HOST_H
_ |
OLD | NEW |