| // Copyright (c) 2012 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_GDATA_MOCK_DIRECTORY_CHANGE_OBSERVER_H_ |
| #define CHROME_BROWSER_CHROMEOS_GDATA_MOCK_DIRECTORY_CHANGE_OBSERVER_H_ |
| |
| #include "chrome/browser/chromeos/gdata/drive_file_system_interface.h" |
| #include "testing/gmock/include/gmock/gmock.h" |
| |
| namespace gdata { |
| |
| // Mock for DriveFileSystemInterface::Observer::OnDirectoryChanged(). |
| class MockDirectoryChangeObserver : public DriveFileSystemInterface::Observer { |
| public: |
| MockDirectoryChangeObserver(); |
| virtual ~MockDirectoryChangeObserver(); |
| |
| // DriveFileSystemInterface::Observer overrides. |
| MOCK_METHOD1(OnDirectoryChanged, void(const FilePath& directory_path)); |
| }; |
| |
| } // namespace gdata |
| |
| #endif // CHROME_BROWSER_CHROMEOS_GDATA_MOCK_DIRECTORY_CHANGE_OBSERVER_H_ |