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

Unified 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 side-by-side diff with in-line comments
Download patch
« 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 »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/power_save_blocker_factory.h
diff --git a/content/public/browser/power_save_blocker_factory.h b/content/browser/power_save_blocker_factory.h
similarity index 50%
rename from content/public/browser/power_save_blocker_factory.h
rename to content/browser/power_save_blocker_factory.h
index a40c0ce098bcec1bc889786b1357347aec55584e..3d430d8abf428c48d9980fcb2ca6bc72d3767c73 100644
--- a/content/public/browser/power_save_blocker_factory.h
+++ b/content/browser/power_save_blocker_factory.h
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CONTENT_PUBLIC_BROWSER_POWER_SAVE_BLOCKER_FACTORY_H_
-#define CONTENT_PUBLIC_BROWSER_POWER_SAVE_BLOCKER_FACTORY_H_
+#ifndef CONTENT_BROWSER_POWER_SAVE_BLOCKER_FACTORY_H_
+#define CONTENT_BROWSER_POWER_SAVE_BLOCKER_FACTORY_H_
#include <memory>
#include <string>
@@ -11,15 +11,15 @@
#include "base/memory/ref_counted.h"
#include "base/sequenced_task_runner.h"
#include "content/common/content_export.h"
-#include "content/public/browser/power_save_blocker.h"
+#include "device/power_save_blocker/power_save_blocker.h"
namespace content {
-CONTENT_EXPORT std::unique_ptr<PowerSaveBlocker> CreatePowerSaveBlocker(
- PowerSaveBlocker::PowerSaveBlockerType type,
- PowerSaveBlocker::Reason reason,
+CONTENT_EXPORT std::unique_ptr<device::PowerSaveBlocker> CreatePowerSaveBlocker(
+ device::PowerSaveBlocker::PowerSaveBlockerType type,
+ device::PowerSaveBlocker::Reason reason,
const std::string& description);
} // namespace content
-#endif // CONTENT_PUBLIC_BROWSER_POWER_SAVE_BLOCKER_FACTORY_H_
+#endif // CONTENT_BROWSER_POWER_SAVE_BLOCKER_FACTORY_H_
« 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