| OLD | NEW |
| (Empty) |
| 1 // Copyright 2017 The Chromium Authors. All rights reserved. | |
| 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 SERVICES_PREFERENCES_TRACKED_TEMP_SCOPED_DIR_CLEANER_H_ | |
| 6 #define SERVICES_PREFERENCES_TRACKED_TEMP_SCOPED_DIR_CLEANER_H_ | |
| 7 | |
| 8 #include "base/memory/ref_counted.h" | |
| 9 | |
| 10 // Helper object to clear additional data for scoped temporary pref stores. | |
| 11 class TempScopedDirCleaner | |
| 12 : public base::RefCountedThreadSafe<TempScopedDirCleaner> { | |
| 13 protected: | |
| 14 friend class base::RefCountedThreadSafe<TempScopedDirCleaner>; | |
| 15 virtual ~TempScopedDirCleaner(){}; | |
| 16 }; | |
| 17 | |
| 18 #endif // SERVICES_PREFERENCES_TRACKED_TEMP_SCOPED_DIR_CLEANER_H_ | |
| OLD | NEW |