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

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

Issue 1970833002: Fix include path for moved thread_task_runner_handle.h header in components/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@a1_move_task_runner_handle
Patch Set: merge up to r393009 Created 4 years, 7 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/memory/ptr_util.h" 10 #include "base/memory/ptr_util.h"
11 #include "base/thread_task_runner_handle.h" 11 #include "base/threading/thread_task_runner_handle.h"
12 #include "base/time/default_tick_clock.h" 12 #include "base/time/default_tick_clock.h"
13 #include "base/time/time.h" 13 #include "base/time/time.h"
14 #include "build/build_config.h" 14 #include "build/build_config.h"
15 #include "components/proximity_auth/logging/logging.h" 15 #include "components/proximity_auth/logging/logging.h"
16 #include "components/proximity_auth/messenger.h" 16 #include "components/proximity_auth/messenger.h"
17 #include "components/proximity_auth/metrics.h" 17 #include "components/proximity_auth/metrics.h"
18 #include "components/proximity_auth/proximity_auth_client.h" 18 #include "components/proximity_auth/proximity_auth_client.h"
19 #include "components/proximity_auth/proximity_monitor_impl.h" 19 #include "components/proximity_auth/proximity_monitor_impl.h"
20 #include "components/proximity_auth/remote_device.h" 20 #include "components/proximity_auth/remote_device.h"
21 #include "components/proximity_auth/secure_context.h" 21 #include "components/proximity_auth/secure_context.h"
(...skipping 472 matching lines...) Expand 10 before | Expand all | Expand 10 after
494 494
495 Messenger* UnlockManager::GetMessenger() { 495 Messenger* UnlockManager::GetMessenger() {
496 // TODO(tengs): We should use a weak pointer to hold the Messenger instance 496 // TODO(tengs): We should use a weak pointer to hold the Messenger instance
497 // instead. 497 // instead.
498 if (!life_cycle_) 498 if (!life_cycle_)
499 return nullptr; 499 return nullptr;
500 return life_cycle_->GetMessenger(); 500 return life_cycle_->GetMessenger();
501 } 501 }
502 502
503 } // namespace proximity_auth 503 } // namespace proximity_auth
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698