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

Side by Side Diff: chrome/browser/chromeos/power/suspend_observer.cc

Issue 12089062: Move API functions registrations out of ExtensionFunctionRegistry. (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: Created 7 years, 10 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
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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/chromeos/power/suspend_observer.h" 5 #include "chrome/browser/chromeos/power/suspend_observer.h"
6 6
7 #include "chrome/browser/chromeos/login/user_manager.h" 7 #include "chrome/browser/chromeos/login/user_manager.h"
8 #include "chrome/browser/extensions/system/system_api.h" 8 #include "chrome/browser/extensions/api/system_private/system_private_api.h"
9 #include "chrome/browser/prefs/pref_service.h" 9 #include "chrome/browser/prefs/pref_service.h"
10 #include "chrome/browser/profiles/profile.h" 10 #include "chrome/browser/profiles/profile.h"
11 #include "chrome/browser/profiles/profile_manager.h" 11 #include "chrome/browser/profiles/profile_manager.h"
12 #include "chrome/common/pref_names.h" 12 #include "chrome/common/pref_names.h"
13 #include "chromeos/dbus/dbus_thread_manager.h" 13 #include "chromeos/dbus/dbus_thread_manager.h"
14 #include "chromeos/display/output_configurator.h" 14 #include "chromeos/display/output_configurator.h"
15 15
16 namespace chromeos { 16 namespace chromeos {
17 17
18 SuspendObserver::SuspendObserver() 18 SuspendObserver::SuspendObserver()
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 MessageLoop::current()->PostTask(FROM_HERE, screen_lock_callback_); 54 MessageLoop::current()->PostTask(FROM_HERE, screen_lock_callback_);
55 screen_lock_callback_.Reset(); 55 screen_lock_callback_.Reset();
56 } 56 }
57 } 57 }
58 58
59 void SuspendObserver::ScreenIsUnlocked() { 59 void SuspendObserver::ScreenIsUnlocked() {
60 screen_locked_ = false; 60 screen_locked_ = false;
61 } 61 }
62 62
63 } // namespace chromeos 63 } // namespace chromeos
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698