diff options
Diffstat (limited to 'chromium/third_party/mtpd/source/device_event_delegate.h')
-rw-r--r-- | chromium/third_party/mtpd/source/device_event_delegate.h | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/chromium/third_party/mtpd/source/device_event_delegate.h b/chromium/third_party/mtpd/source/device_event_delegate.h deleted file mode 100644 index 213308351ea..00000000000 --- a/chromium/third_party/mtpd/source/device_event_delegate.h +++ /dev/null @@ -1,26 +0,0 @@ -// Copyright (c) 2012 The Chromium OS Authors. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -#ifndef MTPD_DEVICE_EVENT_DELEGATE_H_ -#define MTPD_DEVICE_EVENT_DELEGATE_H_ - -#include <string> - -namespace mtpd { - -// An interface to allow a delegate to handle MTP storage attach/detach events. -class DeviceEventDelegate { - public: - virtual ~DeviceEventDelegate() {} - - // Called when a new MTP storage is added. - virtual void StorageAttached(const std::string& storage_name) = 0; - - // Called when a new MTP storage is removed. - virtual void StorageDetached(const std::string& storage_name) = 0; -}; - -} // namespace mtpd - -#endif // MTPD_DEVICE_EVENT_DELEGATE_H_ |