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

Side by Side Diff: chrome/browser/memory_details.cc

Issue 2695823008: Add missing #include around sequenced_worker_pool.h in //chrome (Closed)
Patch Set: sync_websocket_impl & wizard_controller 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/memory_details.h" 5 #include "chrome/browser/memory_details.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <set> 8 #include <set>
9 9
10 #include "base/bind.h" 10 #include "base/bind.h"
11 #include "base/file_version_info.h" 11 #include "base/file_version_info.h"
12 #include "base/metrics/histogram_macros.h" 12 #include "base/metrics/histogram_macros.h"
13 #include "base/strings/string_util.h" 13 #include "base/strings/string_util.h"
14 #include "base/strings/stringprintf.h" 14 #include "base/strings/stringprintf.h"
15 #include "base/strings/utf_string_conversions.h" 15 #include "base/strings/utf_string_conversions.h"
16 #include "base/threading/sequenced_worker_pool.h"
16 #include "build/build_config.h" 17 #include "build/build_config.h"
17 #include "chrome/browser/profiles/profile.h" 18 #include "chrome/browser/profiles/profile.h"
18 #include "chrome/grit/generated_resources.h" 19 #include "chrome/grit/generated_resources.h"
19 #include "components/nacl/common/nacl_process_type.h" 20 #include "components/nacl/common/nacl_process_type.h"
20 #include "components/strings/grit/components_strings.h" 21 #include "components/strings/grit/components_strings.h"
21 #include "content/public/browser/browser_child_process_host_iterator.h" 22 #include "content/public/browser/browser_child_process_host_iterator.h"
22 #include "content/public/browser/browser_thread.h" 23 #include "content/public/browser/browser_thread.h"
23 #include "content/public/browser/child_process_data.h" 24 #include "content/public/browser/child_process_data.h"
24 #include "content/public/browser/navigation_controller.h" 25 #include "content/public/browser/navigation_controller.h"
25 #include "content/public/browser/navigation_entry.h" 26 #include "content/public/browser/navigation_entry.h"
(...skipping 320 matching lines...) Expand 10 before | Expand all | Expand 10 after
346 // Get rid of other Chrome processes that are from a different profile. 347 // Get rid of other Chrome processes that are from a different profile.
347 auto is_unknown = [](ProcessMemoryInformation& process) { 348 auto is_unknown = [](ProcessMemoryInformation& process) {
348 return process.process_type == content::PROCESS_TYPE_UNKNOWN; 349 return process.process_type == content::PROCESS_TYPE_UNKNOWN;
349 }; 350 };
350 auto& vector = chrome_browser->processes; 351 auto& vector = chrome_browser->processes;
351 vector.erase(std::remove_if(vector.begin(), vector.end(), is_unknown), 352 vector.erase(std::remove_if(vector.begin(), vector.end(), is_unknown),
352 vector.end()); 353 vector.end());
353 354
354 OnDetailsAvailable(); 355 OnDetailsAvailable();
355 } 356 }
OLDNEW
« no previous file with comments | « chrome/browser/media/webrtc/webrtc_log_list.cc ('k') | chrome/browser/memory_details_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698