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

Side by Side Diff: components/gcm_driver/gcm_client_impl_unittest.cc

Issue 1970833002: Fix include path for moved thread_task_runner_handle.h header in components/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@a1_move_task_runner_handle
Patch Set: merge up to r393009 Created 4 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "components/gcm_driver/gcm_client_impl.h" 5 #include "components/gcm_driver/gcm_client_impl.h"
6 6
7 #include <stdint.h> 7 #include <stdint.h>
8 8
9 #include <memory> 9 #include <memory>
10 10
11 #include "base/command_line.h" 11 #include "base/command_line.h"
12 #include "base/files/file_path.h" 12 #include "base/files/file_path.h"
13 #include "base/files/file_util.h" 13 #include "base/files/file_util.h"
14 #include "base/files/scoped_temp_dir.h" 14 #include "base/files/scoped_temp_dir.h"
15 #include "base/macros.h" 15 #include "base/macros.h"
16 #include "base/memory/ptr_util.h" 16 #include "base/memory/ptr_util.h"
17 #include "base/strings/string_number_conversions.h" 17 #include "base/strings/string_number_conversions.h"
18 #include "base/test/test_mock_time_task_runner.h" 18 #include "base/test/test_mock_time_task_runner.h"
19 #include "base/thread_task_runner_handle.h" 19 #include "base/threading/thread_task_runner_handle.h"
20 #include "base/time/clock.h" 20 #include "base/time/clock.h"
21 #include "base/timer/timer.h" 21 #include "base/timer/timer.h"
22 #include "google_apis/gcm/base/fake_encryptor.h" 22 #include "google_apis/gcm/base/fake_encryptor.h"
23 #include "google_apis/gcm/base/mcs_message.h" 23 #include "google_apis/gcm/base/mcs_message.h"
24 #include "google_apis/gcm/base/mcs_util.h" 24 #include "google_apis/gcm/base/mcs_util.h"
25 #include "google_apis/gcm/engine/fake_connection_factory.h" 25 #include "google_apis/gcm/engine/fake_connection_factory.h"
26 #include "google_apis/gcm/engine/fake_connection_handler.h" 26 #include "google_apis/gcm/engine/fake_connection_handler.h"
27 #include "google_apis/gcm/engine/gservices_settings.h" 27 #include "google_apis/gcm/engine/gservices_settings.h"
28 #include "google_apis/gcm/monitoring/gcm_stats_recorder.h" 28 #include "google_apis/gcm/monitoring/gcm_stats_recorder.h"
29 #include "google_apis/gcm/protocol/android_checkin.pb.h" 29 #include "google_apis/gcm/protocol/android_checkin.pb.h"
(...skipping 1617 matching lines...) Expand 10 before | Expand all | Expand 10 after
1647 // No need to call CompleteDeleteToken since unregistration request should 1647 // No need to call CompleteDeleteToken since unregistration request should
1648 // not be triggered. 1648 // not be triggered.
1649 PumpLoopUntilIdle(); 1649 PumpLoopUntilIdle();
1650 1650
1651 EXPECT_EQ(UNREGISTRATION_COMPLETED, last_event()); 1651 EXPECT_EQ(UNREGISTRATION_COMPLETED, last_event());
1652 EXPECT_EQ(kAppId, last_app_id()); 1652 EXPECT_EQ(kAppId, last_app_id());
1653 EXPECT_EQ(GCMClient::SUCCESS, last_result()); 1653 EXPECT_EQ(GCMClient::SUCCESS, last_result());
1654 } 1654 }
1655 1655
1656 } // namespace gcm 1656 } // namespace gcm
OLDNEW
« no previous file with comments | « components/gcm_driver/gcm_client_impl.cc ('k') | components/gcm_driver/gcm_driver_desktop_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698