| 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 // All functions return true on success and false on error. | 8 // All functions return true on success and false on error. |
| 9 // This implemenation is thread safe. | 9 // This implemenation is thread safe. |
| 10 | 10 |
| 11 | 11 |
| 12 #ifndef RLZ_LIB_RLZ_LIB_H_ | 12 #ifndef RLZ_LIB_RLZ_LIB_H_ |
| 13 #define RLZ_LIB_RLZ_LIB_H_ | 13 #define RLZ_LIB_RLZ_LIB_H_ |
| 14 | 14 |
| 15 #include <stddef.h> |
| 15 #include <stdio.h> | 16 #include <stdio.h> |
| 16 #include <string> | 17 #include <string> |
| 17 | 18 |
| 18 #include "build/build_config.h" | 19 #include "build/build_config.h" |
| 19 | 20 |
| 20 #include "rlz/lib/rlz_enums.h" | 21 #include "rlz/lib/rlz_enums.h" |
| 21 | 22 |
| 22 #if defined(OS_WIN) | 23 #if defined(OS_WIN) |
| 23 #define RLZ_LIB_API __cdecl | 24 #define RLZ_LIB_API __cdecl |
| 24 #else | 25 #else |
| (...skipping 317 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 342 | 343 |
| 343 static const std::string& GetBrand(); | 344 static const std::string& GetBrand(); |
| 344 | 345 |
| 345 private: | 346 private: |
| 346 ScopedRlzValueStoreLock* lock_; | 347 ScopedRlzValueStoreLock* lock_; |
| 347 }; | 348 }; |
| 348 | 349 |
| 349 } // namespace rlz_lib | 350 } // namespace rlz_lib |
| 350 | 351 |
| 351 #endif // RLZ_LIB_RLZ_LIB_H_ | 352 #endif // RLZ_LIB_RLZ_LIB_H_ |
| OLD | NEW |