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

Unified Diff: content/browser/devtools/render_frame_devtools_agent_host.h

Issue 2075973002: Revert of Move content/browser/power_save_blocker to //device/power_save_blocker (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@power-save-next-2
Patch Set: 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
Index: content/browser/devtools/render_frame_devtools_agent_host.h
diff --git a/content/browser/devtools/render_frame_devtools_agent_host.h b/content/browser/devtools/render_frame_devtools_agent_host.h
index 249d9d2da15e5c86c89b60b2cc858611432fbe9a..e5d1d83b6ca6d68db164cef3f19c3e13eda40f43 100644
--- a/content/browser/devtools/render_frame_devtools_agent_host.h
+++ b/content/browser/devtools/render_frame_devtools_agent_host.h
@@ -23,12 +23,6 @@
class CompositorFrameMetadata;
}
-#if defined(OS_ANDROID)
-namespace device {
-class PowerSaveBlockerImpl;
-} // namespace device
-#endif
-
namespace content {
class BrowserContext;
@@ -37,6 +31,10 @@
class FrameTreeNode;
class NavigationHandle;
class RenderFrameHostImpl;
+
+#if defined(OS_ANDROID)
+class PowerSaveBlockerImpl;
+#endif
namespace devtools {
namespace browser { class BrowserHandler; }
@@ -173,7 +171,7 @@
std::unique_ptr<devtools::emulation::EmulationHandler> emulation_handler_;
std::unique_ptr<DevToolsFrameTraceRecorder> frame_trace_recorder_;
#if defined(OS_ANDROID)
- std::unique_ptr<device::PowerSaveBlockerImpl> power_save_blocker_;
+ std::unique_ptr<PowerSaveBlockerImpl> power_save_blocker_;
std::unique_ptr<base::WeakPtrFactory<ui::ViewAndroid>> view_weak_factory_;
#endif
std::unique_ptr<DevToolsProtocolHandler> protocol_handler_;
« no previous file with comments | « content/browser/android/browser_jni_registrar.cc ('k') | content/browser/devtools/render_frame_devtools_agent_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698