Index: components/gcm_driver/gcm_driver_unittest.cc |
diff --git a/components/gcm_driver/gcm_driver_unittest.cc b/components/gcm_driver/gcm_driver_unittest.cc |
index 52f6abb2b5e4113781a683439254133da815b1a0..d4694cfb520c2c47ad30818f62e53c15a4ab6818 100644 |
--- a/components/gcm_driver/gcm_driver_unittest.cc |
+++ b/components/gcm_driver/gcm_driver_unittest.cc |
@@ -2,7 +2,7 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-#include "components/gcm_driver/gcm_driver.h" |
+#include "components/gcm_driver/gcm_driver_desktop.h" |
#include "base/bind.h" |
#include "base/bind_helpers.h" |
@@ -190,7 +190,8 @@ void GCMDriverTest::CreateDriver( |
FakeGCMClient::StartMode gcm_client_start_mode) { |
scoped_refptr<net::URLRequestContextGetter> request_context = |
new net::TestURLRequestContextGetter(io_thread_.message_loop_proxy()); |
- driver_.reset(new GCMDriver( |
+ // TODO(johnme): Need equivalent test coverage of GCMDriverAndroid. |
+ driver_.reset(new GCMDriverDesktop( |
jianli
2014/05/29 07:34:03
Will this still be built for Android?
johnme
2014/05/29 17:40:55
Great question! It was, but only by accident becau
jianli
2014/05/30 06:30:23
I think we should test GCMDriverAndroid on Android
johnme
2014/05/30 10:26:45
Done (renamed this file to gcm_driver_desktop_unit
|
scoped_ptr<GCMClientFactory>(new FakeGCMClientFactory( |
gcm_client_start_mode, |
base::MessageLoopProxy::current(), |