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

Unified Diff: chrome/browser/chromeos/drive/mock_drive_file_system.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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/chromeos/drive/mock_drive_file_system.h
diff --git a/chrome/browser/chromeos/drive/mock_drive_file_system.h b/chrome/browser/chromeos/drive/mock_drive_file_system.h
index d89ba6036a4e3304ccf53d3dfdb9fa8b611f1ffd..8498060b94c34d91efd41215f2b82ca7f90b6c6f 100644
--- a/chrome/browser/chromeos/drive/mock_drive_file_system.h
+++ b/chrome/browser/chromeos/drive/mock_drive_file_system.h
@@ -10,7 +10,7 @@
#include "chrome/browser/chromeos/drive/drive_file_system_interface.h"
#include "testing/gmock/include/gmock/gmock.h"
-namespace gdata {
+namespace drive {
class DriveFileSystemObserver;
@@ -70,11 +70,11 @@ class MockDriveFileSystem : public DriveFileSystemInterface {
MOCK_METHOD3(GetFileByPath,
void(const FilePath& file_path,
const GetFileCallback& get_file_callback,
- const GetContentCallback& get_content_callback));
+ const gdata::GetContentCallback& get_content_callback));
MOCK_METHOD3(GetFileByResourceId,
void(const std::string& resource_id,
const GetFileCallback& get_file_callback,
- const GetContentCallback& get_content_callback));
+ const gdata::GetContentCallback& get_content_callback));
MOCK_METHOD2(UpdateFileByResourceId,
void(const std::string& resource_id,
const FileOperationCallback& callback));
@@ -88,20 +88,20 @@ class MockDriveFileSystem : public DriveFileSystemInterface {
MOCK_METHOD1(GetAvailableSpace,
void(const GetAvailableSpaceCallback& callback));
// This function is not mockable by gmock because scoped_ptr is not supported.
- virtual void AddUploadedFile(UploadMode upload_mode,
+ virtual void AddUploadedFile(gdata::UploadMode upload_mode,
const FilePath& file,
- scoped_ptr<DocumentEntry> entry,
+ scoped_ptr<gdata::DocumentEntry> entry,
const FilePath& file_content_path,
DriveCache::FileOperationType cache_operation,
const base::Closure& callback) OVERRIDE {}
// This function is not mockable by gmock because scoped_ptr is not supported.
virtual void UpdateEntryData(const std::string& resource_id,
const std::string& md5,
- scoped_ptr<DocumentEntry> entry,
+ scoped_ptr<gdata::DocumentEntry> entry,
const FilePath& file_content_path,
const base::Closure& callback) OVERRIDE {}
};
-} // namespace gdata
+} // namespace drive
#endif // CHROME_BROWSER_CHROMEOS_DRIVE_MOCK_DRIVE_FILE_SYSTEM_H_
« no previous file with comments | « chrome/browser/chromeos/drive/mock_drive_cache_observer.cc ('k') | chrome/browser/chromeos/drive/mock_drive_file_system.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698