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

Side by Side Diff: chromeos/dbus/session_manager_client.h

Issue 23444057: Reduce chrome cras dbus call logs during device rebooting. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rename EnableLog Created 7 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 | Annotate | Revision Log
« no previous file with comments | « chromeos/dbus/cras_audio_client_stub_impl.cc ('k') | chromeos/dbus/session_manager_client.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 CHROMEOS_DBUS_SESSION_MANAGER_CLIENT_H_ 5 #ifndef CHROMEOS_DBUS_SESSION_MANAGER_CLIENT_H_
6 #define CHROMEOS_DBUS_SESSION_MANAGER_CLIENT_H_ 6 #define CHROMEOS_DBUS_SESSION_MANAGER_CLIENT_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 10
(...skipping 24 matching lines...) Expand all
35 virtual void LockScreen() {} 35 virtual void LockScreen() {}
36 36
37 // Called when the session manager announces that the screen has been locked 37 // Called when the session manager announces that the screen has been locked
38 // successfully (i.e. after NotifyLockScreenShown() has been called). 38 // successfully (i.e. after NotifyLockScreenShown() has been called).
39 virtual void ScreenIsLocked() {} 39 virtual void ScreenIsLocked() {}
40 40
41 // Called when the session manager announces that the screen has been 41 // Called when the session manager announces that the screen has been
42 // unlocked successfully (i.e. after NotifyLockScreenDismissed() has 42 // unlocked successfully (i.e. after NotifyLockScreenDismissed() has
43 // been called). 43 // been called).
44 virtual void ScreenIsUnlocked() {} 44 virtual void ScreenIsUnlocked() {}
45
46 // Called after EmitLoginPromptVisible is called.
47 virtual void EmitLoginPromptVisibleCalled() {}
45 }; 48 };
46 49
47 // Adds and removes the observer. 50 // Adds and removes the observer.
48 virtual void AddObserver(Observer* observer) = 0; 51 virtual void AddObserver(Observer* observer) = 0;
49 virtual void RemoveObserver(Observer* observer) = 0; 52 virtual void RemoveObserver(Observer* observer) = 0;
50 virtual bool HasObserver(Observer* observer) = 0; 53 virtual bool HasObserver(Observer* observer) = 0;
51 54
52 // Kicks off an attempt to emit the "login-prompt-ready" upstart signal. 55 // Kicks off an attempt to emit the "login-prompt-ready" upstart signal.
53 virtual void EmitLoginPromptReady() = 0; 56 virtual void EmitLoginPromptReady() = 0;
54 57
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
167 // Create() should be used instead. 170 // Create() should be used instead.
168 SessionManagerClient(); 171 SessionManagerClient();
169 172
170 private: 173 private:
171 DISALLOW_COPY_AND_ASSIGN(SessionManagerClient); 174 DISALLOW_COPY_AND_ASSIGN(SessionManagerClient);
172 }; 175 };
173 176
174 } // namespace chromeos 177 } // namespace chromeos
175 178
176 #endif // CHROMEOS_DBUS_SESSION_MANAGER_CLIENT_H_ 179 #endif // CHROMEOS_DBUS_SESSION_MANAGER_CLIENT_H_
OLDNEW
« no previous file with comments | « chromeos/dbus/cras_audio_client_stub_impl.cc ('k') | chromeos/dbus/session_manager_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698