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

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

Issue 586163003: Basic implementation of GeofencingManager class. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@geofencing5
Patch Set: minor cleanup Created 6 years, 2 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/geofencing/geofencing_provider.h ('k') | content/common/geofencing_status.h » ('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 // Represents the browser side of the browser <--> renderer communication 5 // Represents the browser side of the browser <--> renderer communication
6 // channel. There will be one RenderProcessHost per renderer process. 6 // channel. There will be one RenderProcessHost per renderer process.
7 7
8 #include "content/browser/renderer_host/render_process_host_impl.h" 8 #include "content/browser/renderer_host/render_process_host_impl.h"
9 9
10 #include <algorithm> 10 #include <algorithm>
(...skipping 875 matching lines...) Expand 10 before | Expand all | Expand 10 after
886 switches::kEnableMemoryBenchmarking)) 886 switches::kEnableMemoryBenchmarking))
887 AddFilter(new MemoryBenchmarkMessageFilter()); 887 AddFilter(new MemoryBenchmarkMessageFilter());
888 #endif 888 #endif
889 AddFilter(new VibrationMessageFilter()); 889 AddFilter(new VibrationMessageFilter());
890 AddFilter(new PushMessagingMessageFilter( 890 AddFilter(new PushMessagingMessageFilter(
891 GetID(), storage_partition_impl_->GetServiceWorkerContext())); 891 GetID(), storage_partition_impl_->GetServiceWorkerContext()));
892 AddFilter(new BatteryStatusMessageFilter()); 892 AddFilter(new BatteryStatusMessageFilter());
893 #if defined(OS_ANDROID) 893 #if defined(OS_ANDROID)
894 AddFilter(new ScreenOrientationMessageFilterAndroid()); 894 AddFilter(new ScreenOrientationMessageFilterAndroid());
895 #endif 895 #endif
896 AddFilter(new GeofencingDispatcherHost()); 896 AddFilter(new GeofencingDispatcherHost(browser_context_));
897 } 897 }
898 898
899 int RenderProcessHostImpl::GetNextRoutingID() { 899 int RenderProcessHostImpl::GetNextRoutingID() {
900 return widget_helper_->GetNextRoutingID(); 900 return widget_helper_->GetNextRoutingID();
901 } 901 }
902 902
903 903
904 void RenderProcessHostImpl::ResumeDeferredNavigation( 904 void RenderProcessHostImpl::ResumeDeferredNavigation(
905 const GlobalRequestID& request_id) { 905 const GlobalRequestID& request_id) {
906 widget_helper_->ResumeDeferredNavigation(request_id); 906 widget_helper_->ResumeDeferredNavigation(request_id);
(...skipping 1343 matching lines...) Expand 10 before | Expand all | Expand 10 after
2250 if (worker_ref_count_ == 0) 2250 if (worker_ref_count_ == 0)
2251 Cleanup(); 2251 Cleanup();
2252 } 2252 }
2253 2253
2254 void RenderProcessHostImpl::EnsureMojoActivated() { 2254 void RenderProcessHostImpl::EnsureMojoActivated() {
2255 mojo_activation_required_ = true; 2255 mojo_activation_required_ = true;
2256 MaybeActivateMojo(); 2256 MaybeActivateMojo();
2257 } 2257 }
2258 2258
2259 } // namespace content 2259 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/geofencing/geofencing_provider.h ('k') | content/common/geofencing_status.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698