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

Side by Side Diff: components/component_updater/component_updater_service_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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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/component_updater/component_updater_service.h" 5 #include "components/component_updater/component_updater_service.h"
6 6
7 #include <limits> 7 #include <limits>
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
11 #include "base/bind.h" 11 #include "base/bind.h"
12 #include "base/bind_helpers.h" 12 #include "base/bind_helpers.h"
13 #include "base/files/file_path.h" 13 #include "base/files/file_path.h"
14 #include "base/files/file_util.h" 14 #include "base/files/file_util.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/memory/ref_counted.h" 17 #include "base/memory/ref_counted.h"
18 #include "base/message_loop/message_loop.h" 18 #include "base/message_loop/message_loop.h"
19 #include "base/run_loop.h" 19 #include "base/run_loop.h"
20 #include "base/test/histogram_tester.h" 20 #include "base/test/histogram_tester.h"
21 #include "base/test/sequenced_worker_pool_owner.h" 21 #include "base/test/sequenced_worker_pool_owner.h"
22 #include "base/thread_task_runner_handle.h" 22 #include "base/threading/thread_task_runner_handle.h"
23 #include "base/values.h" 23 #include "base/values.h"
24 #include "components/component_updater/component_updater_service_internal.h" 24 #include "components/component_updater/component_updater_service_internal.h"
25 #include "components/update_client/test_configurator.h" 25 #include "components/update_client/test_configurator.h"
26 #include "components/update_client/test_installer.h" 26 #include "components/update_client/test_installer.h"
27 #include "components/update_client/update_client.h" 27 #include "components/update_client/update_client.h"
28 #include "testing/gmock/include/gmock/gmock.h" 28 #include "testing/gmock/include/gmock/gmock.h"
29 #include "testing/gtest/include/gtest/gtest.h" 29 #include "testing/gtest/include/gtest/gtest.h"
30 30
31 using Configurator = update_client::Configurator; 31 using Configurator = update_client::Configurator;
32 using TestConfigurator = update_client::TestConfigurator; 32 using TestConfigurator = update_client::TestConfigurator;
(...skipping 342 matching lines...) Expand 10 before | Expand all | Expand 10 after
375 base::Bind(&ComponentUpdaterTest::ReadyCallback)); 375 base::Bind(&ComponentUpdaterTest::ReadyCallback));
376 376
377 RunThreads(); 377 RunThreads();
378 378
379 ht.ExpectUniqueSample("ComponentUpdater.Calls", 0, 1); 379 ht.ExpectUniqueSample("ComponentUpdater.Calls", 0, 1);
380 ht.ExpectUniqueSample("ComponentUpdater.UpdateCompleteResult", 0, 1); 380 ht.ExpectUniqueSample("ComponentUpdater.UpdateCompleteResult", 0, 1);
381 ht.ExpectTotalCount("ComponentUpdater.UpdateCompleteTime", 1); 381 ht.ExpectTotalCount("ComponentUpdater.UpdateCompleteTime", 1);
382 } 382 }
383 383
384 } // namespace component_updater 384 } // namespace component_updater
OLDNEW
« no previous file with comments | « components/component_updater/component_updater_service.cc ('k') | components/component_updater/default_component_installer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698