Avi Drissman | 8ba1bad | 2022-09-13 19:22:36 | [diff] [blame] | 1 | // Copyright 2021 The Chromium Authors |
Scott Violet | a750b4b | 2021-06-07 19:39:21 | [diff] [blame] | 2 | // Use of this source code is governed by a BSD-style license that can be |
| 3 | // found in the LICENSE file. |
| 4 | |
| 5 | #ifndef COMPONENTS_VARIATIONS_SCOPED_VARIATIONS_IDS_PROVIDER_H_ |
| 6 | #define COMPONENTS_VARIATIONS_SCOPED_VARIATIONS_IDS_PROVIDER_H_ |
| 7 | |
| 8 | #include "components/variations/variations_ids_provider.h" |
| 9 | |
| 10 | namespace variations { |
| 11 | |
| 12 | class ScopedVariationsIdsProvider { |
| 13 | public: |
| 14 | explicit ScopedVariationsIdsProvider(VariationsIdsProvider::Mode mode); |
| 15 | ScopedVariationsIdsProvider(const ScopedVariationsIdsProvider&) = delete; |
| 16 | ScopedVariationsIdsProvider& operator=(const ScopedVariationsIdsProvider&) = |
| 17 | delete; |
| 18 | ~ScopedVariationsIdsProvider(); |
| 19 | }; |
| 20 | |
| 21 | } // namespace variations |
| 22 | |
| 23 | #endif // COMPONENTS_VARIATIONS_SCOPED_VARIATIONS_IDS_PROVIDER_H_ |