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

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

Issue 2075153002: Reland of 'Move content/browser/power_save_blocker to //device/power_save_blocker' (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: missing libs for component mac Created 4 years, 6 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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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_PUBLIC_BROWSER_POWER_SAVE_BLOCKER_FACTORY_H_ 5 #ifndef CONTENT_BROWSER_POWER_SAVE_BLOCKER_FACTORY_H_
6 #define CONTENT_PUBLIC_BROWSER_POWER_SAVE_BLOCKER_FACTORY_H_ 6 #define CONTENT_BROWSER_POWER_SAVE_BLOCKER_FACTORY_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <string> 9 #include <string>
10 10
11 #include "base/memory/ref_counted.h" 11 #include "base/memory/ref_counted.h"
12 #include "base/sequenced_task_runner.h" 12 #include "base/sequenced_task_runner.h"
13 #include "content/common/content_export.h" 13 #include "content/common/content_export.h"
14 #include "content/public/browser/power_save_blocker.h" 14 #include "device/power_save_blocker/power_save_blocker.h"
15 15
16 namespace content { 16 namespace content {
17 17
18 CONTENT_EXPORT std::unique_ptr<PowerSaveBlocker> CreatePowerSaveBlocker( 18 CONTENT_EXPORT std::unique_ptr<device::PowerSaveBlocker> CreatePowerSaveBlocker(
19 PowerSaveBlocker::PowerSaveBlockerType type, 19 device::PowerSaveBlocker::PowerSaveBlockerType type,
20 PowerSaveBlocker::Reason reason, 20 device::PowerSaveBlocker::Reason reason,
21 const std::string& description); 21 const std::string& description);
22 22
23 } // namespace content 23 } // namespace content
24 24
25 #endif // CONTENT_PUBLIC_BROWSER_POWER_SAVE_BLOCKER_FACTORY_H_ 25 #endif // CONTENT_BROWSER_POWER_SAVE_BLOCKER_FACTORY_H_
OLDNEW
« no previous file with comments | « content/browser/power_save_blocker_chromeos.cc ('k') | content/browser/power_save_blocker_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698