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 | 9 |
10 #include <memory> | 10 #include <memory> |
(...skipping 913 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
924 SessionManagerClient::SessionManagerClient() { | 924 SessionManagerClient::SessionManagerClient() { |
925 } | 925 } |
926 | 926 |
927 SessionManagerClient::~SessionManagerClient() { | 927 SessionManagerClient::~SessionManagerClient() { |
928 } | 928 } |
929 | 929 |
930 SessionManagerClient* SessionManagerClient::Create( | 930 SessionManagerClient* SessionManagerClient::Create( |
931 DBusClientImplementationType type) { | 931 DBusClientImplementationType type) { |
932 if (type == REAL_DBUS_CLIENT_IMPLEMENTATION) | 932 if (type == REAL_DBUS_CLIENT_IMPLEMENTATION) |
933 return new SessionManagerClientImpl(); | 933 return new SessionManagerClientImpl(); |
934 DCHECK_EQ(STUB_DBUS_CLIENT_IMPLEMENTATION, type); | 934 DCHECK_EQ(FAKE_DBUS_CLIENT_IMPLEMENTATION, type); |
935 return new SessionManagerClientStubImpl(); | 935 return new SessionManagerClientStubImpl(); |
936 } | 936 } |
937 | 937 |
938 } // namespace chromeos | 938 } // namespace chromeos |
OLD | NEW |