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

Side by Side Diff: chrome_frame/custom_sync_call_context.h

Issue 9114020: Remove task.h and finish base::Bind() migration. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix typo Created 8 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 | Annotate | Revision Log
« no previous file with comments | « chrome_frame/chrome_frame_delegate.h ('k') | chrome_frame/external_tab.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 (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_FRAME_CUSTOM_SYNC_CALL_CONTEXT_H_ 5 #ifndef CHROME_FRAME_CUSTOM_SYNC_CALL_CONTEXT_H_
6 #define CHROME_FRAME_CUSTOM_SYNC_CALL_CONTEXT_H_ 6 #define CHROME_FRAME_CUSTOM_SYNC_CALL_CONTEXT_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
11 #include "base/synchronization/waitable_event.h" 11 #include "base/synchronization/waitable_event.h"
12 #include "base/tuple.h"
12 #include "chrome_frame/sync_msg_reply_dispatcher.h" 13 #include "chrome_frame/sync_msg_reply_dispatcher.h"
13 #include "chrome_frame/chrome_frame_automation.h" 14 #include "chrome_frame/chrome_frame_automation.h"
14 #include "ipc/ipc_sync_message.h" 15 #include "ipc/ipc_sync_message.h"
15 16
16 // Class that maintains contextual information for the create and connect 17 // Class that maintains contextual information for the create and connect
17 // external tab operations. 18 // external tab operations.
18 class CreateExternalTabContext 19 class CreateExternalTabContext
19 : public SyncMessageReplyDispatcher::SyncMessageCallContext { 20 : public SyncMessageReplyDispatcher::SyncMessageCallContext {
20 public: 21 public:
21 typedef Tuple4<HWND, HWND, int, int> output_type; 22 typedef Tuple4<HWND, HWND, int, int> output_type;
(...skipping 30 matching lines...) Expand all
52 UnloadContext(base::WaitableEvent* unload_done, bool* should_unload); 53 UnloadContext(base::WaitableEvent* unload_done, bool* should_unload);
53 54
54 void Completed(bool should_unload); 55 void Completed(bool should_unload);
55 56
56 private: 57 private:
57 base::WaitableEvent* unload_done_; 58 base::WaitableEvent* unload_done_;
58 bool* should_unload_; 59 bool* should_unload_;
59 }; 60 };
60 61
61 #endif // CHROME_FRAME_CUSTOM_SYNC_CALL_CONTEXT_H_ 62 #endif // CHROME_FRAME_CUSTOM_SYNC_CALL_CONTEXT_H_
OLDNEW
« no previous file with comments | « chrome_frame/chrome_frame_delegate.h ('k') | chrome_frame/external_tab.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698