| 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 509 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 520 switches::kDisableAudio, | 520 switches::kDisableAudio, |
| 521 switches::kDisableBreakpad, | 521 switches::kDisableBreakpad, |
| 522 switches::kDisableDataTransferItems, | 522 switches::kDisableDataTransferItems, |
| 523 switches::kDisableDatabases, | 523 switches::kDisableDatabases, |
| 524 switches::kDisableDesktopNotifications, | 524 switches::kDisableDesktopNotifications, |
| 525 switches::kDisableDeviceOrientation, | 525 switches::kDisableDeviceOrientation, |
| 526 switches::kDisableFileSystem, | 526 switches::kDisableFileSystem, |
| 527 switches::kDisableGeolocation, | 527 switches::kDisableGeolocation, |
| 528 switches::kDisableGLMultisampling, | 528 switches::kDisableGLMultisampling, |
| 529 switches::kDisableGLSLTranslator, | 529 switches::kDisableGLSLTranslator, |
| 530 switches::kDisableGpuVsync, |
| 530 switches::kDisableIndexedDatabase, | 531 switches::kDisableIndexedDatabase, |
| 531 switches::kDisableJavaScriptI18NAPI, | 532 switches::kDisableJavaScriptI18NAPI, |
| 532 switches::kDisableLocalStorage, | 533 switches::kDisableLocalStorage, |
| 533 switches::kDisableLogging, | 534 switches::kDisableLogging, |
| 534 #if defined(GOOGLE_CHROME_BUILD) && !defined(OS_CHROMEOS) | 535 #if defined(GOOGLE_CHROME_BUILD) && !defined(OS_CHROMEOS) |
| 535 // Enabled by default in Google Chrome builds, except on CrOS. | 536 // Enabled by default in Google Chrome builds, except on CrOS. |
| 536 switches::kDisablePrintPreview, | 537 switches::kDisablePrintPreview, |
| 537 #else | 538 #else |
| 538 // Disabled by default in Chromium builds and on CrOS. | 539 // Disabled by default in Chromium builds and on CrOS. |
| 539 switches::kEnablePrintPreview, | 540 switches::kEnablePrintPreview, |
| (...skipping 418 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 958 while (!queued_messages_.empty()) { | 959 while (!queued_messages_.empty()) { |
| 959 Send(queued_messages_.front()); | 960 Send(queued_messages_.front()); |
| 960 queued_messages_.pop(); | 961 queued_messages_.pop(); |
| 961 } | 962 } |
| 962 } | 963 } |
| 963 | 964 |
| 964 void BrowserRenderProcessHost::OnUserMetricsRecordAction( | 965 void BrowserRenderProcessHost::OnUserMetricsRecordAction( |
| 965 const std::string& action) { | 966 const std::string& action) { |
| 966 UserMetrics::RecordComputedAction(action); | 967 UserMetrics::RecordComputedAction(action); |
| 967 } | 968 } |
| OLD | NEW |