Index: chrome/browser/chromeos/gdata/gdata_files.h |
diff --git a/chrome/browser/chromeos/gdata/gdata_files.h b/chrome/browser/chromeos/gdata/gdata_files.h |
index bc6f7f7897a57e62c21cf6bacbd3e076c84dd7c2..538169017667e5ddd8a447436102605b75e3f52e 100644 |
--- a/chrome/browser/chromeos/gdata/gdata_files.h |
+++ b/chrome/browser/chromeos/gdata/gdata_files.h |
@@ -17,7 +17,6 @@ |
#include "base/memory/weak_ptr.h" |
#include "base/platform_file.h" |
#include "base/synchronization/lock.h" |
-#include "chrome/browser/chromeos/gdata/find_entry_callback.h" |
#include "chrome/browser/chromeos/gdata/gdata_params.h" |
#include "chrome/browser/chromeos/gdata/gdata_parser.h" |
#include "chrome/browser/chromeos/gdata/gdata_uploader.h" |
@@ -26,6 +25,7 @@ |
namespace gdata { |
+class GDataEntry; |
class GDataFile; |
class GDataDirectory; |
class GDataRootDirectory; |
@@ -64,6 +64,16 @@ const FilePath::CharType kGDataRootDirectory[] = FILE_PATH_LITERAL("drive"); |
// https://developers.google.com/google-apps/documents-list/ |
const char kGDataRootDirectoryResourceId[] = "folder:root"; |
+// Used to get result of file search. |
+// If |error| is not PLATFORM_FILE_OK, |entry| is set to NULL. |
+typedef base::Callback<void(base::PlatformFileError error, GDataEntry* entry)> |
+ FindEntryCallback; |
+ |
+// Callback used to find a directory element for file system updates. |
+void ReadOnlyFindEntryCallback(GDataEntry** out, |
hashimoto
2012/06/11 09:44:34
This function looks only used by GDataFileSystem::
hshi1
2012/06/11 17:48:53
I'm moving this to gdata_file_system.cc, but it ne
achuithb
2012/06/11 20:46:37
I'm not sure why you got rid of find_entry_callbac
hshi1
2012/06/11 20:58:51
IMHO the definition of FindEntryCallback type and
achuithb
2012/06/11 21:48:41
Yes, but the new locations for FindEntryCallback a
achuithb
2012/06/12 07:59:47
This didn't get addressed. gdata_params.h was desi
|
+ base::PlatformFileError error, |
+ GDataEntry* entry); |
+ |
// Base class for representing files and directories in gdata virtual file |
// system. |
class GDataEntry { |