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

Unified Diff: cc/managed_memory_policy.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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cc/layer_updater.cc ('k') | cc/managed_memory_policy.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/managed_memory_policy.h
diff --git a/cc/managed_memory_policy.h b/cc/managed_memory_policy.h
deleted file mode 100644
index b8c1b3fb83b4dbbac11ec31a96f07b11c35f5afb..0000000000000000000000000000000000000000
--- a/cc/managed_memory_policy.h
+++ /dev/null
@@ -1,41 +0,0 @@
-// Copyright 2011 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef CC_MANAGED_MEMORY_POLICY_H_
-#define CC_MANAGED_MEMORY_POLICY_H_
-
-#include "base/basictypes.h"
-#include "cc/base/cc_export.h"
-#include "cc/tile_priority.h"
-
-namespace cc {
-
-struct CC_EXPORT ManagedMemoryPolicy {
- enum PriorityCutoff {
- CUTOFF_ALLOW_NOTHING,
- CUTOFF_ALLOW_REQUIRED_ONLY,
- CUTOFF_ALLOW_NICE_TO_HAVE,
- CUTOFF_ALLOW_EVERYTHING,
- };
-
- ManagedMemoryPolicy(size_t bytesLimitWhenVisible);
- ManagedMemoryPolicy(size_t bytesLimitWhenVisible,
- PriorityCutoff priorityCutoffWhenVisible,
- size_t bytesLimitWhenNotVisible,
- PriorityCutoff priorityCutoffWhenNotVisible);
- bool operator==(const ManagedMemoryPolicy&) const;
- bool operator!=(const ManagedMemoryPolicy&) const;
-
- size_t bytesLimitWhenVisible;
- PriorityCutoff priorityCutoffWhenVisible;
- size_t bytesLimitWhenNotVisible;
- PriorityCutoff priorityCutoffWhenNotVisible;
-
- static int priorityCutoffToValue(PriorityCutoff priorityCutoff);
- static TileMemoryLimitPolicy priorityCutoffToTileMemoryLimitPolicy(PriorityCutoff priorityCutoff);
-};
-
-} // namespace cc
-
-#endif // CC_MANAGED_MEMORY_POLICY_H_
« no previous file with comments | « cc/layer_updater.cc ('k') | cc/managed_memory_policy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698