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

Side by Side Diff: components/update_client/ping_manager_unittest.cc

Issue 2876013002: Add missing IWYU message_loop.h includes. (Closed)
Patch Set: fix upstream Created 3 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 #include <vector> 9 #include <vector>
10 10
11 #include "base/memory/ptr_util.h" 11 #include "base/memory/ptr_util.h"
12 #include "base/memory/ref_counted.h" 12 #include "base/memory/ref_counted.h"
13 #include "base/message_loop/message_loop.h"
13 #include "base/run_loop.h" 14 #include "base/run_loop.h"
14 #include "base/threading/thread_task_runner_handle.h" 15 #include "base/threading/thread_task_runner_handle.h"
15 #include "base/version.h" 16 #include "base/version.h"
16 #include "components/update_client/component.h" 17 #include "components/update_client/component.h"
17 #include "components/update_client/test_configurator.h" 18 #include "components/update_client/test_configurator.h"
18 #include "components/update_client/update_engine.h" 19 #include "components/update_client/update_engine.h"
19 #include "components/update_client/url_request_post_interceptor.h" 20 #include "components/update_client/url_request_post_interceptor.h"
20 #include "net/url_request/url_request_test_util.h" 21 #include "net/url_request/url_request_test_util.h"
21 #include "testing/gtest/include/gtest/gtest.h" 22 #include "testing/gtest/include/gtest/gtest.h"
22 23
(...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after
214 } 215 }
215 216
216 { 217 {
217 // Tests that the default for |requires_network_encryption| is true. 218 // Tests that the default for |requires_network_encryption| is true.
218 Component component(*update_context, "abc"); 219 Component component(*update_context, "abc");
219 EXPECT_FALSE(ping_manager_->SendPing(component)); 220 EXPECT_FALSE(ping_manager_->SendPing(component));
220 } 221 }
221 } 222 }
222 223
223 } // namespace update_client 224 } // namespace update_client
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698