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

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

Issue 10830211: Revert 150436 - gdata: Remove hide_hosted_documents from ReadDirectoryCallback (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 4 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) 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_GDATA_FILE_SYSTEM_INTERFACE_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_GDATA_GDATA_FILE_SYSTEM_INTERFACE_H_
6 #define CHROME_BROWSER_CHROMEOS_GDATA_GDATA_FILE_SYSTEM_INTERFACE_H_ 6 #define CHROME_BROWSER_CHROMEOS_GDATA_GDATA_FILE_SYSTEM_INTERFACE_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 // If |error| is not PLATFORM_FILE_OK, |entry_info| is set to NULL. 55 // If |error| is not PLATFORM_FILE_OK, |entry_info| is set to NULL.
56 typedef base::Callback<void(GDataFileError error, 56 typedef base::Callback<void(GDataFileError error,
57 scoped_ptr<GDataEntryProto> entry_proto)> 57 scoped_ptr<GDataEntryProto> entry_proto)>
58 GetEntryInfoCallback; 58 GetEntryInfoCallback;
59 59
60 // Used to read a directory from the file system. 60 // Used to read a directory from the file system.
61 // If |error| is not PLATFORM_FILE_OK, |entries| is set to NULL. 61 // If |error| is not PLATFORM_FILE_OK, |entries| is set to NULL.
62 // |entries| are contents, both files and directories, of the directory. 62 // |entries| are contents, both files and directories, of the directory.
63 typedef std::vector<GDataEntryProto> GDataEntryProtoVector; 63 typedef std::vector<GDataEntryProto> GDataEntryProtoVector;
64 typedef base::Callback<void(GDataFileError error, 64 typedef base::Callback<void(GDataFileError error,
65 bool hide_hosted_documents,
65 scoped_ptr<GDataEntryProtoVector> entries)> 66 scoped_ptr<GDataEntryProtoVector> entries)>
66 ReadDirectoryCallback; 67 ReadDirectoryCallback;
67 68
68 // Used to get drive content search results. 69 // Used to get drive content search results.
69 // If |error| is not PLATFORM_FILE_OK, |result_paths| is empty. 70 // If |error| is not PLATFORM_FILE_OK, |result_paths| is empty.
70 typedef base::Callback<void( 71 typedef base::Callback<void(
71 GDataFileError error, 72 GDataFileError error,
72 const GURL& next_feed, 73 const GURL& next_feed,
73 scoped_ptr<std::vector<SearchResultInfo> > result_paths)> SearchCallback; 74 scoped_ptr<std::vector<SearchResultInfo> > result_paths)> SearchCallback;
74 75
(...skipping 279 matching lines...) Expand 10 before | Expand all | Expand 10 after
354 const FilePath& virtual_dir_path, 355 const FilePath& virtual_dir_path,
355 scoped_ptr<DocumentEntry> entry, 356 scoped_ptr<DocumentEntry> entry,
356 const FilePath& file_content_path, 357 const FilePath& file_content_path,
357 GDataCache::FileOperationType cache_operation, 358 GDataCache::FileOperationType cache_operation,
358 const base::Closure& callback) = 0; 359 const base::Closure& callback) = 0;
359 }; 360 };
360 361
361 } // namespace gdata 362 } // namespace gdata
362 363
363 #endif // CHROME_BROWSER_CHROMEOS_GDATA_GDATA_FILE_SYSTEM_INTERFACE_H_ 364 #endif // CHROME_BROWSER_CHROMEOS_GDATA_GDATA_FILE_SYSTEM_INTERFACE_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/gdata/gdata_file_system.cc ('k') | chrome/browser/chromeos/gdata/gdata_file_system_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698