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

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

Issue 214363002: drive: Return cancel closure from FileSystem::GetFileContent (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add comment Created 6 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
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 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_DUMMY_FILE_SYSTEM_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_DRIVE_DUMMY_FILE_SYSTEM_H_
6 #define CHROME_BROWSER_CHROMEOS_DRIVE_DUMMY_FILE_SYSTEM_H_ 6 #define CHROME_BROWSER_CHROMEOS_DRIVE_DUMMY_FILE_SYSTEM_H_
7 7
8 #include "chrome/browser/chromeos/drive/file_system_interface.h" 8 #include "chrome/browser/chromeos/drive/file_system_interface.h"
9 9
10 namespace drive { 10 namespace drive {
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 int64 length, 51 int64 length,
52 const FileOperationCallback& callback) OVERRIDE {} 52 const FileOperationCallback& callback) OVERRIDE {}
53 virtual void Pin(const base::FilePath& file_path, 53 virtual void Pin(const base::FilePath& file_path,
54 const FileOperationCallback& callback) OVERRIDE {} 54 const FileOperationCallback& callback) OVERRIDE {}
55 virtual void Unpin(const base::FilePath& file_path, 55 virtual void Unpin(const base::FilePath& file_path,
56 const FileOperationCallback& callback) OVERRIDE {} 56 const FileOperationCallback& callback) OVERRIDE {}
57 virtual void GetFile(const base::FilePath& file_path, 57 virtual void GetFile(const base::FilePath& file_path,
58 const GetFileCallback& callback) OVERRIDE {} 58 const GetFileCallback& callback) OVERRIDE {}
59 virtual void GetFileForSaving(const base::FilePath& file_path, 59 virtual void GetFileForSaving(const base::FilePath& file_path,
60 const GetFileCallback& callback) OVERRIDE {} 60 const GetFileCallback& callback) OVERRIDE {}
61 virtual void GetFileContent( 61 virtual base::Closure GetFileContent(
62 const base::FilePath& file_path, 62 const base::FilePath& file_path,
63 const GetFileContentInitializedCallback& initialized_callback, 63 const GetFileContentInitializedCallback& initialized_callback,
64 const google_apis::GetContentCallback& get_content_callback, 64 const google_apis::GetContentCallback& get_content_callback,
65 const FileOperationCallback& completion_callback) OVERRIDE {} 65 const FileOperationCallback& completion_callback) OVERRIDE;
66 virtual void GetResourceEntry( 66 virtual void GetResourceEntry(
67 const base::FilePath& file_path, 67 const base::FilePath& file_path,
68 const GetResourceEntryCallback& callback) OVERRIDE {} 68 const GetResourceEntryCallback& callback) OVERRIDE {}
69 virtual void ReadDirectory(const base::FilePath& file_path, 69 virtual void ReadDirectory(const base::FilePath& file_path,
70 const ReadDirectoryCallback& callback) OVERRIDE {} 70 const ReadDirectoryCallback& callback) OVERRIDE {}
71 virtual void Search(const std::string& search_query, 71 virtual void Search(const std::string& search_query,
72 const GURL& next_link, 72 const GURL& next_link,
73 const SearchCallback& callback) OVERRIDE {} 73 const SearchCallback& callback) OVERRIDE {}
74 virtual void SearchMetadata( 74 virtual void SearchMetadata(
75 const std::string& query, 75 const std::string& query,
(...skipping 21 matching lines...) Expand all
97 const FileOperationCallback& callback) OVERRIDE {} 97 const FileOperationCallback& callback) OVERRIDE {}
98 virtual void Reset(const FileOperationCallback& callback) OVERRIDE {} 98 virtual void Reset(const FileOperationCallback& callback) OVERRIDE {}
99 virtual void GetPathFromResourceId(const std::string& resource_id, 99 virtual void GetPathFromResourceId(const std::string& resource_id,
100 const GetFilePathCallback& callback) 100 const GetFilePathCallback& callback)
101 OVERRIDE {} 101 OVERRIDE {}
102 }; 102 };
103 103
104 } // namespace drive 104 } // namespace drive
105 105
106 #endif // CHROME_BROWSER_CHROMEOS_DRIVE_DUMMY_FILE_SYSTEM_H_ 106 #endif // CHROME_BROWSER_CHROMEOS_DRIVE_DUMMY_FILE_SYSTEM_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/drive/drive_file_stream_reader.cc ('k') | chrome/browser/chromeos/drive/dummy_file_system.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698