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

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

Issue 1539203002: Switch to standard integer types in cc/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more includes Created 5 years 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/resources/resource_pool.h ('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>
8 #include <stdint.h>
9
7 #include <algorithm> 10 #include <algorithm>
8 #include <utility> 11 #include <utility>
9 12
10 #include "base/format_macros.h" 13 #include "base/format_macros.h"
11 #include "base/strings/stringprintf.h" 14 #include "base/strings/stringprintf.h"
12 #include "base/thread_task_runner_handle.h" 15 #include "base/thread_task_runner_handle.h"
13 #include "base/trace_event/memory_dump_manager.h" 16 #include "base/trace_event/memory_dump_manager.h"
14 #include "cc/base/container_util.h" 17 #include "cc/base/container_util.h"
15 #include "cc/resources/resource_provider.h" 18 #include "cc/resources/resource_provider.h"
16 #include "cc/resources/resource_util.h" 19 #include "cc/resources/resource_util.h"
(...skipping 294 matching lines...) Expand 10 before | Expand all | Expand 10 after
311 for (const auto& resource : busy_resources_) { 314 for (const auto& resource : busy_resources_) {
312 resource->OnMemoryDump(pmd, resource_provider_, false /* is_free */); 315 resource->OnMemoryDump(pmd, resource_provider_, false /* is_free */);
313 } 316 }
314 for (const auto& entry : in_use_resources_) { 317 for (const auto& entry : in_use_resources_) {
315 entry.second->OnMemoryDump(pmd, resource_provider_, false /* is_free */); 318 entry.second->OnMemoryDump(pmd, resource_provider_, false /* is_free */);
316 } 319 }
317 return true; 320 return true;
318 } 321 }
319 322
320 } // namespace cc 323 } // namespace cc
OLDNEW
« no previous file with comments | « cc/resources/resource_pool.h ('k') | cc/resources/resource_pool_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698