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

Unified Diff: chrome/browser/google_apis/test_util.cc

Issue 11418127: Pass calls to GetDocuments through the scheduler (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 8 years 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
« no previous file with comments | « chrome/browser/google_apis/test_util.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/google_apis/test_util.cc
diff --git a/chrome/browser/google_apis/test_util.cc b/chrome/browser/google_apis/test_util.cc
index f93d4144ea8f6adff916135946ddc64ece68ef81..81f530c0a7c4391559c4f61a23920c6ea1112191 100644
--- a/chrome/browser/google_apis/test_util.cc
+++ b/chrome/browser/google_apis/test_util.cc
@@ -69,5 +69,13 @@ scoped_ptr<base::Value> LoadJSONFile(const std::string& relative_path) {
return value.Pass();
}
+void CopyResultsFromGetDataCallback(GDataErrorCode* error_out,
+ scoped_ptr<base::Value>* value_out,
+ GDataErrorCode error_in,
+ scoped_ptr<base::Value> value_in) {
+ value_out->swap(value_in);
+ *error_out = error_in;
+}
+
} // namespace test_util
} // namespace google_apis
« no previous file with comments | « chrome/browser/google_apis/test_util.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698