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

Side by Side Diff: device/battery/battery_status_manager_default.cc

Issue 1542163002: Switch to standard integer types in device/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: win 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 "device/battery/battery_status_manager.h" 5 #include "device/battery/battery_status_manager.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "base/macros.h"
8 9
9 namespace device { 10 namespace device {
10 11
11 namespace { 12 namespace {
12 13
13 class BatteryStatusManagerDefault : public BatteryStatusManager { 14 class BatteryStatusManagerDefault : public BatteryStatusManager {
14 public: 15 public:
15 explicit BatteryStatusManagerDefault( 16 explicit BatteryStatusManagerDefault(
16 const BatteryStatusService::BatteryUpdateCallback& callback) {} 17 const BatteryStatusService::BatteryUpdateCallback& callback) {}
17 ~BatteryStatusManagerDefault() override {} 18 ~BatteryStatusManagerDefault() override {}
(...skipping 13 matching lines...) Expand all
31 } // namespace 32 } // namespace
32 33
33 // static 34 // static
34 scoped_ptr<BatteryStatusManager> BatteryStatusManager::Create( 35 scoped_ptr<BatteryStatusManager> BatteryStatusManager::Create(
35 const BatteryStatusService::BatteryUpdateCallback& callback) { 36 const BatteryStatusService::BatteryUpdateCallback& callback) {
36 return scoped_ptr<BatteryStatusManager>( 37 return scoped_ptr<BatteryStatusManager>(
37 new BatteryStatusManagerDefault(callback)); 38 new BatteryStatusManagerDefault(callback));
38 } 39 }
39 40
40 } // namespace device 41 } // namespace device
OLDNEW
« no previous file with comments | « device/battery/battery_status_manager_chromeos.cc ('k') | device/battery/battery_status_manager_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698