| OLD | NEW |
| 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 975 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 986 SessionManagerClient::SessionManagerClient() { | 986 SessionManagerClient::SessionManagerClient() { |
| 987 } | 987 } |
| 988 | 988 |
| 989 SessionManagerClient::~SessionManagerClient() { | 989 SessionManagerClient::~SessionManagerClient() { |
| 990 } | 990 } |
| 991 | 991 |
| 992 SessionManagerClient* SessionManagerClient::Create( | 992 SessionManagerClient* SessionManagerClient::Create( |
| 993 DBusClientImplementationType type) { | 993 DBusClientImplementationType type) { |
| 994 if (type == REAL_DBUS_CLIENT_IMPLEMENTATION) | 994 if (type == REAL_DBUS_CLIENT_IMPLEMENTATION) |
| 995 return new SessionManagerClientImpl(); | 995 return new SessionManagerClientImpl(); |
| 996 DCHECK_EQ(STUB_DBUS_CLIENT_IMPLEMENTATION, type); | 996 DCHECK_EQ(FAKE_DBUS_CLIENT_IMPLEMENTATION, type); |
| 997 return new SessionManagerClientStubImpl(); | 997 return new SessionManagerClientStubImpl(); |
| 998 } | 998 } |
| 999 | 999 |
| 1000 } // namespace chromeos | 1000 } // namespace chromeos |
| OLD | NEW |