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

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

Issue 564663003: easy_unlock: When loading the easy-unlock app, make sure it's enabled (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . 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 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 // A class to detect whether a bluetooth adapter is present. 81 // A class to detect whether a bluetooth adapter is present.
82 class BluetoothDetector; 82 class BluetoothDetector;
83 83
84 // Initializes the service after ExtensionService is ready. 84 // Initializes the service after ExtensionService is ready.
85 void Initialize(); 85 void Initialize();
86 86
87 // Installs the Easy unlock component app if it isn't installed or enables 87 // Installs the Easy unlock component app if it isn't installed or enables
88 // the app if it is installed but disabled. 88 // the app if it is installed but disabled.
89 void LoadApp(); 89 void LoadApp();
90 90
91 // Disables the Easy unlock component app. 91 // Disables the Easy unlock component app if it's loaded.
92 void DisableApp(); 92 void DisableAppIfLoaded();
93 93
94 // Checks whether Easy unlock should be running and updates app state. 94 // Checks whether Easy unlock should be running and updates app state.
95 void UpdateAppState(); 95 void UpdateAppState();
96 96
97 // Callback when the controlling pref changes. 97 // Callback when the controlling pref changes.
98 void OnPrefsChanged(); 98 void OnPrefsChanged();
99 99
100 // Callback when Bluetooth adapter present state changes. 100 // Callback when Bluetooth adapter present state changes.
101 void OnBluetoothAdapterPresentChanged(); 101 void OnBluetoothAdapterPresentChanged();
102 102
(...skipping 18 matching lines...) Expand all
121 class PowerMonitor; 121 class PowerMonitor;
122 scoped_ptr<PowerMonitor> power_monitor_; 122 scoped_ptr<PowerMonitor> power_monitor_;
123 #endif 123 #endif
124 124
125 base::WeakPtrFactory<EasyUnlockService> weak_ptr_factory_; 125 base::WeakPtrFactory<EasyUnlockService> weak_ptr_factory_;
126 126
127 DISALLOW_COPY_AND_ASSIGN(EasyUnlockService); 127 DISALLOW_COPY_AND_ASSIGN(EasyUnlockService);
128 }; 128 };
129 129
130 #endif // CHROME_BROWSER_SIGNIN_EASY_UNLOCK_SERVICE_H_ 130 #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