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

Unified Diff: components/gcm_driver/instance_id/instance_id_driver_unittest.cc

Issue 1128123003: Implement InstanceID API functions. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix test Created 5 years, 7 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: components/gcm_driver/instance_id/instance_id_driver_unittest.cc
diff --git a/components/gcm_driver/instance_id/instance_id_driver_unittest.cc b/components/gcm_driver/instance_id/instance_id_driver_unittest.cc
index dbad73a0e524664a83075256180a53b73c139dad..37a104012c885d694745ce8a0112667ce610e3d5 100644
--- a/components/gcm_driver/instance_id/instance_id_driver_unittest.cc
+++ b/components/gcm_driver/instance_id/instance_id_driver_unittest.cc
@@ -46,7 +46,7 @@ class InstanceIDDriverTest : public testing::Test {
void WaitForAsyncOperation();
- void DeleteIDCompleted(InstanceID* instance_id, InstanceID::Result result);
+ void DeleteIDCompleted(InstanceID::Result result);
InstanceIDDriver* driver() const { return driver_.get(); }
InstanceID::Result delete_id_result() const { return delete_id_result_; }
@@ -79,8 +79,7 @@ void InstanceIDDriverTest::WaitForAsyncOperation() {
run_loop.Run();
}
-void InstanceIDDriverTest::DeleteIDCompleted(InstanceID* instance_id,
- InstanceID::Result result) {
+void InstanceIDDriverTest::DeleteIDCompleted(InstanceID::Result result) {
delete_id_result_ = result;
if (!async_operation_completed_callback_.is_null())
async_operation_completed_callback_.Run();
« no previous file with comments | « components/gcm_driver/instance_id/instance_id_driver.cc ('k') | components/gcm_driver/instance_id/instance_id_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698