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

Side by Side Diff: chromeos/dbus/session_manager_client.cc

Issue 2319783002: mash: Allow a subset of D-Bus clients to be created in DBusThreadManager (Closed)
Patch Set: WIP, add DBusThreadManagerAsh and DBusThreadManagerChrome Created 4 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
« no previous file with comments | « chromeos/dbus/power_manager_client.cc ('k') | chromeos/dbus/update_engine_client.cc » ('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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 "chromeos/dbus/session_manager_client.h" 5 #include "chromeos/dbus/session_manager_client.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 #include <stdint.h> 8 #include <stdint.h>
9 #include <sys/socket.h> 9 #include <sys/socket.h>
10 10
(...skipping 957 matching lines...) Expand 10 before | Expand all | Expand 10 after
968 SessionManagerClient::SessionManagerClient() { 968 SessionManagerClient::SessionManagerClient() {
969 } 969 }
970 970
971 SessionManagerClient::~SessionManagerClient() { 971 SessionManagerClient::~SessionManagerClient() {
972 } 972 }
973 973
974 SessionManagerClient* SessionManagerClient::Create( 974 SessionManagerClient* SessionManagerClient::Create(
975 DBusClientImplementationType type) { 975 DBusClientImplementationType type) {
976 if (type == REAL_DBUS_CLIENT_IMPLEMENTATION) 976 if (type == REAL_DBUS_CLIENT_IMPLEMENTATION)
977 return new SessionManagerClientImpl(); 977 return new SessionManagerClientImpl();
978 DCHECK_EQ(STUB_DBUS_CLIENT_IMPLEMENTATION, type); 978 DCHECK_EQ(FAKE_DBUS_CLIENT_IMPLEMENTATION, type);
979 return new SessionManagerClientStubImpl(); 979 return new SessionManagerClientStubImpl();
980 } 980 }
981 981
982 } // namespace chromeos 982 } // namespace chromeos
OLDNEW
« no previous file with comments | « chromeos/dbus/power_manager_client.cc ('k') | chromeos/dbus/update_engine_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698