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

Side by Side Diff: trunk/src/mojo/spy/spy_server_impl.cc

Issue 381513002: Revert 272463 "Revert 272458 "Adding more guts to the mojo spy."" (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 years, 5 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 | Annotate | Revision Log
« no previous file with comments | « trunk/src/mojo/spy/spy_server_impl.h ('k') | trunk/src/mojo/spy/websocket_server.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "mojo/spy/spy_server_impl.h" 5 #include "mojo/spy/spy_server_impl.h"
6 6
7 #include "mojo/public/cpp/bindings/allocation_scope.h" 7 #include "mojo/public/cpp/bindings/allocation_scope.h"
8 #include "mojo/public/cpp/system/core.h" 8 #include "mojo/public/cpp/system/core.h"
9 9
10 namespace { 10 namespace {
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 items_[id] = new Item(id, Item::kServiceIntercept); 87 items_[id] = new Item(id, Item::kServiceIntercept);
88 client()->OnClientConnection( 88 client()->OnClientConnection(
89 url.possibly_invalid_spec(), id, spy_api::PEEK_MESSAGES); 89 url.possibly_invalid_spec(), id, spy_api::PEEK_MESSAGES);
90 } 90 }
91 91
92 ScopedMessagePipeHandle SpyServerImpl::ServerPipe() { 92 ScopedMessagePipeHandle SpyServerImpl::ServerPipe() {
93 return ScopedMessagePipeHandle(pipe_.handle1.Pass()).Pass(); 93 return ScopedMessagePipeHandle(pipe_.handle1.Pass()).Pass();
94 } 94 }
95 95
96 } // namespace mojo 96 } // namespace mojo
OLDNEW
« no previous file with comments | « trunk/src/mojo/spy/spy_server_impl.h ('k') | trunk/src/mojo/spy/websocket_server.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698