Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #include "content/browser/devtools/protocol/memory_handler.h" | |
| 6 | |
| 7 #include "base/bind.h" | |
| 8 #include "content/browser/memory/memory_message_filter.h" | |
| 9 | |
| 10 namespace content { | |
| 11 namespace devtools { | |
| 12 namespace memory { | |
| 13 | |
| 14 MemoryHandler::MemoryHandler() {} | |
| 15 | |
| 16 MemoryHandler::~MemoryHandler() {} | |
| 17 | |
| 18 MemoryHandler::Response MemoryHandler::SetNotificationsSuppressed( | |
| 19 bool suppressed) { | |
| 20 content::memory::MemoryMessageFilter:: | |
| 21 SendSetNotificationsSuppressedToAllProcesses(suppressed); | |
| 22 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
| |
| 23 } | |
| 24 | |
| 25 } // namespace tracing | |
| 26 } // namespace devtools | |
| 27 } // namespace content | |
| OLD | NEW |