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

Unified Diff: athena/test/base/test_resource_manager_delegate.cc

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/test/base/test_app_model_builder.cc ('k') | athena/test/base/test_util.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: athena/test/base/test_resource_manager_delegate.cc
diff --git a/athena/test/base/test_resource_manager_delegate.cc b/athena/test/base/test_resource_manager_delegate.cc
deleted file mode 100644
index ae771c46fa9873401088bde0e4070d258b74b600..0000000000000000000000000000000000000000
--- a/athena/test/base/test_resource_manager_delegate.cc
+++ /dev/null
@@ -1,44 +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.
-
-#include "athena/resource_manager/public/resource_manager_delegate.h"
-
-#include <string>
-
-#include "base/macros.h"
-
-namespace athena {
-
-namespace test {
-
-namespace {
-// This is the minimum amount of time in milliseconds between checks for
-// low memory. Since we report no memory use (and the timeout is extremely long)
-// the memory pressure event will never go off.
-const int kMemoryPressureIntervalMs = 60000;
-} // namespace
-
-class ResourceManagerDelegateImpl : public ResourceManagerDelegate {
- public:
- ResourceManagerDelegateImpl() {}
- ~ResourceManagerDelegateImpl() override {}
-
- private:
- int GetUsedMemoryInPercent() override { return 0; }
-
- int MemoryPressureIntervalInMS() override {
- return kMemoryPressureIntervalMs;
- }
- DISALLOW_COPY_AND_ASSIGN(ResourceManagerDelegateImpl);
-};
-
-} // namespace test
-
-// static
-ResourceManagerDelegate*
-ResourceManagerDelegate::CreateResourceManagerDelegate() {
- return new test::ResourceManagerDelegateImpl;
-}
-
-} // namespace athena
« no previous file with comments | « athena/test/base/test_app_model_builder.cc ('k') | athena/test/base/test_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698