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

Unified Diff: chrome/browser/google_apis/mock_drive_service.h

Issue 12163003: Add FilePath to base namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 11 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
« no previous file with comments | « chrome/browser/google_apis/gdata_wapi_service.h ('k') | chrome/browser/google_apis/test_util.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/google_apis/mock_drive_service.h
diff --git a/chrome/browser/google_apis/mock_drive_service.h b/chrome/browser/google_apis/mock_drive_service.h
index 42cbfe95ba2d070b586b64ba2b8ccf797d1c92f8..eb8a9dc5bcc589ccd538ae9ac77c4a67ff26c925 100644
--- a/chrome/browser/google_apis/mock_drive_service.h
+++ b/chrome/browser/google_apis/mock_drive_service.h
@@ -13,7 +13,9 @@
#include "chrome/browser/google_apis/drive_service_interface.h"
#include "testing/gmock/include/gmock/gmock.h"
+namespace base {
class FilePath;
+}
namespace google_apis {
@@ -30,7 +32,7 @@ class MockDriveService : public DriveServiceInterface {
void(DriveServiceObserver* observer));
MOCK_CONST_METHOD0(CanStartOperation, bool());
MOCK_METHOD0(CancelAll, void(void));
- MOCK_METHOD1(CancelForFilePath, bool(const FilePath& file_path));
+ MOCK_METHOD1(CancelForFilePath, bool(const base::FilePath& file_path));
MOCK_CONST_METHOD0(GetProgressStatusList,
OperationProgressStatusList());
MOCK_CONST_METHOD0(GetRootResourceId, std::string());
@@ -72,8 +74,8 @@ class MockDriveService : public DriveServiceInterface {
const GetResourceEntryCallback& callback));
MOCK_METHOD5(
DownloadFile,
- void(const FilePath& virtual_path,
- const FilePath& local_cache_path,
+ void(const base::FilePath& virtual_path,
+ const base::FilePath& local_cache_path,
const GURL& content_url,
const DownloadActionCallback&
donwload_action_callback,
@@ -151,8 +153,8 @@ class MockDriveService : public DriveServiceInterface {
// portion of the URL as the temporary file path. If |file_data_| is not null,
// |file_data_| is written to the temporary file.
void DownloadFileStub(
- const FilePath& virtual_path,
- const FilePath& local_tmp_path,
+ const base::FilePath& virtual_path,
+ const base::FilePath& local_tmp_path,
const GURL& content_url,
const DownloadActionCallback& download_action_callback,
const GetContentCallback& get_content_callback);
« no previous file with comments | « chrome/browser/google_apis/gdata_wapi_service.h ('k') | chrome/browser/google_apis/test_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698