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 // A library to manage RLZ information for access-points shared | 5 // A library to manage RLZ information for access-points shared |
6 // across different client applications. | 6 // across different client applications. |
7 | 7 |
8 #include "rlz/lib/rlz_lib.h" | 8 #include "rlz/lib/rlz_lib.h" |
9 | 9 |
10 #include <windows.h> | 10 #include <windows.h> |
11 #include <aclapi.h> | 11 #include <aclapi.h> |
| 12 #include <stddef.h> |
12 #include <winerror.h> | 13 #include <winerror.h> |
13 | 14 |
14 #include "base/basictypes.h" | |
15 #include "base/win/registry.h" | 15 #include "base/win/registry.h" |
16 #include "rlz/lib/assert.h" | 16 #include "rlz/lib/assert.h" |
17 #include "rlz/lib/rlz_value_store.h" | 17 #include "rlz/lib/rlz_value_store.h" |
18 #include "rlz/win/lib/machine_deal.h" | 18 #include "rlz/win/lib/machine_deal.h" |
19 #include "rlz/win/lib/rlz_value_store_registry.h" | 19 #include "rlz/win/lib/rlz_value_store_registry.h" |
20 | 20 |
21 namespace rlz_lib { | 21 namespace rlz_lib { |
22 | 22 |
23 // OEM Deal confirmation storage functions. | 23 // OEM Deal confirmation storage functions. |
24 | 24 |
(...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
200 return MachineDealCode::Get(dcc, dcc_size); | 200 return MachineDealCode::Get(dcc, dcc_size); |
201 } | 201 } |
202 | 202 |
203 // Combined functions. | 203 // Combined functions. |
204 | 204 |
205 bool SetMachineDealCodeFromPingResponse(const char* response) { | 205 bool SetMachineDealCodeFromPingResponse(const char* response) { |
206 return MachineDealCode::SetFromPingResponse(response); | 206 return MachineDealCode::SetFromPingResponse(response); |
207 } | 207 } |
208 | 208 |
209 } // namespace rlz_lib | 209 } // namespace rlz_lib |
OLD | NEW |