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

Side by Side Diff: rlz/win/dll/exports.cc

Issue 2857343004: Add rlz_utils as a new build target to rlz/ (Closed)
Patch Set: build.gn fix Created 3 years, 7 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
« no previous file with comments | « rlz/lib/rlz_lib_test.cc ('k') | rlz/win/lib/machine_deal.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) 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
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 }
OLDNEW
« no previous file with comments | « rlz/lib/rlz_lib_test.cc ('k') | rlz/win/lib/machine_deal.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698