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

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

Issue 9838085: Move files inside chrome/browser/chromeos/dbus to chromeos/dbus (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Rebase Created 8 years, 8 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 (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/chromeos/power/power_state_override.h" 5 #include "chrome/browser/chromeos/power/power_state_override.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/message_loop.h" 8 #include "base/message_loop.h"
9 #include "base/time.h" 9 #include "base/time.h"
10 #include "chrome/browser/chromeos/dbus/dbus_thread_manager.h" 10 #include "chromeos/dbus/dbus_thread_manager.h"
11 #include "chrome/browser/chromeos/dbus/power_manager_client.h" 11 #include "chromeos/dbus/power_manager_client.h"
12 12
13 using chromeos::PowerManagerClient; 13 using chromeos::PowerManagerClient;
14 14
15 namespace { 15 namespace {
16 16
17 const int kHeartbeatTimeInSecs = 300; 17 const int kHeartbeatTimeInSecs = 300;
18 18
19 } 19 }
20 20
21 namespace chromeos { 21 namespace chromeos {
(...skipping 30 matching lines...) Expand all
52 PowerManagerClient::DISABLE_IDLE_DIM | 52 PowerManagerClient::DISABLE_IDLE_DIM |
53 PowerManagerClient::DISABLE_IDLE_BLANK | 53 PowerManagerClient::DISABLE_IDLE_BLANK |
54 PowerManagerClient::DISABLE_IDLE_SUSPEND | 54 PowerManagerClient::DISABLE_IDLE_SUSPEND |
55 PowerManagerClient::DISABLE_IDLE_LID_SUSPEND, 55 PowerManagerClient::DISABLE_IDLE_LID_SUSPEND,
56 base::Bind(&PowerStateOverride::Heartbeat, 56 base::Bind(&PowerStateOverride::Heartbeat,
57 weak_ptr_factory_.GetWeakPtr())); 57 weak_ptr_factory_.GetWeakPtr()));
58 } 58 }
59 } 59 }
60 60
61 } // namespace chromeos 61 } // namespace chromeos
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/power/power_button_observer.cc ('k') | chrome/browser/chromeos/power/resume_observer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698