| OLD | NEW |
| 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 #include "chrome/browser/extensions/system/system_api.h" | 5 #include "chrome/browser/extensions/system/system_api.h" |
| 6 | 6 |
| 7 #include "base/prefs/pref_service.h" |
| 7 #include "base/values.h" | 8 #include "base/values.h" |
| 8 #include "chrome/browser/browser_process.h" | 9 #include "chrome/browser/browser_process.h" |
| 9 #include "chrome/browser/extensions/event_router_forwarder.h" | 10 #include "chrome/browser/extensions/event_router_forwarder.h" |
| 10 #include "chrome/browser/prefs/pref_service.h" | |
| 11 #include "chrome/browser/profiles/profile.h" | 11 #include "chrome/browser/profiles/profile.h" |
| 12 #include "chrome/common/pref_names.h" | 12 #include "chrome/common/pref_names.h" |
| 13 | 13 |
| 14 #if defined(OS_CHROMEOS) | 14 #if defined(OS_CHROMEOS) |
| 15 #include "chromeos/dbus/dbus_thread_manager.h" | 15 #include "chromeos/dbus/dbus_thread_manager.h" |
| 16 #include "chromeos/dbus/update_engine_client.h" | 16 #include "chromeos/dbus/update_engine_client.h" |
| 17 #else | 17 #else |
| 18 #include "chrome/browser/upgrade_detector.h" | 18 #include "chrome/browser/upgrade_detector.h" |
| 19 #endif | 19 #endif |
| 20 | 20 |
| (...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 148 | 148 |
| 149 void DispatchScreenUnlockedEvent() { | 149 void DispatchScreenUnlockedEvent() { |
| 150 DispatchEvent(kOnScreenUnlocked, NULL); | 150 DispatchEvent(kOnScreenUnlocked, NULL); |
| 151 } | 151 } |
| 152 | 152 |
| 153 void DispatchWokeUpEvent() { | 153 void DispatchWokeUpEvent() { |
| 154 DispatchEvent(kOnWokeUp, NULL); | 154 DispatchEvent(kOnWokeUp, NULL); |
| 155 } | 155 } |
| 156 | 156 |
| 157 } // namespace extensions | 157 } // namespace extensions |
| OLD | NEW |