Index: content/browser/devtools/protocol/memory_handler.cc |
diff --git a/content/browser/devtools/protocol/memory_handler.cc b/content/browser/devtools/protocol/memory_handler.cc |
new file mode 100644 |
index 0000000000000000000000000000000000000000..48bf23be390a8909e09e206a52828df49120dabf |
--- /dev/null |
+++ b/content/browser/devtools/protocol/memory_handler.cc |
@@ -0,0 +1,27 @@ |
+// Copyright 2015 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 "content/browser/devtools/protocol/memory_handler.h" |
+ |
+#include "base/bind.h" |
+#include "content/browser/memory/memory_message_filter.h" |
+ |
+namespace content { |
+namespace devtools { |
+namespace memory { |
+ |
+MemoryHandler::MemoryHandler() {} |
+ |
+MemoryHandler::~MemoryHandler() {} |
+ |
+MemoryHandler::Response MemoryHandler::SetNotificationsSuppressed( |
+ bool suppressed) { |
+ content::memory::MemoryMessageFilter:: |
+ SendSetNotificationsSuppressedToAllProcesses(suppressed); |
+ return Response::OK(); |
Sami
2015/09/08 18:06:56
Is there ever a need to wait for this to complete
petrcermak
2015/09/11 10:43:50
Unfortunately, there is no way to get a callback w
Sami
2015/09/11 11:37:42
Like we discussed, I only meant waiting until the
petrcermak
2015/09/14 12:46:22
I added ack messages from child processes to addre
|
+} |
+ |
+} // namespace tracing |
+} // namespace devtools |
+} // namespace content |