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

Side by Side Diff: content/browser/frame_host/render_frame_host_delegate.cc

Issue 2843353003: Move ownership of PowerSaveBlocker from WakeLockServiceContext to WakeLockServiceImpl (Closed)
Patch Set: code rebase Created 3 years, 7 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 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 #include <stddef.h> 5 #include <stddef.h>
6 6
7 #include "base/callback.h" 7 #include "base/callback.h"
8 #include "base/strings/string16.h" 8 #include "base/strings/string16.h"
9 #include "build/build_config.h" 9 #include "build/build_config.h"
10 #include "content/browser/frame_host/render_frame_host_delegate.h" 10 #include "content/browser/frame_host/render_frame_host_delegate.h"
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 RenderFrameHost* render_frame_host, 70 RenderFrameHost* render_frame_host,
71 int browser_plugin_instance_id) { 71 int browser_plugin_instance_id) {
72 return NULL; 72 return NULL;
73 } 73 }
74 74
75 device::GeolocationServiceContext* 75 device::GeolocationServiceContext*
76 RenderFrameHostDelegate::GetGeolocationServiceContext() { 76 RenderFrameHostDelegate::GetGeolocationServiceContext() {
77 return nullptr; 77 return nullptr;
78 } 78 }
79 79
80 device::mojom::WakeLockContext* 80 device::mojom::WakeLockService* RenderFrameHostDelegate::GetRendererWakeLock() {
81 RenderFrameHostDelegate::GetWakeLockServiceContext() {
82 return nullptr; 81 return nullptr;
83 } 82 }
84 83
85 bool RenderFrameHostDelegate::ShouldRouteMessageEvent( 84 bool RenderFrameHostDelegate::ShouldRouteMessageEvent(
86 RenderFrameHost* target_rfh, 85 RenderFrameHost* target_rfh,
87 SiteInstance* source_site_instance) const { 86 SiteInstance* source_site_instance) const {
88 return false; 87 return false;
89 } 88 }
90 89
91 std::unique_ptr<WebUIImpl> 90 std::unique_ptr<WebUIImpl>
(...skipping 10 matching lines...) Expand all
102 } 101 }
103 102
104 #if defined(OS_ANDROID) 103 #if defined(OS_ANDROID)
105 base::android::ScopedJavaLocalRef<jobject> 104 base::android::ScopedJavaLocalRef<jobject>
106 RenderFrameHostDelegate::GetJavaRenderFrameHostDelegate() { 105 RenderFrameHostDelegate::GetJavaRenderFrameHostDelegate() {
107 return nullptr; 106 return nullptr;
108 } 107 }
109 #endif 108 #endif
110 109
111 } // namespace content 110 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698