| 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 #ifndef RLZ_CHROMEOS_LIB_RLZ_VALUE_STORE_CHROMEOS_H_ | 5 #ifndef RLZ_CHROMEOS_LIB_RLZ_VALUE_STORE_CHROMEOS_H_ |
| 6 #define RLZ_CHROMEOS_LIB_RLZ_VALUE_STORE_CHROMEOS_H_ | 6 #define RLZ_CHROMEOS_LIB_RLZ_VALUE_STORE_CHROMEOS_H_ |
| 7 | 7 |
| 8 #include <stddef.h> | 8 #include <stddef.h> |
| 9 #include <stdint.h> | 9 #include <stdint.h> |
| 10 | 10 |
| 11 #include <memory> | 11 #include <memory> |
| 12 | 12 |
| 13 #include "base/files/file_path.h" | 13 #include "base/files/file_path.h" |
| 14 #include "base/macros.h" | 14 #include "base/macros.h" |
| 15 #include "base/threading/non_thread_safe.h" | 15 #include "base/threading/non_thread_safe.h" |
| 16 #include "base/values.h" | 16 #include "base/values.h" |
| 17 #include "rlz/lib/rlz_value_store.h" | 17 #include "rlz/lib/rlz_value_store.h" |
| 18 | 18 |
| 19 namespace base { | 19 namespace base { |
| 20 class ListValue; | |
| 21 class SequencedTaskRunner; | 20 class SequencedTaskRunner; |
| 22 class Value; | 21 class Value; |
| 23 } | 22 } |
| 24 | 23 |
| 25 namespace rlz_lib { | 24 namespace rlz_lib { |
| 26 | 25 |
| 27 // An implementation of RlzValueStore for ChromeOS. | 26 // An implementation of RlzValueStore for ChromeOS. |
| 28 class RlzValueStoreChromeOS : public RlzValueStore, | 27 class RlzValueStoreChromeOS : public RlzValueStore, |
| 29 public base::NonThreadSafe { | 28 public base::NonThreadSafe { |
| 30 public: | 29 public: |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 82 base::FilePath store_path_; | 81 base::FilePath store_path_; |
| 83 | 82 |
| 84 bool read_only_; | 83 bool read_only_; |
| 85 | 84 |
| 86 DISALLOW_COPY_AND_ASSIGN(RlzValueStoreChromeOS); | 85 DISALLOW_COPY_AND_ASSIGN(RlzValueStoreChromeOS); |
| 87 }; | 86 }; |
| 88 | 87 |
| 89 } // namespace rlz_lib | 88 } // namespace rlz_lib |
| 90 | 89 |
| 91 #endif // RLZ_CHROMEOS_LIB_RLZ_VALUE_STORE_CHROMEOS_H_ | 90 #endif // RLZ_CHROMEOS_LIB_RLZ_VALUE_STORE_CHROMEOS_H_ |
| OLD | NEW |