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

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

Issue 371883003: Files.app: Add an private API to get a download URL (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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_FAKE_FILE_SYSTEM_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_DRIVE_FAKE_FILE_SYSTEM_H_
6 #define CHROME_BROWSER_CHROMEOS_DRIVE_FAKE_FILE_SYSTEM_H_ 6 #define CHROME_BROWSER_CHROMEOS_DRIVE_FAKE_FILE_SYSTEM_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 const FileOperationCallback& completion_callback) OVERRIDE; 100 const FileOperationCallback& completion_callback) OVERRIDE;
101 virtual void Search(const std::string& search_query, 101 virtual void Search(const std::string& search_query,
102 const GURL& next_link, 102 const GURL& next_link,
103 const SearchCallback& callback) OVERRIDE; 103 const SearchCallback& callback) OVERRIDE;
104 virtual void SearchMetadata(const std::string& query, 104 virtual void SearchMetadata(const std::string& query,
105 int options, 105 int options,
106 int at_most_num_matches, 106 int at_most_num_matches,
107 const SearchMetadataCallback& callback) OVERRIDE; 107 const SearchMetadataCallback& callback) OVERRIDE;
108 virtual void GetAvailableSpace( 108 virtual void GetAvailableSpace(
109 const GetAvailableSpaceCallback& callback) OVERRIDE; 109 const GetAvailableSpaceCallback& callback) OVERRIDE;
110 virtual void GetShareUrl( 110 virtual void GetShareUrl(const base::FilePath& file_path,
111 const base::FilePath& file_path, 111 const GURL& embed_origin,
112 const GURL& embed_origin, 112 const GetUrlCallback& callback) OVERRIDE;
113 const GetShareUrlCallback& callback) OVERRIDE; 113 virtual void GetDownloadUrl(const base::FilePath& file_path,
114 const GetUrlCallback& callback) OVERRIDE;
114 virtual void GetMetadata( 115 virtual void GetMetadata(
115 const GetFilesystemMetadataCallback& callback) OVERRIDE; 116 const GetFilesystemMetadataCallback& callback) OVERRIDE;
116 virtual void MarkCacheFileAsMounted( 117 virtual void MarkCacheFileAsMounted(
117 const base::FilePath& drive_file_path, 118 const base::FilePath& drive_file_path,
118 const MarkMountedCallback& callback) OVERRIDE; 119 const MarkMountedCallback& callback) OVERRIDE;
119 virtual void MarkCacheFileAsUnmounted( 120 virtual void MarkCacheFileAsUnmounted(
120 const base::FilePath& cache_file_path, 121 const base::FilePath& cache_file_path,
121 const FileOperationCallback& callback) OVERRIDE; 122 const FileOperationCallback& callback) OVERRIDE;
122 virtual void AddPermission(const base::FilePath& drive_file_path, 123 virtual void AddPermission(const base::FilePath& drive_file_path,
123 const std::string& email, 124 const std::string& email,
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
185 // invalidate the weak pointers before any other members are destroyed. 186 // invalidate the weak pointers before any other members are destroyed.
186 base::WeakPtrFactory<FakeFileSystem> weak_ptr_factory_; 187 base::WeakPtrFactory<FakeFileSystem> weak_ptr_factory_;
187 188
188 DISALLOW_COPY_AND_ASSIGN(FakeFileSystem); 189 DISALLOW_COPY_AND_ASSIGN(FakeFileSystem);
189 }; 190 };
190 191
191 } // namespace test_util 192 } // namespace test_util
192 } // namespace drive 193 } // namespace drive
193 194
194 #endif // CHROME_BROWSER_CHROMEOS_DRIVE_FAKE_FILE_SYSTEM_H_ 195 #endif // CHROME_BROWSER_CHROMEOS_DRIVE_FAKE_FILE_SYSTEM_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698