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

Side by Side Diff: components/proximity_auth/unlock_manager.cc

Issue 1551433002: Switch to standard integer types in components/, part 3 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more Created 4 years, 12 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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/unlock_manager.h" 5 #include "components/proximity_auth/unlock_manager.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/location.h" 8 #include "base/location.h"
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "base/thread_task_runner_handle.h" 10 #include "base/thread_task_runner_handle.h"
11 #include "base/time/default_tick_clock.h" 11 #include "base/time/default_tick_clock.h"
12 #include "base/time/time.h" 12 #include "base/time/time.h"
13 #include "build/build_config.h"
13 #include "components/proximity_auth/logging/logging.h" 14 #include "components/proximity_auth/logging/logging.h"
14 #include "components/proximity_auth/messenger.h" 15 #include "components/proximity_auth/messenger.h"
15 #include "components/proximity_auth/metrics.h" 16 #include "components/proximity_auth/metrics.h"
16 #include "components/proximity_auth/proximity_auth_client.h" 17 #include "components/proximity_auth/proximity_auth_client.h"
17 #include "components/proximity_auth/proximity_monitor_impl.h" 18 #include "components/proximity_auth/proximity_monitor_impl.h"
18 #include "components/proximity_auth/remote_device.h" 19 #include "components/proximity_auth/remote_device.h"
19 #include "components/proximity_auth/secure_context.h" 20 #include "components/proximity_auth/secure_context.h"
20 #include "device/bluetooth/bluetooth_adapter_factory.h" 21 #include "device/bluetooth/bluetooth_adapter_factory.h"
21 22
22 #if defined(OS_CHROMEOS) 23 #if defined(OS_CHROMEOS)
(...skipping 469 matching lines...) Expand 10 before | Expand all | Expand 10 after
492 493
493 Messenger* UnlockManager::GetMessenger() { 494 Messenger* UnlockManager::GetMessenger() {
494 // TODO(tengs): We should use a weak pointer to hold the Messenger instance 495 // TODO(tengs): We should use a weak pointer to hold the Messenger instance
495 // instead. 496 // instead.
496 if (!life_cycle_) 497 if (!life_cycle_)
497 return nullptr; 498 return nullptr;
498 return life_cycle_->GetMessenger(); 499 return life_cycle_->GetMessenger();
499 } 500 }
500 501
501 } // namespace proximity_auth 502 } // namespace proximity_auth
OLDNEW
« no previous file with comments | « components/proximity_auth/unlock_manager.h ('k') | components/proximity_auth/unlock_manager_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698