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

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

Issue 9195001: Remove --simple-data-source and convert WebMediaPlayerImpl::Initialize() to a void function. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src
Patch Set: no dcheck Created 8 years, 11 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 | « no previous file | content/public/common/content_switches.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 #if defined(OS_WIN) 10 #if defined(OS_WIN)
(...skipping 683 matching lines...) Expand 10 before | Expand all | Expand 10 after
694 switches::kPpapiOutOfProcess, 694 switches::kPpapiOutOfProcess,
695 switches::kRecordMode, 695 switches::kRecordMode,
696 switches::kRegisterPepperPlugins, 696 switches::kRegisterPepperPlugins,
697 switches::kRendererAssertTest, 697 switches::kRendererAssertTest,
698 #if !defined(OFFICIAL_BUILD) 698 #if !defined(OFFICIAL_BUILD)
699 switches::kRendererCheckFalseTest, 699 switches::kRendererCheckFalseTest,
700 #endif // !defined(OFFICIAL_BUILD) 700 #endif // !defined(OFFICIAL_BUILD)
701 switches::kRendererCrashTest, 701 switches::kRendererCrashTest,
702 switches::kRendererStartupDialog, 702 switches::kRendererStartupDialog,
703 switches::kShowPaintRects, 703 switches::kShowPaintRects,
704 switches::kSimpleDataSource,
705 switches::kTestSandbox, 704 switches::kTestSandbox,
706 switches::kTraceStartup, 705 switches::kTraceStartup,
707 // This flag needs to be propagated to the renderer process for 706 // This flag needs to be propagated to the renderer process for
708 // --in-process-webgl. 707 // --in-process-webgl.
709 switches::kUseGL, 708 switches::kUseGL,
710 switches::kUserAgent, 709 switches::kUserAgent,
711 switches::kV, 710 switches::kV,
712 switches::kVideoThreads, 711 switches::kVideoThreads,
713 switches::kVModule, 712 switches::kVModule,
714 switches::kWebCoreLogChannels, 713 switches::kWebCoreLogChannels,
(...skipping 585 matching lines...) Expand 10 before | Expand all | Expand 10 after
1300 void RenderProcessHostImpl::OnRevealFolderInOS(const FilePath& path) { 1299 void RenderProcessHostImpl::OnRevealFolderInOS(const FilePath& path) {
1301 // Only honor the request if appropriate persmissions are granted. 1300 // Only honor the request if appropriate persmissions are granted.
1302 if (ChildProcessSecurityPolicy::GetInstance()->CanReadFile(GetID(), path)) 1301 if (ChildProcessSecurityPolicy::GetInstance()->CanReadFile(GetID(), path))
1303 content::GetContentClient()->browser()->OpenItem(path); 1302 content::GetContentClient()->browser()->OpenItem(path);
1304 } 1303 }
1305 1304
1306 void RenderProcessHostImpl::OnSavedPageAsMHTML(int job_id, int64 data_size) { 1305 void RenderProcessHostImpl::OnSavedPageAsMHTML(int job_id, int64 data_size) {
1307 content::GetContentClient()->browser()->GetMHTMLGenerationManager()-> 1306 content::GetContentClient()->browser()->GetMHTMLGenerationManager()->
1308 MHTMLGenerated(job_id, data_size); 1307 MHTMLGenerated(job_id, data_size);
1309 } 1308 }
OLDNEW
« no previous file with comments | « no previous file | content/public/common/content_switches.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698