blob: 4fea9adab8195a9e9f67845b9aa728b3c37c8041 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
// Copyright (c) 2010 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_CROS_FAKE_MOUNT_LIBRARY_H_
#define CHROME_BROWSER_CHROMEOS_CROS_FAKE_MOUNT_LIBRARY_H_
#include "chrome/browser/chromeos/cros/mount_library.h"
#include "third_party/cros/chromeos_mount.h"
namespace chromeos {
class FakeMountLibrary : public MountLibrary {
public:
FakeMountLibrary() {}
virtual ~FakeMountLibrary() {}
virtual void AddObserver(Observer* observer);
virtual void RemoveObserver(Observer* observer);
virtual const DiskVector& disks() const { return disks_; }
virtual bool MountPath(const char* device_path);
private:
DiskVector disks_;
};
} // namespace chromeos
#endif // CHROME_BROWSER_CHROMEOS_CROS_FAKE_MOUNT_LIBRARY_H_
|