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

Side by Side Diff: components/update_client/ping_manager_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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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/update_client/ping_manager.h" 5 #include "components/update_client/ping_manager.h"
6 6
7 #include <memory> 7 #include <memory>
8 #include <string> 8 #include <string>
9 9
10 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
11 #include "base/run_loop.h" 11 #include "base/run_loop.h"
12 #include "base/thread_task_runner_handle.h" 12 #include "base/threading/thread_task_runner_handle.h"
13 #include "base/version.h" 13 #include "base/version.h"
14 #include "components/update_client/crx_update_item.h" 14 #include "components/update_client/crx_update_item.h"
15 #include "components/update_client/test_configurator.h" 15 #include "components/update_client/test_configurator.h"
16 #include "components/update_client/url_request_post_interceptor.h" 16 #include "components/update_client/url_request_post_interceptor.h"
17 #include "net/url_request/url_request_test_util.h" 17 #include "net/url_request/url_request_test_util.h"
18 #include "testing/gtest/include/gtest/gtest.h" 18 #include "testing/gtest/include/gtest/gtest.h"
19 19
20 using std::string; 20 using std::string;
21 21
22 namespace update_client { 22 namespace update_client {
(...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after
191 } 191 }
192 192
193 { 193 {
194 // Tests that the default for |requires_network_encryption| is true. 194 // Tests that the default for |requires_network_encryption| is true.
195 CrxUpdateItem item; 195 CrxUpdateItem item;
196 EXPECT_FALSE(ping_manager_->SendPing(&item)); 196 EXPECT_FALSE(ping_manager_->SendPing(&item));
197 } 197 }
198 } 198 }
199 199
200 } // namespace update_client 200 } // namespace update_client
OLDNEW
« no previous file with comments | « components/update_client/crx_downloader_unittest.cc ('k') | components/update_client/request_sender.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698