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

Side by Side Diff: content/browser/renderer_host/render_process_host_impl.h

Issue 501033003: Remove implicit conversions from scoped_refptr to T* in content/browser/renderer_host/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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 (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_RENDERER_HOST_BROWSER_RENDER_PROCESS_HOST_IMPL_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_BROWSER_RENDER_PROCESS_HOST_IMPL_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_BROWSER_RENDER_PROCESS_HOST_IMPL_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_BROWSER_RENDER_PROCESS_HOST_IMPL_H_
7 7
8 #include <map> 8 #include <map>
9 #include <queue> 9 #include <queue>
10 #include <string> 10 #include <string>
(...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after
227 static void RegisterRendererMainThreadFactory( 227 static void RegisterRendererMainThreadFactory(
228 RendererMainThreadFactoryFunction create); 228 RendererMainThreadFactoryFunction create);
229 229
230 #if defined(OS_ANDROID) 230 #if defined(OS_ANDROID)
231 const scoped_refptr<BrowserDemuxerAndroid>& browser_demuxer_android() { 231 const scoped_refptr<BrowserDemuxerAndroid>& browser_demuxer_android() {
232 return browser_demuxer_android_; 232 return browser_demuxer_android_;
233 } 233 }
234 #endif 234 #endif
235 235
236 MessagePortMessageFilter* message_port_message_filter() const { 236 MessagePortMessageFilter* message_port_message_filter() const {
237 return message_port_message_filter_; 237 return message_port_message_filter_.get();
238 } 238 }
239 239
240 void set_is_isolated_guest_for_testing(bool is_isolated_guest) { 240 void set_is_isolated_guest_for_testing(bool is_isolated_guest) {
241 is_isolated_guest_ = is_isolated_guest; 241 is_isolated_guest_ = is_isolated_guest;
242 } 242 }
243 243
244 // Called when the existence of the other renderer process which is connected 244 // Called when the existence of the other renderer process which is connected
245 // to the Worker in this renderer process has changed. 245 // to the Worker in this renderer process has changed.
246 // It is only called when "enable-embedded-shared-worker" flag is set. 246 // It is only called when "enable-embedded-shared-worker" flag is set.
247 void IncrementWorkerRefCount(); 247 void IncrementWorkerRefCount();
(...skipping 210 matching lines...) Expand 10 before | Expand all | Expand 10 after
458 #if defined(OS_MACOSX) 458 #if defined(OS_MACOSX)
459 base::ScopedCFTypeRef<IOSurfaceRef> last_io_surface_; 459 base::ScopedCFTypeRef<IOSurfaceRef> last_io_surface_;
460 #endif 460 #endif
461 461
462 DISALLOW_COPY_AND_ASSIGN(RenderProcessHostImpl); 462 DISALLOW_COPY_AND_ASSIGN(RenderProcessHostImpl);
463 }; 463 };
464 464
465 } // namespace content 465 } // namespace content
466 466
467 #endif // CONTENT_BROWSER_RENDERER_HOST_BROWSER_RENDER_PROCESS_HOST_IMPL_H_ 467 #endif // CONTENT_BROWSER_RENDERER_HOST_BROWSER_RENDER_PROCESS_HOST_IMPL_H_
OLDNEW
« no previous file with comments | « content/browser/renderer_host/pepper/quota_reservation.cc ('k') | content/browser/renderer_host/render_process_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698