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

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

Issue 7012007: Chrome side of having the WebKit FileSystem API use WebPermissionClient for checking if using fil... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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/browser_render_process_host.h" 8 #include "content/browser/renderer_host/browser_render_process_host.h"
9 9
10 #include <algorithm> 10 #include <algorithm>
(...skipping 349 matching lines...) Expand 10 before | Expand all | Expand 10 after
360 profile()->GetHostContentSettingsMap())); 360 profile()->GetHostContentSettingsMap()));
361 channel_->AddFilter( 361 channel_->AddFilter(
362 GeolocationDispatcherHost::New( 362 GeolocationDispatcherHost::New(
363 id(), profile()->GetGeolocationPermissionContext())); 363 id(), profile()->GetGeolocationPermissionContext()));
364 channel_->AddFilter(new GpuMessageFilter(id())); 364 channel_->AddFilter(new GpuMessageFilter(id()));
365 channel_->AddFilter(new PepperFileMessageFilter(id(), profile())); 365 channel_->AddFilter(new PepperFileMessageFilter(id(), profile()));
366 channel_->AddFilter( 366 channel_->AddFilter(
367 new PepperMessageFilter(&profile()->GetResourceContext())); 367 new PepperMessageFilter(&profile()->GetResourceContext()));
368 channel_->AddFilter(new speech_input::SpeechInputDispatcherHost(id())); 368 channel_->AddFilter(new speech_input::SpeechInputDispatcherHost(id()));
369 channel_->AddFilter( 369 channel_->AddFilter(
370 new FileSystemDispatcherHost(&profile()->GetResourceContext(), 370 new FileSystemDispatcherHost(&profile()->GetResourceContext()));
371 profile()->GetHostContentSettingsMap()));
372 channel_->AddFilter(new device_orientation::MessageFilter()); 371 channel_->AddFilter(new device_orientation::MessageFilter());
373 channel_->AddFilter( 372 channel_->AddFilter(
374 new BlobMessageFilter(id(), profile()->GetBlobStorageContext())); 373 new BlobMessageFilter(id(), profile()->GetBlobStorageContext()));
375 channel_->AddFilter(new FileUtilitiesMessageFilter(id())); 374 channel_->AddFilter(new FileUtilitiesMessageFilter(id()));
376 channel_->AddFilter(new MimeRegistryMessageFilter()); 375 channel_->AddFilter(new MimeRegistryMessageFilter());
377 channel_->AddFilter(new DatabaseMessageFilter( 376 channel_->AddFilter(new DatabaseMessageFilter(
378 profile()->GetDatabaseTracker())); 377 profile()->GetDatabaseTracker()));
379 378
380 SocketStreamDispatcherHost* socket_stream_dispatcher_host = 379 SocketStreamDispatcherHost* socket_stream_dispatcher_host =
381 new SocketStreamDispatcherHost( 380 new SocketStreamDispatcherHost(
(...skipping 559 matching lines...) Expand 10 before | Expand all | Expand 10 after
941 while (!queued_messages_.empty()) { 940 while (!queued_messages_.empty()) {
942 Send(queued_messages_.front()); 941 Send(queued_messages_.front());
943 queued_messages_.pop(); 942 queued_messages_.pop();
944 } 943 }
945 } 944 }
946 945
947 void BrowserRenderProcessHost::OnUserMetricsRecordAction( 946 void BrowserRenderProcessHost::OnUserMetricsRecordAction(
948 const std::string& action) { 947 const std::string& action) {
949 UserMetrics::RecordComputedAction(action); 948 UserMetrics::RecordComputedAction(action);
950 } 949 }
OLDNEW
« no previous file with comments | « content/browser/file_system/file_system_dispatcher_host.cc ('k') | content/browser/worker_host/worker_process_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698