OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 COMPONENTS_METRICS_CLONED_INSTALL_DETECTOR_H_ | 5 #ifndef COMPONENTS_METRICS_CLONED_INSTALL_DETECTOR_H_ |
6 #define COMPONENTS_METRICS_CLONED_INSTALL_DETECTOR_H_ | 6 #define COMPONENTS_METRICS_CLONED_INSTALL_DETECTOR_H_ |
7 | 7 |
8 #include "base/gtest_prod_util.h" | 8 #include "base/gtest_prod_util.h" |
| 9 #include "base/macros.h" |
9 #include "base/memory/ref_counted.h" | 10 #include "base/memory/ref_counted.h" |
10 #include "base/memory/weak_ptr.h" | 11 #include "base/memory/weak_ptr.h" |
11 | 12 |
12 class PrefRegistrySimple; | 13 class PrefRegistrySimple; |
13 class PrefService; | 14 class PrefService; |
14 | 15 |
15 namespace base { | 16 namespace base { |
16 class SingleThreadTaskRunner; | 17 class SingleThreadTaskRunner; |
17 } | 18 } |
18 | 19 |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
50 | 51 |
51 scoped_refptr<MachineIdProvider> raw_id_provider_; | 52 scoped_refptr<MachineIdProvider> raw_id_provider_; |
52 base::WeakPtrFactory<ClonedInstallDetector> weak_ptr_factory_; | 53 base::WeakPtrFactory<ClonedInstallDetector> weak_ptr_factory_; |
53 | 54 |
54 DISALLOW_COPY_AND_ASSIGN(ClonedInstallDetector); | 55 DISALLOW_COPY_AND_ASSIGN(ClonedInstallDetector); |
55 }; | 56 }; |
56 | 57 |
57 } // namespace metrics | 58 } // namespace metrics |
58 | 59 |
59 #endif // COMPONENTS_METRICS_CLONED_INSTALL_DETECTOR_H_ | 60 #endif // COMPONENTS_METRICS_CLONED_INSTALL_DETECTOR_H_ |
OLD | NEW |