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

Unified Diff: athena/resource_manager/public/resource_manager_delegate.h

Issue 863033002: Delete athena/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 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 | « athena/resource_manager/public/resource_manager.h ('k') | athena/resource_manager/resource_manager_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: athena/resource_manager/public/resource_manager_delegate.h
diff --git a/athena/resource_manager/public/resource_manager_delegate.h b/athena/resource_manager/public/resource_manager_delegate.h
deleted file mode 100644
index aca40cfb421d44a86b098c6fe4aae6c13076cb40..0000000000000000000000000000000000000000
--- a/athena/resource_manager/public/resource_manager_delegate.h
+++ /dev/null
@@ -1,35 +0,0 @@
-// Copyright 2014 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 ATHENA_RESOURCE_MANAGER_PUBLIC_RESOURCE_MANAGER_DLEGATE_H_
-#define ATHENA_RESOURCE_MANAGER_PUBLIC_RESOURCE_MANAGER_DLEGATE_H_
-
-#include <string>
-
-#include "athena/athena_export.h"
-#include "base/macros.h"
-
-namespace athena {
-
-// The resource manager delegate which abstracts system function calls to allow
-// unit tests to override them.
-class ATHENA_EXPORT ResourceManagerDelegate {
- public:
- static ResourceManagerDelegate* CreateResourceManagerDelegate();
-
- ResourceManagerDelegate() {}
- virtual ~ResourceManagerDelegate() {}
-
- // Returns the percentage of memory used in the system.
- virtual int GetUsedMemoryInPercent() = 0;
-
- // Returns the time memory pressure interval time in ms to be used by the
- // memory pressure monitoring system. This is also used as the default time
- // difference between resource de-allocation operation calls.
- virtual int MemoryPressureIntervalInMS() = 0;
-};
-
-} // namespace athena
-
-#endif // ATHENA_RESOURCE_MANAGER_PUBLIC_RESOURCE_MANAGER_DLEGATE_H_
« no previous file with comments | « athena/resource_manager/public/resource_manager.h ('k') | athena/resource_manager/resource_manager_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698