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

Side by Side Diff: components/update_client/update_checker_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 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/update_client/update_checker.h" 5 #include "components/update_client/update_checker.h"
6 6
7 #include <memory> 7 #include <memory>
8 #include <utility> 8 #include <utility>
9 9
10 #include "base/bind.h" 10 #include "base/bind.h"
11 #include "base/bind_helpers.h" 11 #include "base/bind_helpers.h"
12 #include "base/files/file_util.h" 12 #include "base/files/file_util.h"
13 #include "base/macros.h" 13 #include "base/macros.h"
14 #include "base/memory/ptr_util.h" 14 #include "base/memory/ptr_util.h"
15 #include "base/memory/ref_counted.h" 15 #include "base/memory/ref_counted.h"
16 #include "base/message_loop/message_loop.h"
16 #include "base/path_service.h" 17 #include "base/path_service.h"
17 #include "base/run_loop.h" 18 #include "base/run_loop.h"
18 #include "base/test/scoped_task_scheduler.h" 19 #include "base/test/scoped_task_scheduler.h"
19 #include "base/threading/thread_task_runner_handle.h" 20 #include "base/threading/thread_task_runner_handle.h"
20 #include "base/version.h" 21 #include "base/version.h"
21 #include "build/build_config.h" 22 #include "build/build_config.h"
22 #include "components/prefs/testing_pref_service.h" 23 #include "components/prefs/testing_pref_service.h"
23 #include "components/update_client/component.h" 24 #include "components/update_client/component.h"
24 #include "components/update_client/persisted_data.h" 25 #include "components/update_client/persisted_data.h"
25 #include "components/update_client/test_configurator.h" 26 #include "components/update_client/test_configurator.h"
(...skipping 532 matching lines...) Expand 10 before | Expand all | Expand 10 after
558 EXPECT_EQ(1, post_interceptor_->GetHitCount()) 559 EXPECT_EQ(1, post_interceptor_->GetHitCount())
559 << post_interceptor_->GetRequestsAsString(); 560 << post_interceptor_->GetRequestsAsString();
560 ASSERT_EQ(1, post_interceptor_->GetCount()) 561 ASSERT_EQ(1, post_interceptor_->GetCount())
561 << post_interceptor_->GetRequestsAsString(); 562 << post_interceptor_->GetRequestsAsString();
562 563
563 EXPECT_EQ(0, error_); 564 EXPECT_EQ(0, error_);
564 EXPECT_STREQ("this", component->action_run_.c_str()); 565 EXPECT_STREQ("this", component->action_run_.c_str());
565 } 566 }
566 567
567 } // namespace update_client 568 } // namespace update_client
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698