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

Side by Side Diff: chromeos/dbus/power_manager_client.cc

Issue 1540803002: Switch to standard integer types in chromeos/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more includes Created 5 years 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
« no previous file with comments | « chromeos/dbus/power_manager_client.h ('k') | chromeos/dbus/power_policy_controller.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 #include "chromeos/dbus/power_manager_client.h" 5 #include "chromeos/dbus/power_manager_client.h"
6 6
7 #include <stdint.h>
8
7 #include <algorithm> 9 #include <algorithm>
8 10
9 #include "base/bind.h" 11 #include "base/bind.h"
10 #include "base/command_line.h" 12 #include "base/command_line.h"
11 #include "base/format_macros.h" 13 #include "base/format_macros.h"
12 #include "base/logging.h" 14 #include "base/logging.h"
15 #include "base/macros.h"
13 #include "base/memory/scoped_ptr.h" 16 #include "base/memory/scoped_ptr.h"
14 #include "base/message_loop/message_loop.h" 17 #include "base/message_loop/message_loop.h"
15 #include "base/observer_list.h" 18 #include "base/observer_list.h"
16 #include "base/power_monitor/power_monitor_device_source.h" 19 #include "base/power_monitor/power_monitor_device_source.h"
17 #include "base/strings/string_number_conversions.h" 20 #include "base/strings/string_number_conversions.h"
18 #include "base/strings/string_split.h" 21 #include "base/strings/string_split.h"
19 #include "base/strings/stringprintf.h" 22 #include "base/strings/stringprintf.h"
20 #include "base/threading/platform_thread.h" 23 #include "base/threading/platform_thread.h"
21 #include "base/timer/timer.h" 24 #include "base/timer/timer.h"
22 #include "chromeos/chromeos_switches.h" 25 #include "chromeos/chromeos_switches.h"
(...skipping 766 matching lines...) Expand 10 before | Expand all | Expand 10 after
789 // static 792 // static
790 PowerManagerClient* PowerManagerClient::Create( 793 PowerManagerClient* PowerManagerClient::Create(
791 DBusClientImplementationType type) { 794 DBusClientImplementationType type) {
792 if (type == REAL_DBUS_CLIENT_IMPLEMENTATION) 795 if (type == REAL_DBUS_CLIENT_IMPLEMENTATION)
793 return new PowerManagerClientImpl(); 796 return new PowerManagerClientImpl();
794 DCHECK_EQ(STUB_DBUS_CLIENT_IMPLEMENTATION, type); 797 DCHECK_EQ(STUB_DBUS_CLIENT_IMPLEMENTATION, type);
795 return new FakePowerManagerClient(); 798 return new FakePowerManagerClient();
796 } 799 }
797 800
798 } // namespace chromeos 801 } // namespace chromeos
OLDNEW
« no previous file with comments | « chromeos/dbus/power_manager_client.h ('k') | chromeos/dbus/power_policy_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698