OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 "chrome/browser/media/webrtc_logging_handler_host.h" | 5 #include "chrome/browser/media/webrtc/webrtc_logging_handler_host.h" |
6 | 6 |
7 #include <string> | 7 #include <string> |
8 #include <utility> | 8 #include <utility> |
9 | 9 |
10 #include "base/bind.h" | 10 #include "base/bind.h" |
11 #include "base/command_line.h" | 11 #include "base/command_line.h" |
12 #include "base/cpu.h" | 12 #include "base/cpu.h" |
13 #include "base/files/file_util.h" | 13 #include "base/files/file_util.h" |
14 #include "base/logging.h" | 14 #include "base/logging.h" |
15 #include "base/strings/string_number_conversions.h" | 15 #include "base/strings/string_number_conversions.h" |
16 #include "base/sys_info.h" | 16 #include "base/sys_info.h" |
17 #include "base/time/time.h" | 17 #include "base/time/time.h" |
18 #include "build/build_config.h" | 18 #include "build/build_config.h" |
19 #include "chrome/browser/bad_message.h" | 19 #include "chrome/browser/bad_message.h" |
20 #include "chrome/browser/browser_process.h" | 20 #include "chrome/browser/browser_process.h" |
21 #include "chrome/browser/chromeos/settings/cros_settings.h" | 21 #include "chrome/browser/chromeos/settings/cros_settings.h" |
22 #include "chrome/browser/media/webrtc_log_list.h" | 22 #include "chrome/browser/media/webrtc/webrtc_log_list.h" |
23 #include "chrome/browser/media/webrtc_log_uploader.h" | 23 #include "chrome/browser/media/webrtc/webrtc_log_uploader.h" |
24 #include "chrome/browser/media/webrtc_rtp_dump_handler.h" | 24 #include "chrome/browser/media/webrtc/webrtc_rtp_dump_handler.h" |
25 #include "chrome/browser/profiles/profile.h" | 25 #include "chrome/browser/profiles/profile.h" |
26 #include "chrome/common/channel_info.h" | 26 #include "chrome/common/channel_info.h" |
27 #include "chrome/common/chrome_switches.h" | 27 #include "chrome/common/chrome_switches.h" |
28 #include "chrome/common/media/webrtc_logging_messages.h" | 28 #include "chrome/common/media/webrtc_logging_messages.h" |
29 #include "chromeos/settings/cros_settings_names.h" | 29 #include "chromeos/settings/cros_settings_names.h" |
30 #include "components/prefs/pref_service.h" | 30 #include "components/prefs/pref_service.h" |
31 #include "components/version_info/version_info.h" | 31 #include "components/version_info/version_info.h" |
32 #include "content/public/browser/browser_thread.h" | 32 #include "content/public/browser/browser_thread.h" |
33 #include "content/public/browser/content_browser_client.h" | 33 #include "content/public/browser/content_browser_client.h" |
34 #include "content/public/browser/gpu_data_manager.h" | 34 #include "content/public/browser/gpu_data_manager.h" |
(...skipping 763 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
798 case STOPPED: | 798 case STOPPED: |
799 error_message_with_state += " State=stopped."; | 799 error_message_with_state += " State=stopped."; |
800 break; | 800 break; |
801 } | 801 } |
802 | 802 |
803 content::BrowserThread::PostTask( | 803 content::BrowserThread::PostTask( |
804 content::BrowserThread::UI, | 804 content::BrowserThread::UI, |
805 FROM_HERE, | 805 FROM_HERE, |
806 base::Bind(callback, success, error_message_with_state)); | 806 base::Bind(callback, success, error_message_with_state)); |
807 } | 807 } |
OLD | NEW |