scoped_clipboard_history_pause.h 667 B

123456789101112131415161718192021
  1. // Copyright 2020 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. #ifndef ASH_PUBLIC_CPP_SCOPED_CLIPBOARD_HISTORY_PAUSE_H_
  5. #define ASH_PUBLIC_CPP_SCOPED_CLIPBOARD_HISTORY_PAUSE_H_
  6. #include "ash/public/cpp/ash_public_export.h"
  7. namespace ash {
  8. // An object implemented in Ash that pauses ClipboardHistory for its lifetime.
  9. class ASH_PUBLIC_EXPORT ScopedClipboardHistoryPause {
  10. public:
  11. ScopedClipboardHistoryPause() = default;
  12. virtual ~ScopedClipboardHistoryPause() = default;
  13. };
  14. } // namespace ash
  15. #endif // ASH_PUBLIC_CPP_SCOPED_CLIPBOARD_HISTORY_PAUSE_H_