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

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

Issue 16107004: drive: Stop returning FilePath from GetResourceEntryById (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 6 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_FILE_SYSTEM_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_DRIVE_MOCK_FILE_SYSTEM_H_
6 #define CHROME_BROWSER_CHROMEOS_DRIVE_MOCK_FILE_SYSTEM_H_ 6 #define CHROME_BROWSER_CHROMEOS_DRIVE_MOCK_FILE_SYSTEM_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "chrome/browser/chromeos/drive/file_system_interface.h" 10 #include "chrome/browser/chromeos/drive/file_system_interface.h"
(...skipping 10 matching lines...) Expand all
21 virtual ~MockFileSystem(); 21 virtual ~MockFileSystem();
22 22
23 // FileSystemInterface overrides. 23 // FileSystemInterface overrides.
24 MOCK_METHOD0(Initialize, void()); 24 MOCK_METHOD0(Initialize, void());
25 MOCK_METHOD1(AddObserver, void(FileSystemObserver* observer)); 25 MOCK_METHOD1(AddObserver, void(FileSystemObserver* observer));
26 MOCK_METHOD1(RemoveObserver, 26 MOCK_METHOD1(RemoveObserver,
27 void(FileSystemObserver* observer)); 27 void(FileSystemObserver* observer));
28 MOCK_METHOD0(CheckForUpdates, void()); 28 MOCK_METHOD0(CheckForUpdates, void());
29 MOCK_METHOD2(GetResourceEntryById, 29 MOCK_METHOD2(GetResourceEntryById,
30 void(const std::string& resource_id, 30 void(const std::string& resource_id,
31 const GetResourceEntryWithFilePathCallback& callback)); 31 const GetResourceEntryCallback& callback));
32 MOCK_METHOD3(Search, void(const std::string& search_query, 32 MOCK_METHOD3(Search, void(const std::string& search_query,
33 const GURL& next_feed, 33 const GURL& next_feed,
34 const SearchCallback& callback)); 34 const SearchCallback& callback));
35 MOCK_METHOD4(SearchMetadata, void(const std::string& query, 35 MOCK_METHOD4(SearchMetadata, void(const std::string& query,
36 int options, 36 int options,
37 int at_most_num_matches, 37 int at_most_num_matches,
38 const SearchMetadataCallback& callback)); 38 const SearchMetadataCallback& callback));
39 MOCK_METHOD3(TransferFileFromRemoteToLocal, 39 MOCK_METHOD3(TransferFileFromRemoteToLocal,
40 void(const base::FilePath& local_src_file_path, 40 void(const base::FilePath& local_src_file_path,
41 const base::FilePath& remote_dest_file_path, 41 const base::FilePath& remote_dest_file_path,
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
116 MOCK_METHOD3(GetCacheEntryByResourceId, 116 MOCK_METHOD3(GetCacheEntryByResourceId,
117 void(const std::string& resource_id, 117 void(const std::string& resource_id,
118 const std::string& md5, 118 const std::string& md5,
119 const GetCacheEntryCallback& callback)); 119 const GetCacheEntryCallback& callback));
120 MOCK_METHOD0(Reload, void()); 120 MOCK_METHOD0(Reload, void());
121 }; 121 };
122 122
123 } // namespace drive 123 } // namespace drive
124 124
125 #endif // CHROME_BROWSER_CHROMEOS_DRIVE_MOCK_FILE_SYSTEM_H_ 125 #endif // CHROME_BROWSER_CHROMEOS_DRIVE_MOCK_FILE_SYSTEM_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/drive/file_system_interface.h ('k') | chrome/browser/chromeos/drive/remove_stale_cache_files.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698