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

Side by Side Diff: services/view_manager/client_connection.cc

Issue 774473003: Move view_manager service implementation to //services (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years 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
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/services/view_manager/client_connection.h" 5 #include "services/view_manager/client_connection.h"
6 6
7 #include "mojo/services/view_manager/connection_manager.h" 7 #include "services/view_manager/connection_manager.h"
8 #include "mojo/services/view_manager/view_manager_service_impl.h" 8 #include "services/view_manager/view_manager_service_impl.h"
9 9
10 namespace mojo { 10 namespace mojo {
11 namespace service { 11 namespace service {
12 12
13 ClientConnection::ClientConnection(scoped_ptr<ViewManagerServiceImpl> service) 13 ClientConnection::ClientConnection(scoped_ptr<ViewManagerServiceImpl> service)
14 : service_(service.Pass()), client_(nullptr) { 14 : service_(service.Pass()), client_(nullptr) {
15 } 15 }
16 16
17 ClientConnection::~ClientConnection() { 17 ClientConnection::~ClientConnection() {
18 } 18 }
(...skipping 11 matching lines...) Expand all
30 30
31 DefaultClientConnection::~DefaultClientConnection() { 31 DefaultClientConnection::~DefaultClientConnection() {
32 } 32 }
33 33
34 void DefaultClientConnection::OnConnectionError() { 34 void DefaultClientConnection::OnConnectionError() {
35 connection_manager_->OnConnectionError(this); 35 connection_manager_->OnConnectionError(this);
36 } 36 }
37 37
38 } // namespace service 38 } // namespace service
39 } // namespace mojo 39 } // namespace mojo
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698