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

Side by Side Diff: chrome/browser/chromeos/gdata/mock_drive_file_system.h

Issue 10874028: Rename GDataFileSystem* to DriveFileSystem* (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remaining manual changes Created 8 years, 4 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_GDATA_MOCK_GDATA_FILE_SYSTEM_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_GDATA_MOCK_DRIVE_FILE_SYSTEM_H_
6 #define CHROME_BROWSER_CHROMEOS_GDATA_MOCK_GDATA_FILE_SYSTEM_H_ 6 #define CHROME_BROWSER_CHROMEOS_GDATA_MOCK_DRIVE_FILE_SYSTEM_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "chrome/browser/chromeos/gdata/gdata_file_system_interface.h" 10 #include "chrome/browser/chromeos/gdata/drive_file_system_interface.h"
11 #include "testing/gmock/include/gmock/gmock.h" 11 #include "testing/gmock/include/gmock/gmock.h"
12 12
13 namespace gdata { 13 namespace gdata {
14 14
15 // Mock for GDataFileSystemInterface. 15 // Mock for DriveFileSystemInterface.
16 class MockGDataFileSystem : public GDataFileSystemInterface { 16 class MockDriveFileSystem : public DriveFileSystemInterface {
17 public: 17 public:
18 MockGDataFileSystem(); 18 MockDriveFileSystem();
19 virtual ~MockGDataFileSystem(); 19 virtual ~MockDriveFileSystem();
20 20
21 // GDataFileSystemInterface overrides. 21 // DriveFileSystemInterface overrides.
22 MOCK_METHOD0(Initialize, void()); 22 MOCK_METHOD0(Initialize, void());
23 MOCK_METHOD1(AddObserver, void(Observer* observer)); 23 MOCK_METHOD1(AddObserver, void(Observer* observer));
24 MOCK_METHOD1(RemoveObserver, void(Observer* observer)); 24 MOCK_METHOD1(RemoveObserver, void(Observer* observer));
25 MOCK_METHOD0(StartUpdates, void()); 25 MOCK_METHOD0(StartUpdates, void());
26 MOCK_METHOD0(StopUpdates, void()); 26 MOCK_METHOD0(StopUpdates, void());
27 MOCK_METHOD0(NotifyFileSystemMounted, void()); 27 MOCK_METHOD0(NotifyFileSystemMounted, void());
28 MOCK_METHOD0(NotifyFileSystemToBeUnmounted, void()); 28 MOCK_METHOD0(NotifyFileSystemToBeUnmounted, void());
29 MOCK_METHOD0(CheckForUpdates, void()); 29 MOCK_METHOD0(CheckForUpdates, void());
30 MOCK_METHOD2(GetEntryInfoByResourceId, 30 MOCK_METHOD2(GetEntryInfoByResourceId,
31 void(const std::string& resource_id, 31 void(const std::string& resource_id,
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 // This function is not mockable by gmock because scoped_ptr is not supported. 93 // This function is not mockable by gmock because scoped_ptr is not supported.
94 virtual void UpdateEntryData(const std::string& resource_id, 94 virtual void UpdateEntryData(const std::string& resource_id,
95 const std::string& md5, 95 const std::string& md5,
96 scoped_ptr<DocumentEntry> entry, 96 scoped_ptr<DocumentEntry> entry,
97 const FilePath& file_content_path, 97 const FilePath& file_content_path,
98 const base::Closure& callback) OVERRIDE {} 98 const base::Closure& callback) OVERRIDE {}
99 }; 99 };
100 100
101 } // namespace gdata 101 } // namespace gdata
102 102
103 #endif // CHROME_BROWSER_CHROMEOS_GDATA_MOCK_GDATA_FILE_SYSTEM_H_ 103 #endif // CHROME_BROWSER_CHROMEOS_GDATA_MOCK_DRIVE_FILE_SYSTEM_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698