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

Side by Side Diff: content/browser/devtools/protocol/memory_handler.cc

Issue 1332583002: Architecture for cross-process memory notification suppressing (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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 unified diff | Download patch
OLDNEW
(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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698