OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 // Functions exported by the RLZ DLL. | 5 // Functions exported by the RLZ DLL. |
6 | 6 |
7 #include <stddef.h> | 7 #include <stddef.h> |
8 | 8 |
| 9 #include "rlz/lib/net_response_check.h" |
9 #include "rlz/lib/rlz_lib.h" | 10 #include "rlz/lib/rlz_lib.h" |
10 | 11 |
11 #define RLZ_DLL_EXPORT extern "C" __declspec(dllexport) | 12 #define RLZ_DLL_EXPORT extern "C" __declspec(dllexport) |
12 | 13 |
13 RLZ_DLL_EXPORT bool RecordProductEvent(rlz_lib::Product product, | 14 RLZ_DLL_EXPORT bool RecordProductEvent(rlz_lib::Product product, |
14 rlz_lib::AccessPoint point, | 15 rlz_lib::AccessPoint point, |
15 rlz_lib::Event event_id) { | 16 rlz_lib::Event event_id) { |
16 return rlz_lib::RecordProductEvent(product, point, event_id); | 17 return rlz_lib::RecordProductEvent(product, point, event_id); |
17 } | 18 } |
18 | 19 |
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
101 const char* product_lang, | 102 const char* product_lang, |
102 bool exclude_machine_id) { | 103 bool exclude_machine_id) { |
103 return rlz_lib::SendFinancialPing(product, access_points, product_signature, | 104 return rlz_lib::SendFinancialPing(product, access_points, product_signature, |
104 product_brand, product_id, product_lang, exclude_machine_id, true); | 105 product_brand, product_id, product_lang, exclude_machine_id, true); |
105 } | 106 } |
106 | 107 |
107 RLZ_DLL_EXPORT void ClearProductState( | 108 RLZ_DLL_EXPORT void ClearProductState( |
108 rlz_lib::Product product, const rlz_lib::AccessPoint* access_points) { | 109 rlz_lib::Product product, const rlz_lib::AccessPoint* access_points) { |
109 return rlz_lib::ClearProductState(product, access_points); | 110 return rlz_lib::ClearProductState(product, access_points); |
110 } | 111 } |
OLD | NEW |