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

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

Issue 7885013: Move the ViewHostMsg_ClearPredictorCache out of content into chrome as this functionality is chro... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 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 | Annotate | Revision Log
« no previous file with comments | « content/browser/browser_main.cc ('k') | content/browser/renderer_host/render_message_filter.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) 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 538 matching lines...) Expand 10 before | Expand all | Expand 10 after
549 switches::kDisableLocalStorage, 549 switches::kDisableLocalStorage,
550 switches::kDisableLogging, 550 switches::kDisableLogging,
551 switches::kDisableSeccompSandbox, 551 switches::kDisableSeccompSandbox,
552 switches::kDisableSessionStorage, 552 switches::kDisableSessionStorage,
553 switches::kDisableSharedWorkers, 553 switches::kDisableSharedWorkers,
554 switches::kDisableSpeechInput, 554 switches::kDisableSpeechInput,
555 switches::kDisableWebAudio, 555 switches::kDisableWebAudio,
556 switches::kDisableWebSockets, 556 switches::kDisableWebSockets,
557 switches::kEnableAccessibilityLogging, 557 switches::kEnableAccessibilityLogging,
558 switches::kEnableAdaptive, 558 switches::kEnableAdaptive,
559 switches::kEnableBenchmarking,
560 switches::kEnableDCHECK, 559 switches::kEnableDCHECK,
561 switches::kEnableGPUServiceLogging, 560 switches::kEnableGPUServiceLogging,
562 switches::kEnableGPUClientLogging, 561 switches::kEnableGPUClientLogging,
563 switches::kEnableLogging, 562 switches::kEnableLogging,
564 switches::kEnableMediaStream, 563 switches::kEnableMediaStream,
565 switches::kDisableFullScreen, 564 switches::kDisableFullScreen,
566 switches::kEnablePepperTesting, 565 switches::kEnablePepperTesting,
567 #if defined(OS_MACOSX) 566 #if defined(OS_MACOSX)
568 // Allow this to be set when invoking the browser and relayed along. 567 // Allow this to be set when invoking the browser and relayed along.
569 switches::kEnableSandboxLogging, 568 switches::kEnableSandboxLogging,
(...skipping 370 matching lines...) Expand 10 before | Expand all | Expand 10 after
940 void BrowserRenderProcessHost::OnRevealFolderInOS(const FilePath& path) { 939 void BrowserRenderProcessHost::OnRevealFolderInOS(const FilePath& path) {
941 // Only honor the request if appropriate persmissions are granted. 940 // Only honor the request if appropriate persmissions are granted.
942 if (ChildProcessSecurityPolicy::GetInstance()->CanReadFile(id(), path)) 941 if (ChildProcessSecurityPolicy::GetInstance()->CanReadFile(id(), path))
943 content::GetContentClient()->browser()->OpenItem(path); 942 content::GetContentClient()->browser()->OpenItem(path);
944 } 943 }
945 944
946 void BrowserRenderProcessHost::OnSavedPageAsMHTML(int job_id, bool success) { 945 void BrowserRenderProcessHost::OnSavedPageAsMHTML(int job_id, bool success) {
947 content::GetContentClient()->browser()->GetMHTMLGenerationManager()-> 946 content::GetContentClient()->browser()->GetMHTMLGenerationManager()->
948 MHTMLGenerated(job_id, success); 947 MHTMLGenerated(job_id, success);
949 } 948 }
OLDNEW
« no previous file with comments | « content/browser/browser_main.cc ('k') | content/browser/renderer_host/render_message_filter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698