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 // |
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(); | 18 void AddRefBroker(); |
19 void ReleaseModuleWorkerThread(); | 19 void ReleaseBroker(); |
20 | 20 |
21 // Fires an event to the broker, so that the call can be made with an | 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. | 22 // instance of a broker proxy that was CoCreated in the worker thread. |
23 void FireEventToBroker(const std::string& event_name, | 23 void FireEventToBroker(const std::string& event_name, |
24 const std::string& event_args); | 24 const std::string& event_args); |
25 | 25 |
26 void Lock(); | 26 void Lock(); |
27 void Unlock(); | 27 void Unlock(); |
28 | 28 |
29 LONG LockModule(); | 29 LONG LockModule(); |
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
95 | 95 |
96 // The name of the Internet Explorer executable. | 96 // The name of the Internet Explorer executable. |
97 extern const wchar_t kInternetExplorerModuleName[]; | 97 extern const wchar_t kInternetExplorerModuleName[]; |
98 | 98 |
99 // The name of the CEEE Broker executable. | 99 // The name of the CEEE Broker executable. |
100 extern const wchar_t kCeeeBrokerModuleName[]; | 100 extern const wchar_t kCeeeBrokerModuleName[]; |
101 | 101 |
102 } // namespace | 102 } // namespace |
103 | 103 |
104 #endif // CEEE_IE_COMMON_TOOLBAND_MODULE_UTIL_H__ | 104 #endif // CEEE_IE_COMMON_TOOLBAND_MODULE_UTIL_H__ |
OLD | NEW |