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

Side by Side Diff: content/browser/devtools/render_frame_devtools_agent_host.h

Issue 2073353002: Merge PowerSaveBlockerImpl and PowerSaveBlocker (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@remove-power-factory
Patch Set: android 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
« no previous file with comments | « content/browser/DEPS ('k') | content/browser/devtools/render_frame_devtools_agent_host.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_DEVTOOLS_RENDER_FRAME_DEVTOOLS_AGENT_HOST_H_ 5 #ifndef CONTENT_BROWSER_DEVTOOLS_RENDER_FRAME_DEVTOOLS_AGENT_HOST_H_
6 #define CONTENT_BROWSER_DEVTOOLS_RENDER_FRAME_DEVTOOLS_AGENT_HOST_H_ 6 #define CONTENT_BROWSER_DEVTOOLS_RENDER_FRAME_DEVTOOLS_AGENT_HOST_H_
7 7
8 #include <map> 8 #include <map>
9 #include <memory> 9 #include <memory>
10 10
11 #include "base/compiler_specific.h" 11 #include "base/compiler_specific.h"
12 #include "base/macros.h" 12 #include "base/macros.h"
13 #include "build/build_config.h" 13 #include "build/build_config.h"
14 #include "content/browser/devtools/devtools_agent_host_impl.h" 14 #include "content/browser/devtools/devtools_agent_host_impl.h"
15 #include "content/common/content_export.h" 15 #include "content/common/content_export.h"
16 #include "content/public/browser/web_contents_observer.h" 16 #include "content/public/browser/web_contents_observer.h"
17 17
18 #if defined(OS_ANDROID) 18 #if defined(OS_ANDROID)
19 #include "ui/android/view_android.h" 19 #include "ui/android/view_android.h"
20 #endif // OS_ANDROID 20 #endif // OS_ANDROID
21 21
22 namespace cc { 22 namespace cc {
23 class CompositorFrameMetadata; 23 class CompositorFrameMetadata;
24 } 24 }
25 25
26 #if defined(OS_ANDROID) 26 #if defined(OS_ANDROID)
27 namespace device { 27 namespace device {
28 class PowerSaveBlockerImpl; 28 class PowerSaveBlocker;
29 } // namespace device 29 } // namespace device
30 #endif 30 #endif
31 31
32 namespace content { 32 namespace content {
33 33
34 class BrowserContext; 34 class BrowserContext;
35 class DevToolsFrameTraceRecorder; 35 class DevToolsFrameTraceRecorder;
36 class DevToolsProtocolHandler; 36 class DevToolsProtocolHandler;
37 class FrameTreeNode; 37 class FrameTreeNode;
38 class NavigationHandle; 38 class NavigationHandle;
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after
166 std::unique_ptr<devtools::page::PageHandler> page_handler_; 166 std::unique_ptr<devtools::page::PageHandler> page_handler_;
167 std::unique_ptr<devtools::security::SecurityHandler> security_handler_; 167 std::unique_ptr<devtools::security::SecurityHandler> security_handler_;
168 std::unique_ptr<devtools::service_worker::ServiceWorkerHandler> 168 std::unique_ptr<devtools::service_worker::ServiceWorkerHandler>
169 service_worker_handler_; 169 service_worker_handler_;
170 std::unique_ptr<devtools::storage::StorageHandler> 170 std::unique_ptr<devtools::storage::StorageHandler>
171 storage_handler_; 171 storage_handler_;
172 std::unique_ptr<devtools::tracing::TracingHandler> tracing_handler_; 172 std::unique_ptr<devtools::tracing::TracingHandler> tracing_handler_;
173 std::unique_ptr<devtools::emulation::EmulationHandler> emulation_handler_; 173 std::unique_ptr<devtools::emulation::EmulationHandler> emulation_handler_;
174 std::unique_ptr<DevToolsFrameTraceRecorder> frame_trace_recorder_; 174 std::unique_ptr<DevToolsFrameTraceRecorder> frame_trace_recorder_;
175 #if defined(OS_ANDROID) 175 #if defined(OS_ANDROID)
176 std::unique_ptr<device::PowerSaveBlockerImpl> power_save_blocker_; 176 std::unique_ptr<device::PowerSaveBlocker> power_save_blocker_;
177 std::unique_ptr<base::WeakPtrFactory<ui::ViewAndroid>> view_weak_factory_; 177 std::unique_ptr<base::WeakPtrFactory<ui::ViewAndroid>> view_weak_factory_;
178 #endif 178 #endif
179 std::unique_ptr<DevToolsProtocolHandler> protocol_handler_; 179 std::unique_ptr<DevToolsProtocolHandler> protocol_handler_;
180 bool current_frame_crashed_; 180 bool current_frame_crashed_;
181 181
182 // PlzNavigate 182 // PlzNavigate
183 183
184 // Handle that caused the setting of pending_. 184 // Handle that caused the setting of pending_.
185 NavigationHandle* pending_handle_; 185 NavigationHandle* pending_handle_;
186 186
(...skipping 10 matching lines...) Expand all
197 197
198 // The FrameTreeNode associated with this agent. 198 // The FrameTreeNode associated with this agent.
199 FrameTreeNode* frame_tree_node_; 199 FrameTreeNode* frame_tree_node_;
200 200
201 DISALLOW_COPY_AND_ASSIGN(RenderFrameDevToolsAgentHost); 201 DISALLOW_COPY_AND_ASSIGN(RenderFrameDevToolsAgentHost);
202 }; 202 };
203 203
204 } // namespace content 204 } // namespace content
205 205
206 #endif // CONTENT_BROWSER_DEVTOOLS_RENDER_FRAME_DEVTOOLS_AGENT_HOST_H_ 206 #endif // CONTENT_BROWSER_DEVTOOLS_RENDER_FRAME_DEVTOOLS_AGENT_HOST_H_
OLDNEW
« no previous file with comments | « content/browser/DEPS ('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