OLD | NEW |
1 // Copyright (c) 2006-2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2009 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 "chrome/browser/renderer_host/browser_render_process_host.h" | 8 #include "chrome/browser/renderer_host/browser_render_process_host.h" |
9 | 9 |
10 #include "build/build_config.h" | 10 #include "build/build_config.h" |
(...skipping 309 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
320 switches::kRecordMode, | 320 switches::kRecordMode, |
321 switches::kPlaybackMode, | 321 switches::kPlaybackMode, |
322 switches::kNoJsRandomness, | 322 switches::kNoJsRandomness, |
323 switches::kDisableBreakpad, | 323 switches::kDisableBreakpad, |
324 switches::kFullMemoryCrashReport, | 324 switches::kFullMemoryCrashReport, |
325 switches::kEnableLogging, | 325 switches::kEnableLogging, |
326 switches::kDumpHistogramsOnExit, | 326 switches::kDumpHistogramsOnExit, |
327 switches::kDisableLogging, | 327 switches::kDisableLogging, |
328 switches::kLoggingLevel, | 328 switches::kLoggingLevel, |
329 switches::kDebugPrint, | 329 switches::kDebugPrint, |
330 switches::kAllowAllActiveX, | |
331 switches::kMemoryProfiling, | 330 switches::kMemoryProfiling, |
332 switches::kEnableWatchdog, | 331 switches::kEnableWatchdog, |
333 switches::kMessageLoopHistogrammer, | 332 switches::kMessageLoopHistogrammer, |
334 switches::kEnableDCHECK, | 333 switches::kEnableDCHECK, |
335 switches::kSilentDumpOnDCHECK, | 334 switches::kSilentDumpOnDCHECK, |
336 switches::kUseLowFragHeapCrt, | 335 switches::kUseLowFragHeapCrt, |
337 switches::kEnableStatsTable, | 336 switches::kEnableStatsTable, |
338 switches::kAutoSpellCorrect, | 337 switches::kAutoSpellCorrect, |
339 switches::kDisableAudio, | 338 switches::kDisableAudio, |
340 switches::kSimpleDataSource, | 339 switches::kSimpleDataSource, |
(...skipping 618 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
959 profile()->GetExtensionMessageService()->RemoveEventListener( | 958 profile()->GetExtensionMessageService()->RemoveEventListener( |
960 event_name, id()); | 959 event_name, id()); |
961 } | 960 } |
962 } | 961 } |
963 | 962 |
964 void BrowserRenderProcessHost::OnExtensionCloseChannel(int port_id) { | 963 void BrowserRenderProcessHost::OnExtensionCloseChannel(int port_id) { |
965 if (profile()->GetExtensionMessageService()) { | 964 if (profile()->GetExtensionMessageService()) { |
966 profile()->GetExtensionMessageService()->CloseChannel(port_id); | 965 profile()->GetExtensionMessageService()->CloseChannel(port_id); |
967 } | 966 } |
968 } | 967 } |
OLD | NEW |