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

Side by Side Diff: cc/resources/memory_history.h

Issue 12471007: Part 8 of cc/ directory shuffles: resources (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 9 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 | Annotate | Revision Log
« no previous file with comments | « cc/resources/managed_memory_policy.cc ('k') | cc/resources/memory_history.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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 #ifndef CC_MEMORY_HISTORY_H_ 5 #ifndef CC_RESOURCES_MEMORY_HISTORY_H_
6 #define CC_MEMORY_HISTORY_H_ 6 #define CC_RESOURCES_MEMORY_HISTORY_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "base/time.h" 10 #include "base/time.h"
11 #include "cc/debug/ring_buffer.h" 11 #include "cc/debug/ring_buffer.h"
12 12
13 namespace cc { 13 namespace cc {
14 14
15 // Maintains a history of memory for each frame. 15 // Maintains a history of memory for each frame.
16 class MemoryHistory { 16 class MemoryHistory {
(...skipping 28 matching lines...) Expand all
45 private: 45 private:
46 MemoryHistory(); 46 MemoryHistory();
47 47
48 RingBufferType ring_buffer_; 48 RingBufferType ring_buffer_;
49 49
50 DISALLOW_COPY_AND_ASSIGN(MemoryHistory); 50 DISALLOW_COPY_AND_ASSIGN(MemoryHistory);
51 }; 51 };
52 52
53 } // namespace cc 53 } // namespace cc
54 54
55 #endif // CC_MEMORY_HISTORY_H_ 55 #endif // CC_RESOURCES_MEMORY_HISTORY_H_
OLDNEW
« no previous file with comments | « cc/resources/managed_memory_policy.cc ('k') | cc/resources/memory_history.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698