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

Unified Diff: chrome/browser/chromeos/gdata/gdata_test_util.h

Issue 10828083: gdata: Add GDataDirectoryService::AddEntryToDirectory() (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/chromeos/gdata/gdata_test_util.h
diff --git a/chrome/browser/chromeos/gdata/gdata_test_util.h b/chrome/browser/chromeos/gdata/gdata_test_util.h
index fc0cb43f2682acb60ebf971a99f19b061aa0d5ca..b440f20fbfa030b944e6bd4735343a707a4d801a 100644
--- a/chrome/browser/chromeos/gdata/gdata_test_util.h
+++ b/chrome/browser/chromeos/gdata/gdata_test_util.h
@@ -5,6 +5,8 @@
#ifndef CHROME_BROWSER_CHROMEOS_GDATA_GDATA_TEST_UTIL_H_
#define CHROME_BROWSER_CHROMEOS_GDATA_GDATA_TEST_UTIL_H_
+#include "chrome/browser/chromeos/gdata/gdata_errorcode.h"
+
namespace gdata {
class GDataCacheEntry;
@@ -37,6 +39,12 @@ GDataCacheEntry ToCacheEntry(int cache_state);
// Returns true if the cache state of the given two cache entries are equal.
bool CacheStatesEqual(const GDataCacheEntry& a, const GDataCacheEntry& b);
+// Copies |error| to |output|. Used to run asynchronous functions that take
+// FileOperationCallback from tests.
+void CopyResultFromFileOperationCallback(
achuithb 2012/07/31 00:06:52 This name is a bit misleading. CopyErrorCodeFromFi
satorux1 2012/07/31 00:28:30 Sounds good. Will rename it accordingly.
satorux1 2012/07/31 07:13:22 Done.
+ GDataFileError* output, GDataFileError error);
+
+
} // namespace test_util
} // namespace gdata

Powered by Google App Engine
This is Rietveld 408576698