| 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> |
| 8 |
| 7 #include "rlz/lib/rlz_lib.h" | 9 #include "rlz/lib/rlz_lib.h" |
| 8 | 10 |
| 9 #define RLZ_DLL_EXPORT extern "C" __declspec(dllexport) | 11 #define RLZ_DLL_EXPORT extern "C" __declspec(dllexport) |
| 10 | 12 |
| 11 RLZ_DLL_EXPORT bool RecordProductEvent(rlz_lib::Product product, | 13 RLZ_DLL_EXPORT bool RecordProductEvent(rlz_lib::Product product, |
| 12 rlz_lib::AccessPoint point, | 14 rlz_lib::AccessPoint point, |
| 13 rlz_lib::Event event_id) { | 15 rlz_lib::Event event_id) { |
| 14 return rlz_lib::RecordProductEvent(product, point, event_id); | 16 return rlz_lib::RecordProductEvent(product, point, event_id); |
| 15 } | 17 } |
| 16 | 18 |
| (...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 99 const char* product_lang, | 101 const char* product_lang, |
| 100 bool exclude_machine_id) { | 102 bool exclude_machine_id) { |
| 101 return rlz_lib::SendFinancialPing(product, access_points, product_signature, | 103 return rlz_lib::SendFinancialPing(product, access_points, product_signature, |
| 102 product_brand, product_id, product_lang, exclude_machine_id, true); | 104 product_brand, product_id, product_lang, exclude_machine_id, true); |
| 103 } | 105 } |
| 104 | 106 |
| 105 RLZ_DLL_EXPORT void ClearProductState( | 107 RLZ_DLL_EXPORT void ClearProductState( |
| 106 rlz_lib::Product product, const rlz_lib::AccessPoint* access_points) { | 108 rlz_lib::Product product, const rlz_lib::AccessPoint* access_points) { |
| 107 return rlz_lib::ClearProductState(product, access_points); | 109 return rlz_lib::ClearProductState(product, access_points); |
| 108 } | 110 } |
| OLD | NEW |