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

Side by Side Diff: content/child/mojo/mojo_application.cc

Issue 289063015: Mojo: Remove SetClient from generated interfaces (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 7 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
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 "content/child/mojo/mojo_application.h" 5 #include "content/child/mojo/mojo_application.h"
6 6
7 #include "content/child/child_process.h" 7 #include "content/child/child_process.h"
8 #include "content/common/mojo/mojo_messages.h" 8 #include "content/common/mojo/mojo_messages.h"
9 #include "ipc/ipc_message.h" 9 #include "ipc/ipc_message.h"
10 10
(...skipping 21 matching lines...) Expand all
32 base::PlatformFile handle = file.fd; 32 base::PlatformFile handle = file.fd;
33 #elif defined(OS_WIN) 33 #elif defined(OS_WIN)
34 base::PlatformFile handle = file; 34 base::PlatformFile handle = file;
35 #endif 35 #endif
36 mojo::ScopedMessagePipeHandle message_pipe = 36 mojo::ScopedMessagePipeHandle message_pipe =
37 channel_init_.Init(handle, 37 channel_init_.Init(handle,
38 ChildProcess::current()->io_message_loop_proxy()); 38 ChildProcess::current()->io_message_loop_proxy());
39 DCHECK(message_pipe.is_valid()); 39 DCHECK(message_pipe.is_valid());
40 40
41 shell_.Bind(message_pipe.Pass()); 41 shell_.Bind(message_pipe.Pass());
42 shell_->SetClient(shell_client_); 42 shell_.set_client(shell_client_);
43 } 43 }
44 44
45 } // namespace content 45 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/webui/web_ui_mojo_browsertest.cc ('k') | mojo/apps/js/test/js_to_cpp_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698