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

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

Issue 10546093: gdata: Move ownership of GDataCache to GDataSystemService (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add TODO Created 8 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
« no previous file with comments | « chrome/browser/chromeos/gdata/gdata_util.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 void(const FilePath& file_path, 73 void(const FilePath& file_path,
74 const GetFileInfoCallback& callback)); 74 const GetFileInfoCallback& callback));
75 MOCK_METHOD2(GetEntryInfoByPathAsync, 75 MOCK_METHOD2(GetEntryInfoByPathAsync,
76 void(const FilePath& file_path, 76 void(const FilePath& file_path,
77 const GetEntryInfoCallback& callback)); 77 const GetEntryInfoCallback& callback));
78 MOCK_METHOD2(ReadDirectoryByPathAsync, 78 MOCK_METHOD2(ReadDirectoryByPathAsync,
79 void(const FilePath& file_path, 79 void(const FilePath& file_path,
80 const ReadDirectoryCallback& callback)); 80 const ReadDirectoryCallback& callback));
81 MOCK_METHOD1(RequestDirectoryRefresh, 81 MOCK_METHOD1(RequestDirectoryRefresh,
82 void(const FilePath& file_path)); 82 void(const FilePath& file_path));
83 MOCK_CONST_METHOD1(IsUnderGDataCacheDirectory, bool(const FilePath& path));
84 MOCK_CONST_METHOD1(GetCacheDirectoryPath, FilePath(
85 GDataCache::CacheSubDirectoryType));
86 MOCK_CONST_METHOD4(GetCacheFilePath, FilePath(
87 const std::string&,
88 const std::string&,
89 GDataCache::CacheSubDirectoryType,
90 GDataCache::CachedFileOrigin));
91 MOCK_METHOD1(GetAvailableSpace, 83 MOCK_METHOD1(GetAvailableSpace,
92 void(const GetAvailableSpaceCallback& callback)); 84 void(const GetAvailableSpaceCallback& callback));
93 MOCK_METHOD3(SetPinState, void(const FilePath&, 85 MOCK_METHOD3(SetPinState, void(const FilePath&,
94 bool, 86 bool,
95 const FileOperationCallback& callback)); 87 const FileOperationCallback& callback));
96 MOCK_METHOD3(SetMountedState, void(const FilePath&, 88 MOCK_METHOD3(SetMountedState, void(const FilePath&,
97 bool, 89 bool,
98 const SetMountedStateCallback& callback)); 90 const SetMountedStateCallback& callback));
99 MOCK_METHOD4(AddUploadedFile, void(const FilePath& file, 91 MOCK_METHOD4(AddUploadedFile, void(const FilePath& file,
100 DocumentEntry* entry, 92 DocumentEntry* entry,
101 const FilePath& file_content_path, 93 const FilePath& file_content_path,
102 FileOperationType cache_operation)); 94 FileOperationType cache_operation));
103 MOCK_METHOD0(hide_hosted_documents, bool()); 95 MOCK_METHOD0(hide_hosted_documents, bool());
104 }; 96 };
105 97
106 } // namespace gdata 98 } // namespace gdata
107 99
108 #endif // CHROME_BROWSER_CHROMEOS_GDATA_MOCK_GDATA_FILE_SYSTEM_H_ 100 #endif // CHROME_BROWSER_CHROMEOS_GDATA_MOCK_GDATA_FILE_SYSTEM_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/gdata/gdata_util.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698