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

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: address comments 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..de815e55b2bc65f0b6cd202fb40685da9153ea65 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 CopyErrorCodeFromFileOperationCallback(
+ GDataFileError* output, GDataFileError error);
+
+
} // namespace test_util
} // namespace gdata
« no previous file with comments | « chrome/browser/chromeos/gdata/gdata_files_unittest.cc ('k') | chrome/browser/chromeos/gdata/gdata_test_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698