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

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

Issue 12447019: Eliminate CopyResultsFromGetResourceEntryCallback. (Closed) Base URL: http://git.chromium.org/chromium/src.git@b180569_create_copy_result_callback
Patch Set: Rebase Created 7 years, 9 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
« 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 31be9a6c79e3f87282d197e18572f55ad3dd5daa..5c53c0f1dbe81efe6c22295e6f6bdd062875350b 100644
--- a/chrome/browser/google_apis/test_util.cc
+++ b/chrome/browser/google_apis/test_util.cc
@@ -124,15 +124,6 @@ void CopyResultsFromGetDataCallbackAndQuit(GDataErrorCode* error_out,
MessageLoop::current()->Quit();
}
-void CopyResultsFromGetResourceEntryCallback(
- GDataErrorCode* error_out,
- scoped_ptr<ResourceEntry>* resource_entry_out,
- GDataErrorCode error_in,
- scoped_ptr<ResourceEntry> resource_entry_in) {
- resource_entry_out->swap(resource_entry_in);
- *error_out = error_in;
-}
-
void CopyResultsFromGetResourceListCallback(
GDataErrorCode* error_out,
scoped_ptr<ResourceList>* resource_list_out,
« 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