summaryrefslogtreecommitdiffstats
path: root/chrome/browser/chromeos/device_hierarchy_observer.h
blob: 8b360af1f78d3b0b371293661e42cd63efe40622 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// Copyright (c) 2011 The Chromium 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 CHROME_BROWSER_CHROMEOS_DEVICE_HIERARCHY_OBSERVER_H_
#define CHROME_BROWSER_CHROMEOS_DEVICE_HIERARCHY_OBSERVER_H_
#pragma once

namespace chromeos {

// Observers receive notifications when a device has been added/removed.
class DeviceHierarchyObserver {
 public:
  virtual void DeviceHierarchyChanged() = 0;

 protected:
  virtual ~DeviceHierarchyObserver() {}
};

}  // namespace chromeos

#endif  // CHROME_BROWSER_CHROMEOS_DEVICE_HIERARCHY_OBSERVER_H_