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

Unified Diff: content/browser/dom_storage/dom_storage_context_wrapper.cc

Issue 2819493002: [Test] Move DelegatedFrameEvictor into components -public_deps (Closed)
Patch Set: use if null instead of feature Created 3 years, 8 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
Index: content/browser/dom_storage/dom_storage_context_wrapper.cc
diff --git a/content/browser/dom_storage/dom_storage_context_wrapper.cc b/content/browser/dom_storage/dom_storage_context_wrapper.cc
index be4ffb4c0b619f129745bb2b14a1d742ccb5f950..9d5c7e8876ce769dbfa520e42149ed696e098be9 100644
--- a/content/browser/dom_storage/dom_storage_context_wrapper.cc
+++ b/content/browser/dom_storage/dom_storage_context_wrapper.cc
@@ -7,6 +7,7 @@
#include <string>
#include <vector>
+#include "base/base_features.h"
#include "base/bind.h"
#include "base/bind_helpers.h"
#include "base/command_line.h"
@@ -31,7 +32,6 @@
#include "content/public/browser/local_storage_usage_info.h"
#include "content/public/browser/session_storage_usage_info.h"
#include "content/public/common/content_client.h"
-#include "content/public/common/content_features.h"
#include "content/public/common/content_switches.h"
namespace content {
@@ -138,7 +138,7 @@ DOMStorageContextWrapper::DOMStorageContextWrapper(
storage_dir));
}
- if (base::FeatureList::IsEnabled(features::kMemoryCoordinator)) {
+ if (base::FeatureList::IsEnabled(base::features::kMemoryCoordinator)) {
base::MemoryCoordinatorClientRegistry::GetInstance()->Register(this);
} else {
memory_pressure_listener_.reset(new base::MemoryPressureListener(
@@ -242,7 +242,7 @@ void DOMStorageContextWrapper::Shutdown() {
FROM_HERE,
DOMStorageTaskRunner::PRIMARY_SEQUENCE,
base::Bind(&DOMStorageContextImpl::Shutdown, context_));
- if (base::FeatureList::IsEnabled(features::kMemoryCoordinator)) {
+ if (base::FeatureList::IsEnabled(base::features::kMemoryCoordinator)) {
base::MemoryCoordinatorClientRegistry::GetInstance()->Unregister(this);
}
« no previous file with comments | « content/browser/devtools/protocol/memory_handler.cc ('k') | content/browser/memory/memory_coordinator_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698