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

Side by Side Diff: cc/resources/resource_pool.cc

Issue 1971783002: Fix include path for moved thread_task_runner_handle.h header in cc/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@a1_move_task_runner_handle
Patch Set: 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
« no previous file with comments | « cc/raster/staging_buffer_pool.cc ('k') | cc/resources/resource_pool_unittest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 The Chromium Authors. All rights reserved. 1 // Copyright 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 "cc/resources/resource_pool.h" 5 #include "cc/resources/resource_pool.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <algorithm> 10 #include <algorithm>
11 #include <utility> 11 #include <utility>
12 12
13 #include "base/format_macros.h" 13 #include "base/format_macros.h"
14 #include "base/strings/stringprintf.h" 14 #include "base/strings/stringprintf.h"
15 #include "base/thread_task_runner_handle.h" 15 #include "base/threading/thread_task_runner_handle.h"
16 #include "base/trace_event/memory_dump_manager.h" 16 #include "base/trace_event/memory_dump_manager.h"
17 #include "cc/base/container_util.h" 17 #include "cc/base/container_util.h"
18 #include "cc/resources/resource_provider.h" 18 #include "cc/resources/resource_provider.h"
19 #include "cc/resources/resource_util.h" 19 #include "cc/resources/resource_util.h"
20 #include "cc/resources/scoped_resource.h" 20 #include "cc/resources/scoped_resource.h"
21 21
22 namespace cc { 22 namespace cc {
23 namespace { 23 namespace {
24 24
25 // Delay before a resource is considered expired. 25 // Delay before a resource is considered expired.
(...skipping 332 matching lines...) Expand 10 before | Expand all | Expand 10 after
358 for (const auto& resource : busy_resources_) { 358 for (const auto& resource : busy_resources_) {
359 resource->OnMemoryDump(pmd, resource_provider_, false /* is_free */); 359 resource->OnMemoryDump(pmd, resource_provider_, false /* is_free */);
360 } 360 }
361 for (const auto& entry : in_use_resources_) { 361 for (const auto& entry : in_use_resources_) {
362 entry.second->OnMemoryDump(pmd, resource_provider_, false /* is_free */); 362 entry.second->OnMemoryDump(pmd, resource_provider_, false /* is_free */);
363 } 363 }
364 return true; 364 return true;
365 } 365 }
366 366
367 } // namespace cc 367 } // namespace cc
OLDNEW
« no previous file with comments | « cc/raster/staging_buffer_pool.cc ('k') | cc/resources/resource_pool_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698