OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 #ifndef CHROME_FRAME_CUSTOM_SYNC_CALL_CONTEXT_H_ | 5 #ifndef CHROME_FRAME_CUSTOM_SYNC_CALL_CONTEXT_H_ |
5 #define CHROME_FRAME_CUSTOM_SYNC_CALL_CONTEXT_H_ | 6 #define CHROME_FRAME_CUSTOM_SYNC_CALL_CONTEXT_H_ |
6 | 7 |
7 #include <vector> | 8 #include <vector> |
8 #include "base/ref_counted.h" | 9 #include "base/ref_counted.h" |
9 #include "base/waitable_event.h" | 10 #include "base/synchronization/waitable_event.h" |
10 #include "chrome_frame/sync_msg_reply_dispatcher.h" | 11 #include "chrome_frame/sync_msg_reply_dispatcher.h" |
11 #include "chrome_frame/chrome_frame_automation.h" | 12 #include "chrome_frame/chrome_frame_automation.h" |
12 #include "ipc/ipc_sync_message.h" | 13 #include "ipc/ipc_sync_message.h" |
13 | 14 |
14 // TODO(ananta) | 15 // TODO(ananta) |
15 // Move the implementations of these classes to the source file. | 16 // Move the implementations of these classes to the source file. |
16 | 17 |
17 // Class that maintains context during the async load/install extension | 18 // Class that maintains context during the async load/install extension |
18 // operation. When done, InstallExtensionComplete is posted back to the UI | 19 // operation. When done, InstallExtensionComplete is posted back to the UI |
19 // thread so that the users of ChromeFrameAutomationClient can be notified. | 20 // thread so that the users of ChromeFrameAutomationClient can be notified. |
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
143 // This object will be destroyed after this. Cannot access any members | 144 // This object will be destroyed after this. Cannot access any members |
144 // on returning from this function. | 145 // on returning from this function. |
145 } | 146 } |
146 | 147 |
147 private: | 148 private: |
148 base::WaitableEvent* unload_done_; | 149 base::WaitableEvent* unload_done_; |
149 bool* should_unload_; | 150 bool* should_unload_; |
150 }; | 151 }; |
151 | 152 |
152 #endif // CHROME_FRAME_CUSTOM_SYNC_CALL_CONTEXT_H_ | 153 #endif // CHROME_FRAME_CUSTOM_SYNC_CALL_CONTEXT_H_ |
153 | |
154 | |
OLD | NEW |