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

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

Issue 10690028: gdata: Get rid of GDataFileSystem::GetCacheState() (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 5 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
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_GDATA_FILE_SYSTEM_H_
6 #define CHROME_BROWSER_CHROMEOS_GDATA_MOCK_GDATA_FILE_SYSTEM_H_ 6 #define CHROME_BROWSER_CHROMEOS_GDATA_MOCK_GDATA_FILE_SYSTEM_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 void(const FilePath& file_path, 61 void(const FilePath& file_path,
62 const GetFileCallback& get_file_callback, 62 const GetFileCallback& get_file_callback,
63 const GetDownloadDataCallback& get_download_data_callback)); 63 const GetDownloadDataCallback& get_download_data_callback));
64 MOCK_METHOD3(GetFileByResourceId, 64 MOCK_METHOD3(GetFileByResourceId,
65 void(const std::string& resource_id, 65 void(const std::string& resource_id,
66 const GetFileCallback& get_file_callback, 66 const GetFileCallback& get_file_callback,
67 const GetDownloadDataCallback& get_download_data_callback)); 67 const GetDownloadDataCallback& get_download_data_callback));
68 MOCK_METHOD2(UpdateFileByResourceId, 68 MOCK_METHOD2(UpdateFileByResourceId,
69 void(const std::string& resource_id, 69 void(const std::string& resource_id,
70 const FileOperationCallback& callback)); 70 const FileOperationCallback& callback));
71 MOCK_METHOD3(GetCacheState, void(const std::string& resource_id,
72 const std::string& md5,
73 const GetCacheStateCallback& callback));
74 MOCK_METHOD2(GetFileInfoByPath, void(const FilePath& file_path, 71 MOCK_METHOD2(GetFileInfoByPath, void(const FilePath& file_path,
75 const GetFileInfoCallback& callback)); 72 const GetFileInfoCallback& callback));
76 MOCK_METHOD2(GetEntryInfoByPath, void(const FilePath& file_path, 73 MOCK_METHOD2(GetEntryInfoByPath, void(const FilePath& file_path,
77 const GetEntryInfoCallback& callback)); 74 const GetEntryInfoCallback& callback));
78 MOCK_METHOD2(ReadDirectoryByPath, 75 MOCK_METHOD2(ReadDirectoryByPath,
79 void(const FilePath& file_path, 76 void(const FilePath& file_path,
80 const ReadDirectoryCallback& callback)); 77 const ReadDirectoryCallback& callback));
81 MOCK_METHOD1(RequestDirectoryRefresh, 78 MOCK_METHOD1(RequestDirectoryRefresh,
82 void(const FilePath& file_path)); 79 void(const FilePath& file_path));
83 MOCK_METHOD1(GetAvailableSpace, 80 MOCK_METHOD1(GetAvailableSpace,
84 void(const GetAvailableSpaceCallback& callback)); 81 void(const GetAvailableSpaceCallback& callback));
85 MOCK_METHOD6(AddUploadedFile, 82 MOCK_METHOD6(AddUploadedFile,
86 void(UploadMode upload_mode, 83 void(UploadMode upload_mode,
87 const FilePath& file, 84 const FilePath& file,
88 DocumentEntry* entry, 85 DocumentEntry* entry,
89 const FilePath& file_content_path, 86 const FilePath& file_content_path,
90 GDataCache::FileOperationType cache_operation, 87 GDataCache::FileOperationType cache_operation,
91 const base::Closure& callback)); 88 const base::Closure& callback));
92 }; 89 };
93 90
94 } // namespace gdata 91 } // namespace gdata
95 92
96 #endif // CHROME_BROWSER_CHROMEOS_GDATA_MOCK_GDATA_FILE_SYSTEM_H_ 93 #endif // CHROME_BROWSER_CHROMEOS_GDATA_MOCK_GDATA_FILE_SYSTEM_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698