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

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

Issue 9742002: Wired GDataFileSystem::GetFile() method with internal cache. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merge Created 8 years, 9 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/mock_gdata_documents_service.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 "chrome/browser/chromeos/gdata/gdata_file_system.h" 9 #include "chrome/browser/chromeos/gdata/gdata_file_system.h"
10 #include "testing/gmock/include/gmock/gmock.h" 10 #include "testing/gmock/include/gmock/gmock.h"
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 std::vector<GDataOperationRegistry::ProgressStatus>()); 49 std::vector<GDataOperationRegistry::ProgressStatus>());
50 MOCK_METHOD1(CancelOperation, bool(const FilePath& file_path)); 50 MOCK_METHOD1(CancelOperation, bool(const FilePath& file_path));
51 MOCK_METHOD1(AddOperationObserver, 51 MOCK_METHOD1(AddOperationObserver,
52 void(GDataOperationRegistry::Observer* observer)); 52 void(GDataOperationRegistry::Observer* observer));
53 MOCK_METHOD1(RemoveOperationObserver, 53 MOCK_METHOD1(RemoveOperationObserver,
54 void(GDataOperationRegistry::Observer* observer)); 54 void(GDataOperationRegistry::Observer* observer));
55 MOCK_METHOD3(GetCacheState, void(const std::string& resource_id, 55 MOCK_METHOD3(GetCacheState, void(const std::string& resource_id,
56 const std::string& md5, 56 const std::string& md5,
57 const GetCacheStateCallback& callback)); 57 const GetCacheStateCallback& callback));
58 MOCK_METHOD2(GetFileInfoFromPath, bool(const FilePath& gdata_file_path, 58 MOCK_METHOD2(GetFileInfoFromPath, bool(const FilePath& gdata_file_path,
59 base::PlatformFileInfo* file_info)); 59 GDataFileProperties* properties));
60 MOCK_METHOD0(GetGDataCacheTmpDirectory, FilePath()); 60 MOCK_METHOD0(GetGDataCacheTmpDirectory, FilePath());
61 MOCK_METHOD1(GetAvailableSpace, 61 MOCK_METHOD1(GetAvailableSpace,
62 void(const GetAvailableSpaceCallback& callback)); 62 void(const GetAvailableSpaceCallback& callback));
63 }; 63 };
64 64
65 } // namespace gdata 65 } // namespace gdata
66 66
67 #endif // CHROME_BROWSER_CHROMEOS_GDATA_MOCK_GDATA_FILE_SYSTEM_H_ 67 #endif // CHROME_BROWSER_CHROMEOS_GDATA_MOCK_GDATA_FILE_SYSTEM_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/gdata/mock_gdata_documents_service.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698