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

Side by Side Diff: chrome/browser/media/webrtc_logging_handler_host.cc

Issue 1658793002: Update chrome for new prefs location. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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
OLDNEW
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_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/prefs/pref_service.h"
16 #include "base/strings/string_number_conversions.h" 15 #include "base/strings/string_number_conversions.h"
17 #include "base/sys_info.h" 16 #include "base/sys_info.h"
18 #include "base/time/time.h" 17 #include "base/time/time.h"
19 #include "build/build_config.h" 18 #include "build/build_config.h"
20 #include "chrome/browser/bad_message.h" 19 #include "chrome/browser/bad_message.h"
21 #include "chrome/browser/browser_process.h" 20 #include "chrome/browser/browser_process.h"
22 #include "chrome/browser/chromeos/settings/cros_settings.h" 21 #include "chrome/browser/chromeos/settings/cros_settings.h"
23 #include "chrome/browser/media/webrtc_log_list.h" 22 #include "chrome/browser/media/webrtc_log_list.h"
24 #include "chrome/browser/media/webrtc_log_uploader.h" 23 #include "chrome/browser/media/webrtc_log_uploader.h"
25 #include "chrome/browser/media/webrtc_rtp_dump_handler.h" 24 #include "chrome/browser/media/webrtc_rtp_dump_handler.h"
26 #include "chrome/browser/profiles/profile.h" 25 #include "chrome/browser/profiles/profile.h"
27 #include "chrome/common/channel_info.h" 26 #include "chrome/common/channel_info.h"
28 #include "chrome/common/chrome_switches.h" 27 #include "chrome/common/chrome_switches.h"
29 #include "chrome/common/media/webrtc_logging_messages.h" 28 #include "chrome/common/media/webrtc_logging_messages.h"
30 #include "chromeos/settings/cros_settings_names.h" 29 #include "chromeos/settings/cros_settings_names.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"
35 #include "content/public/browser/render_process_host.h" 35 #include "content/public/browser/render_process_host.h"
36 #include "gpu/config/gpu_info.h" 36 #include "gpu/config/gpu_info.h"
37 #include "net/base/address_family.h" 37 #include "net/base/address_family.h"
38 #include "net/base/ip_address_number.h" 38 #include "net/base/ip_address_number.h"
39 #include "net/base/net_util.h" 39 #include "net/base/net_util.h"
40 #include "net/url_request/url_request_context_getter.h" 40 #include "net/url_request/url_request_context_getter.h"
(...skipping 826 matching lines...) Expand 10 before | Expand all | Expand 10 after
867 867
868 if (!is_audio_debug_recordings_in_progress_) { 868 if (!is_audio_debug_recordings_in_progress_) {
869 error_callback.Run("No audio debug recording in progress"); 869 error_callback.Run("No audio debug recording in progress");
870 return; 870 return;
871 } 871 }
872 872
873 host->DisableAudioDebugRecordings(); 873 host->DisableAudioDebugRecordings();
874 is_audio_debug_recordings_in_progress_ = false; 874 is_audio_debug_recordings_in_progress_ = false;
875 callback.Run(prefix_path.AsUTF8Unsafe(), true /* stopped */, is_manual_stop); 875 callback.Run(prefix_path.AsUTF8Unsafe(), true /* stopped */, is_manual_stop);
876 } 876 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698