Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(118)

Side by Side Diff: chrome/browser/chromeos/drive/mock_directory_change_observer.h

Issue 11106007: drive: Rename 'gdata' namespace to 'drive' in chrome/browser/chromeos/drive (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 8 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_CHROMEOS_DRIVE_MOCK_DIRECTORY_CHANGE_OBSERVER_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_DRIVE_MOCK_DIRECTORY_CHANGE_OBSERVER_H_
6 #define CHROME_BROWSER_CHROMEOS_DRIVE_MOCK_DIRECTORY_CHANGE_OBSERVER_H_ 6 #define CHROME_BROWSER_CHROMEOS_DRIVE_MOCK_DIRECTORY_CHANGE_OBSERVER_H_
7 7
8 #include "base/file_path.h" 8 #include "base/file_path.h"
9 #include "chrome/browser/chromeos/drive/drive_file_system_observer.h" 9 #include "chrome/browser/chromeos/drive/drive_file_system_observer.h"
10 #include "testing/gmock/include/gmock/gmock.h" 10 #include "testing/gmock/include/gmock/gmock.h"
11 11
12 namespace gdata { 12 namespace drive {
13 13
14 // Mock for DriveFileSystemInterface::Observer::OnDirectoryChanged(). 14 // Mock for DriveFileSystemInterface::Observer::OnDirectoryChanged().
15 class MockDirectoryChangeObserver : public DriveFileSystemObserver { 15 class MockDirectoryChangeObserver : public DriveFileSystemObserver {
16 public: 16 public:
17 MockDirectoryChangeObserver(); 17 MockDirectoryChangeObserver();
18 virtual ~MockDirectoryChangeObserver(); 18 virtual ~MockDirectoryChangeObserver();
19 19
20 // DriveFileSystemInterface::Observer overrides. 20 // DriveFileSystemInterface::Observer overrides.
21 MOCK_METHOD1(OnDirectoryChanged, void(const FilePath& directory_path)); 21 MOCK_METHOD1(OnDirectoryChanged, void(const FilePath& directory_path));
22 }; 22 };
23 23
24 } // namespace gdata 24 } // namespace drive
25 25
26 #endif // CHROME_BROWSER_CHROMEOS_DRIVE_MOCK_DIRECTORY_CHANGE_OBSERVER_H_ 26 #endif // CHROME_BROWSER_CHROMEOS_DRIVE_MOCK_DIRECTORY_CHANGE_OBSERVER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698