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

Side by Side Diff: chrome/browser/task_manager/sampling/task_manager_impl.cc

Issue 2694813005: Revert of Remove header dependencies from sequence_checker.h to sequenced_worker_pool.h (Closed)
Patch Set: Created 3 years, 10 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 "chrome/browser/task_manager/sampling/task_manager_impl.h" 5 #include "chrome/browser/task_manager/sampling/task_manager_impl.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <string> 8 #include <string>
9 #include <unordered_map> 9 #include <unordered_map>
10 #include <unordered_set> 10 #include <unordered_set>
11 #include <vector> 11 #include <vector>
12 12
13 #include "base/containers/adapters.h" 13 #include "base/containers/adapters.h"
14 #include "base/threading/sequenced_worker_pool.h"
15 #include "build/build_config.h" 14 #include "build/build_config.h"
16 #include "chrome/browser/task_manager/providers/browser_process_task_provider.h" 15 #include "chrome/browser/task_manager/providers/browser_process_task_provider.h"
17 #include "chrome/browser/task_manager/providers/child_process_task_provider.h" 16 #include "chrome/browser/task_manager/providers/child_process_task_provider.h"
18 #include "chrome/browser/task_manager/providers/web_contents/web_contents_task_p rovider.h" 17 #include "chrome/browser/task_manager/providers/web_contents/web_contents_task_p rovider.h"
19 #include "chrome/browser/task_manager/sampling/shared_sampler.h" 18 #include "chrome/browser/task_manager/sampling/shared_sampler.h"
20 #include "content/public/browser/browser_thread.h" 19 #include "content/public/browser/browser_thread.h"
21 #include "content/public/browser/gpu_data_manager.h" 20 #include "content/public/browser/gpu_data_manager.h"
22 #include "content/public/browser/render_frame_host.h" 21 #include "content/public/browser/render_frame_host.h"
23 #include "content/public/browser/render_process_host.h" 22 #include "content/public/browser/render_process_host.h"
24 #include "content/public/browser/web_contents.h" 23 #include "content/public/browser/web_contents.h"
(...skipping 543 matching lines...) Expand 10 before | Expand all | Expand 10 after
568 groups_itr.second->AreBackgroundCalculationsDone(); 567 groups_itr.second->AreBackgroundCalculationsDone();
569 } 568 }
570 if (are_all_processes_data_ready) { 569 if (are_all_processes_data_ready) {
571 NotifyObserversOnRefreshWithBackgroundCalculations(GetTaskIdsList()); 570 NotifyObserversOnRefreshWithBackgroundCalculations(GetTaskIdsList());
572 for (const auto& groups_itr : task_groups_by_proc_id_) 571 for (const auto& groups_itr : task_groups_by_proc_id_)
573 groups_itr.second->ClearCurrentBackgroundCalculationsFlags(); 572 groups_itr.second->ClearCurrentBackgroundCalculationsFlags();
574 } 573 }
575 } 574 }
576 575
577 } // namespace task_manager 576 } // namespace task_manager
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698