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

Unified Diff: net/sdch/sdch_owner.cc

Issue 962313003: [net]: Disable SdchOwner's MemoryPressureListener to investigate http://crbug.com/447208. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Change #ifdef Created 5 years, 10 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 | « net/sdch/sdch_owner.h ('k') | net/sdch/sdch_owner_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/sdch/sdch_owner.cc
diff --git a/net/sdch/sdch_owner.cc b/net/sdch/sdch_owner.cc
index 7426c943208a755bb1e2ab42cf2f230788a071a0..4e3eef0dd66dbdeee77a32da188727e9f03fce7e 100644
--- a/net/sdch/sdch_owner.cc
+++ b/net/sdch/sdch_owner.cc
@@ -87,17 +87,14 @@ SdchOwner::SdchOwner(net::SdchManager* sdch_manager,
total_dictionary_bytes_(0),
clock_(new base::DefaultClock),
max_total_dictionary_size_(kMaxTotalDictionarySize),
- min_space_for_dictionary_fetch_(kMinSpaceForDictionaryFetch),
+ min_space_for_dictionary_fetch_(kMinSpaceForDictionaryFetch)
+ // TODO(rmcilroy) Add back memory_pressure_listener_ when
+ // http://crbug.com/447208 is fixed
#if defined(OS_CHROMEOS)
// For debugging http://crbug.com/454198; remove when resolved.
- destroyed_(0),
+ , destroyed_(0)
#endif
- memory_pressure_listener_(
- base::Bind(&SdchOwner::OnMemoryPressure,
- // Because |memory_pressure_listener_| is owned by
- // SdchOwner, the SdchOwner object will be available
- // for the lifetime of |memory_pressure_listener_|.
- base::Unretained(this))) {
+ {
#if defined(OS_CHROMEOS)
// For debugging http://crbug.com/454198; remove when resolved.
CHECK(clock_.get());
« no previous file with comments | « net/sdch/sdch_owner.h ('k') | net/sdch/sdch_owner_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698