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

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

Issue 10836137: gdata: Remove hide_hosted_documents from ReadDirectoryCallback (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: address comments 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,
66 scoped_ptr<GDataEntryProtoVector> entries)> 65 scoped_ptr<GDataEntryProtoVector> entries)>
67 ReadDirectoryCallback; 66 ReadDirectoryCallback;
68 67
69 // Used to get drive content search results. 68 // Used to get drive content search results.
70 // If |error| is not PLATFORM_FILE_OK, |result_paths| is empty. 69 // If |error| is not PLATFORM_FILE_OK, |result_paths| is empty.
71 typedef base::Callback<void( 70 typedef base::Callback<void(
72 GDataFileError error, 71 GDataFileError error,
73 const GURL& next_feed, 72 const GURL& next_feed,
74 scoped_ptr<std::vector<SearchResultInfo> > result_paths)> SearchCallback; 73 scoped_ptr<std::vector<SearchResultInfo> > result_paths)> SearchCallback;
75 74
(...skipping 279 matching lines...) Expand 10 before | Expand all | Expand 10 after
355 const FilePath& virtual_dir_path, 354 const FilePath& virtual_dir_path,
356 scoped_ptr<DocumentEntry> entry, 355 scoped_ptr<DocumentEntry> entry,
357 const FilePath& file_content_path, 356 const FilePath& file_content_path,
358 GDataCache::FileOperationType cache_operation, 357 GDataCache::FileOperationType cache_operation,
359 const base::Closure& callback) = 0; 358 const base::Closure& callback) = 0;
360 }; 359 };
361 360
362 } // namespace gdata 361 } // namespace gdata
363 362
364 #endif // CHROME_BROWSER_CHROMEOS_GDATA_GDATA_FILE_SYSTEM_INTERFACE_H_ 363 #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