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

Side by Side Diff: content/browser/plugin_process_host.cc

Issue 7074025: Get rid of content dependency from sandbox_policy.h (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 6 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/content_browser_client.cc ('k') | content/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) 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 #include "content/browser/plugin_process_host.h" 5 #include "content/browser/plugin_process_host.h"
6 6
7 #if defined(OS_WIN) 7 #if defined(OS_WIN)
8 #include <windows.h> 8 #include <windows.h>
9 #elif defined(OS_POSIX) 9 #elif defined(OS_POSIX)
10 #include <utility> // for pair<> 10 #include <utility> // for pair<>
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after
163 switches::kEnableStatsTable, 163 switches::kEnableStatsTable,
164 switches::kFullMemoryCrashReport, 164 switches::kFullMemoryCrashReport,
165 switches::kLoggingLevel, 165 switches::kLoggingLevel,
166 #if defined(OS_CHROMEOS) 166 #if defined(OS_CHROMEOS)
167 switches::kLoginProfile, 167 switches::kLoginProfile,
168 #endif 168 #endif
169 switches::kLogPluginMessages, 169 switches::kLogPluginMessages,
170 switches::kMemoryProfiling, 170 switches::kMemoryProfiling,
171 switches::kNoSandbox, 171 switches::kNoSandbox,
172 switches::kPluginStartupDialog, 172 switches::kPluginStartupDialog,
173 switches::kSafePlugins,
174 switches::kSilentDumpOnDCHECK, 173 switches::kSilentDumpOnDCHECK,
175 switches::kTestSandbox, 174 switches::kTestSandbox,
176 switches::kUseGL, 175 switches::kUseGL,
177 switches::kUserAgent, 176 switches::kUserAgent,
178 switches::kUserDataDir, 177 switches::kUserDataDir,
179 switches::kV, 178 switches::kV,
180 }; 179 };
181 180
182 cmd_line->CopySwitchesFrom(browser_command_line, kSwitchNames, 181 cmd_line->CopySwitchesFrom(browser_command_line, kSwitchNames,
183 arraysize(kSwitchNames)); 182 arraysize(kSwitchNames));
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after
327 } 326 }
328 } 327 }
329 328
330 void PluginProcessHost::OnChannelCreated( 329 void PluginProcessHost::OnChannelCreated(
331 const IPC::ChannelHandle& channel_handle) { 330 const IPC::ChannelHandle& channel_handle) {
332 Client* client = sent_requests_.front(); 331 Client* client = sent_requests_.front();
333 332
334 client->OnChannelOpened(channel_handle); 333 client->OnChannelOpened(channel_handle);
335 sent_requests_.pop(); 334 sent_requests_.pop();
336 } 335 }
OLDNEW
« no previous file with comments | « content/browser/content_browser_client.cc ('k') | content/common/content_switches.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698