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: ceee/ie/common/ceee_module_util.h

Issue 4989002: Firing event to broker without worker thread. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 years, 1 month 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 | « ceee/ie/broker/window_events_funnel_unittest.cc ('k') | ceee/ie/ie.gyp » ('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 // CEEE module-wide utilities. 5 // CEEE module-wide utilities.
6 6
7 #ifndef CEEE_IE_COMMON_TOOLBAND_MODULE_UTIL_H__ 7 #ifndef CEEE_IE_COMMON_TOOLBAND_MODULE_UTIL_H__
8 #define CEEE_IE_COMMON_TOOLBAND_MODULE_UTIL_H__ 8 #define CEEE_IE_COMMON_TOOLBAND_MODULE_UTIL_H__
9 9
10 #include <wtypes.h> 10 #include <wtypes.h>
11 #include <string> 11 #include <string>
12 12
13 #include "base/file_path.h" 13 #include "base/file_path.h"
14 #include "base/time.h" 14 #include "base/time.h"
15 15
16 namespace ceee_module_util { 16 namespace ceee_module_util {
17 17
18 void AddRefModuleWorkerThread();
19 void ReleaseModuleWorkerThread();
20
21 // Fires an event to the broker, so that the call can be made with an
22 // instance of a broker proxy that was CoCreated in the worker thread.
23 void FireEventToBroker(const std::string& event_name,
24 const std::string& event_args);
25
26 void Lock(); 18 void Lock();
27 void Unlock(); 19 void Unlock();
28 20
29 LONG LockModule(); 21 LONG LockModule();
30 LONG UnlockModule(); 22 LONG UnlockModule();
31 23
32 class AutoLock { 24 class AutoLock {
33 public: 25 public:
34 AutoLock() { 26 AutoLock() {
35 Lock(); 27 Lock();
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 87
96 // The name of the Internet Explorer executable. 88 // The name of the Internet Explorer executable.
97 extern const wchar_t kInternetExplorerModuleName[]; 89 extern const wchar_t kInternetExplorerModuleName[];
98 90
99 // The name of the CEEE Broker executable. 91 // The name of the CEEE Broker executable.
100 extern const wchar_t kCeeeBrokerModuleName[]; 92 extern const wchar_t kCeeeBrokerModuleName[];
101 93
102 } // namespace 94 } // namespace
103 95
104 #endif // CEEE_IE_COMMON_TOOLBAND_MODULE_UTIL_H__ 96 #endif // CEEE_IE_COMMON_TOOLBAND_MODULE_UTIL_H__
OLDNEW
« no previous file with comments | « ceee/ie/broker/window_events_funnel_unittest.cc ('k') | ceee/ie/ie.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698