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

Side by Side Diff: chrome/browser/signin/easy_unlock_service.h

Issue 528423002: Unload Easy Unlock app when ChromeOS suspends and reload on wake up. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: in file Created 6 years, 3 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 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 #ifndef CHROME_BROWSER_SIGNIN_EASY_UNLOCK_SERVICE_H_ 5 #ifndef CHROME_BROWSER_SIGNIN_EASY_UNLOCK_SERVICE_H_
6 #define CHROME_BROWSER_SIGNIN_EASY_UNLOCK_SERVICE_H_ 6 #define CHROME_BROWSER_SIGNIN_EASY_UNLOCK_SERVICE_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "base/memory/weak_ptr.h" 10 #include "base/memory/weak_ptr.h"
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 Profile* profile_; 108 Profile* profile_;
109 PrefChangeRegistrar registrar_; 109 PrefChangeRegistrar registrar_;
110 scoped_ptr<BluetoothDetector> bluetooth_detector_; 110 scoped_ptr<BluetoothDetector> bluetooth_detector_;
111 // Created lazily in |GetScreenlockStateHandler|. 111 // Created lazily in |GetScreenlockStateHandler|.
112 scoped_ptr<EasyUnlockScreenlockStateHandler> screenlock_state_handler_; 112 scoped_ptr<EasyUnlockScreenlockStateHandler> screenlock_state_handler_;
113 113
114 TurnOffFlowStatus turn_off_flow_status_; 114 TurnOffFlowStatus turn_off_flow_status_;
115 scoped_ptr<EasyUnlockToggleFlow> turn_off_flow_; 115 scoped_ptr<EasyUnlockToggleFlow> turn_off_flow_;
116 ObserverList<EasyUnlockServiceObserver> observers_; 116 ObserverList<EasyUnlockServiceObserver> observers_;
117 117
118 #if defined(OS_CHROMEOS)
119 // Monitors suspend and wake state of ChromeOS.
120 class PowerMonitor;
121 scoped_ptr<PowerMonitor> power_monitor_;
122 #endif
123
118 base::WeakPtrFactory<EasyUnlockService> weak_ptr_factory_; 124 base::WeakPtrFactory<EasyUnlockService> weak_ptr_factory_;
119 125
120 DISALLOW_COPY_AND_ASSIGN(EasyUnlockService); 126 DISALLOW_COPY_AND_ASSIGN(EasyUnlockService);
121 }; 127 };
122 128
123 #endif // CHROME_BROWSER_SIGNIN_EASY_UNLOCK_SERVICE_H_ 129 #endif // CHROME_BROWSER_SIGNIN_EASY_UNLOCK_SERVICE_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/signin/easy_unlock_service.cc » ('j') | chrome/browser/signin/easy_unlock_service.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698