OLD | NEW |
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 539 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
550 switches::kDomAutomationController, | 550 switches::kDomAutomationController, |
551 switches::kDumpHistogramsOnExit, | 551 switches::kDumpHistogramsOnExit, |
552 switches::kEnableAcceleratedDecoding, | 552 switches::kEnableAcceleratedDecoding, |
553 switches::kEnableAdaptive, | 553 switches::kEnableAdaptive, |
554 switches::kEnableBenchmarking, | 554 switches::kEnableBenchmarking, |
555 switches::kEnableClickToPlay, | 555 switches::kEnableClickToPlay, |
556 switches::kEnableCrxlessWebApps, | 556 switches::kEnableCrxlessWebApps, |
557 switches::kEnableDCHECK, | 557 switches::kEnableDCHECK, |
558 switches::kEnableExperimentalExtensionApis, | 558 switches::kEnableExperimentalExtensionApis, |
559 switches::kEnableInBrowserThumbnailing, | 559 switches::kEnableInBrowserThumbnailing, |
| 560 switches::kEnableIPCFuzzing, |
560 switches::kEnableLogging, | 561 switches::kEnableLogging, |
561 switches::kEnableNaCl, | 562 switches::kEnableNaCl, |
562 switches::kEnableOpenMax, | 563 switches::kEnableOpenMax, |
563 #if defined(ENABLE_P2P_APIS) | 564 #if defined(ENABLE_P2P_APIS) |
564 switches::kEnableP2PApi, | 565 switches::kEnableP2PApi, |
565 #endif | 566 #endif |
566 switches::kEnablePepperTesting, | 567 switches::kEnablePepperTesting, |
567 switches::kEnablePrintPreview, | 568 switches::kEnablePrintPreview, |
568 switches::kEnableQuota, | 569 switches::kEnableQuota, |
569 switches::kEnableRemoting, | 570 switches::kEnableRemoting, |
(...skipping 366 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
936 while (!queued_messages_.empty()) { | 937 while (!queued_messages_.empty()) { |
937 Send(queued_messages_.front()); | 938 Send(queued_messages_.front()); |
938 queued_messages_.pop(); | 939 queued_messages_.pop(); |
939 } | 940 } |
940 } | 941 } |
941 | 942 |
942 void BrowserRenderProcessHost::OnUserMetricsRecordAction( | 943 void BrowserRenderProcessHost::OnUserMetricsRecordAction( |
943 const std::string& action) { | 944 const std::string& action) { |
944 UserMetrics::RecordComputedAction(action); | 945 UserMetrics::RecordComputedAction(action); |
945 } | 946 } |
OLD | NEW |