More updates: use string instead of integer to identify blocker type.
This commit is contained in:
parent
532f75fcab
commit
13784e6551
4 changed files with 29 additions and 43 deletions
|
@ -44,8 +44,8 @@ class PowerSaveBlocker : public mate::Wrappable {
|
|||
content::PowerSaveBlocker::PowerSaveBlockerType current_blocker_type_;
|
||||
|
||||
// Map from id to the corresponding blocker type for each request.
|
||||
typedef std::map<int, content::PowerSaveBlocker::PowerSaveBlockerType>
|
||||
PowerSaveBlockerTypeMap;
|
||||
using PowerSaveBlockerTypeMap =
|
||||
std::map<int, content::PowerSaveBlocker::PowerSaveBlockerType>;
|
||||
PowerSaveBlockerTypeMap power_save_blocker_types_;
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue