1 // Copyright (c) 2013 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.
5 #include "chrome/browser/storage_monitor/mock_removable_storage_observer.h"
7 MockRemovableStorageObserver::MockRemovableStorageObserver()
8 : attach_calls_(0), detach_calls_(0) {
11 MockRemovableStorageObserver::~MockRemovableStorageObserver() {
14 void MockRemovableStorageObserver::OnRemovableStorageAttached(
15 const StorageInfo
& info
) {
17 last_attached_
= info
;
20 void MockRemovableStorageObserver::OnRemovableStorageDetached(
21 const StorageInfo
& info
) {
23 last_detached_
= info
;