OLD | NEW |
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 "components/proximity_auth/screenlock_bridge.h" | 5 #include "components/proximity_auth/screenlock_bridge.h" |
6 | 6 |
7 #include "base/strings/string16.h" | 7 #include "base/strings/string16.h" |
| 8 #include "build/build_config.h" |
8 #include "components/proximity_auth/logging/logging.h" | 9 #include "components/proximity_auth/logging/logging.h" |
9 | 10 |
10 #if defined(OS_CHROMEOS) | 11 #if defined(OS_CHROMEOS) |
11 #include "chromeos/dbus/dbus_thread_manager.h" | 12 #include "chromeos/dbus/dbus_thread_manager.h" |
12 #include "chromeos/dbus/session_manager_client.h" | 13 #include "chromeos/dbus/session_manager_client.h" |
13 #endif | 14 #endif |
14 | 15 |
15 namespace proximity_auth { | 16 namespace proximity_auth { |
16 namespace { | 17 namespace { |
17 | 18 |
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
174 observers_.RemoveObserver(observer); | 175 observers_.RemoveObserver(observer); |
175 } | 176 } |
176 | 177 |
177 ScreenlockBridge::ScreenlockBridge() | 178 ScreenlockBridge::ScreenlockBridge() |
178 : lock_handler_(nullptr), focused_account_id_(EmptyAccountId()) {} | 179 : lock_handler_(nullptr), focused_account_id_(EmptyAccountId()) {} |
179 | 180 |
180 ScreenlockBridge::~ScreenlockBridge() { | 181 ScreenlockBridge::~ScreenlockBridge() { |
181 } | 182 } |
182 | 183 |
183 } // namespace proximity_auth | 184 } // namespace proximity_auth |
OLD | NEW |