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

Side by Side Diff: content/browser/power_save_blocker_impl.h

Issue 1549113002: Switch to standard integer types in content/browser/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 12 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) 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 #ifndef CONTENT_BROWSER_POWER_SAVE_BLOCKER_IMPL_H_ 5 #ifndef CONTENT_BROWSER_POWER_SAVE_BLOCKER_IMPL_H_
6 #define CONTENT_BROWSER_POWER_SAVE_BLOCKER_IMPL_H_ 6 #define CONTENT_BROWSER_POWER_SAVE_BLOCKER_IMPL_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/macros.h"
10 #include "base/memory/ref_counted.h" 11 #include "base/memory/ref_counted.h"
12 #include "build/build_config.h"
11 #include "content/public/browser/power_save_blocker.h" 13 #include "content/public/browser/power_save_blocker.h"
12 14
13 namespace content { 15 namespace content {
14 16
15 class WebContents; 17 class WebContents;
16 18
17 class PowerSaveBlockerImpl : public PowerSaveBlocker { 19 class PowerSaveBlockerImpl : public PowerSaveBlocker {
18 public: 20 public:
19 PowerSaveBlockerImpl(PowerSaveBlockerType type, 21 PowerSaveBlockerImpl(PowerSaveBlockerType type,
20 Reason reason, 22 Reason reason,
(...skipping 28 matching lines...) Expand all
49 // block system suspend when screen saver / display sleep is blocked. 51 // block system suspend when screen saver / display sleep is blocked.
50 scoped_refptr<Delegate> freedesktop_suspend_delegate_; 52 scoped_refptr<Delegate> freedesktop_suspend_delegate_;
51 #endif 53 #endif
52 54
53 DISALLOW_COPY_AND_ASSIGN(PowerSaveBlockerImpl); 55 DISALLOW_COPY_AND_ASSIGN(PowerSaveBlockerImpl);
54 }; 56 };
55 57
56 } // namespace content 58 } // namespace content
57 59
58 #endif // CONTENT_BROWSER_POWER_SAVE_BLOCKER_IMPL_H_ 60 #endif // CONTENT_BROWSER_POWER_SAVE_BLOCKER_IMPL_H_
OLDNEW
« no previous file with comments | « content/browser/power_save_blocker_chromeos.cc ('k') | content/browser/power_save_blocker_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698