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

Side by Side Diff: services/service_manager/public/cpp/lib/connection_impl.cc

Issue 2419723002: Move services/shell to services/service_manager (Closed)
Patch Set: rebase Created 4 years, 2 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
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 "services/shell/public/cpp/lib/connection_impl.h" 5 #include "services/service_manager/public/cpp/lib/connection_impl.h"
6 6
7 #include <stdint.h> 7 #include <stdint.h>
8 8
9 #include <utility> 9 #include <utility>
10 10
11 #include "base/bind.h" 11 #include "base/bind.h"
12 #include "base/logging.h" 12 #include "base/logging.h"
13 #include "services/shell/public/cpp/connection.h" 13 #include "services/service_manager/public/cpp/connection.h"
14 #include "services/shell/public/cpp/interface_binder.h" 14 #include "services/service_manager/public/cpp/interface_binder.h"
15 15
16 namespace shell { 16 namespace shell {
17 namespace internal { 17 namespace internal {
18 18
19 //////////////////////////////////////////////////////////////////////////////// 19 ////////////////////////////////////////////////////////////////////////////////
20 // ConnectionImpl, public: 20 // ConnectionImpl, public:
21 21
22 ConnectionImpl::ConnectionImpl() 22 ConnectionImpl::ConnectionImpl()
23 : weak_factory_(this) {} 23 : weak_factory_(this) {}
24 24
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 State::CONNECTED : State::DISCONNECTED; 88 State::CONNECTED : State::DISCONNECTED;
89 remote_.set_user_id(target_user_id); 89 remote_.set_user_id(target_user_id);
90 std::vector<base::Closure> callbacks; 90 std::vector<base::Closure> callbacks;
91 callbacks.swap(connection_completed_callbacks_); 91 callbacks.swap(connection_completed_callbacks_);
92 for (auto callback : callbacks) 92 for (auto callback : callbacks)
93 callback.Run(); 93 callback.Run();
94 } 94 }
95 95
96 } // namespace internal 96 } // namespace internal
97 } // namespace shell 97 } // namespace shell
OLDNEW
« no previous file with comments | « services/service_manager/public/cpp/lib/connection_impl.h ('k') | services/service_manager/public/cpp/lib/connector_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698