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

Unified Diff: athena/resource_manager/resource_manager_impl.cc

Issue 596623005: Do not show the activity widget in ActivityManager::AddActivity (Closed) Base URL: https://chromium.googlesource.com/chromium/src@master
Patch Set: rebase Created 6 years, 3 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/main/url_search_provider.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: athena/resource_manager/resource_manager_impl.cc
diff --git a/athena/resource_manager/resource_manager_impl.cc b/athena/resource_manager/resource_manager_impl.cc
index 9c18a757a4611e925db5309504e7a58e31dd9d71..3cb303acb00b720f03c42123d9729d9b90f5de43 100644
--- a/athena/resource_manager/resource_manager_impl.cc
+++ b/athena/resource_manager/resource_manager_impl.cc
@@ -22,6 +22,7 @@
#include "ui/aura/window.h"
namespace athena {
+namespace {
class ResourceManagerImpl : public ResourceManager,
public WindowManagerObserver,
@@ -459,6 +460,8 @@ bool ResourceManagerImpl::AllowedToUnloadActivity() {
base::Time::Now() >= next_resource_management_time_;
}
+} // namespace
+
// static
void ResourceManager::Create() {
DCHECK(!instance);
« no previous file with comments | « athena/main/url_search_provider.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698