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

Side by Side Diff: ceee/ie/broker/chrome_postman.h

Issue 6028009: Move base/thread.h to base/threading, fix up callers to use the new location.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 9 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 | « base/win/win_util.cc ('k') | ceee/ie/plugin/bho/executor_com_unittest.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) 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 //
5 // @file 5 // @file
6 // Broke Postman implementation. 6 // Broke Postman implementation.
7 7
8 #ifndef CEEE_IE_BROKER_CHROME_POSTMAN_H_ 8 #ifndef CEEE_IE_BROKER_CHROME_POSTMAN_H_
9 #define CEEE_IE_BROKER_CHROME_POSTMAN_H_ 9 #define CEEE_IE_BROKER_CHROME_POSTMAN_H_
10 10
11 #include "base/singleton.h" 11 #include "base/singleton.h"
12 #include "base/thread.h" 12 #include "base/threading/thread.h"
13 #include "ceee/ie/common/chrome_frame_host.h" 13 #include "ceee/ie/common/chrome_frame_host.h"
14 14
15 #include "broker_lib.h" // NOLINT 15 #include "broker_lib.h" // NOLINT
16 16
17 // The Broker Postman singleton object wrapping the ChromeFrameHost 17 // The Broker Postman singleton object wrapping the ChromeFrameHost
18 // class so that it can receive API invocation from Chrome Frame, and also 18 // class so that it can receive API invocation from Chrome Frame, and also
19 // dispatch response and events to it. 19 // dispatch response and events to it.
20 // 20 //
21 // Since Chrome Frame must be access from a Single Thread Apartment, this 21 // Since Chrome Frame must be access from a Single Thread Apartment, this
22 // object must only call it in an STA, so the PostMessage method must post a 22 // object must only call it in an STA, so the PostMessage method must post a
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
127 ApiInvocationWorkerThread api_worker_thread_; 127 ApiInvocationWorkerThread api_worker_thread_;
128 128
129 // The number of times we tried to launch ChromeFrame. 129 // The number of times we tried to launch ChromeFrame.
130 int frame_reset_count_; 130 int frame_reset_count_;
131 131
132 // "in the end, there should be only one!" :-) 132 // "in the end, there should be only one!" :-)
133 static ChromePostman* single_instance_; 133 static ChromePostman* single_instance_;
134 }; 134 };
135 135
136 #endif // CEEE_IE_BROKER_CHROME_POSTMAN_H_ 136 #endif // CEEE_IE_BROKER_CHROME_POSTMAN_H_
OLDNEW
« no previous file with comments | « base/win/win_util.cc ('k') | ceee/ie/plugin/bho/executor_com_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698