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

Side by Side Diff: chrome/browser/media/webrtc_browsertest_base.h

Issue 2034393004: Allow multiple logging::LogMessage{Handler,Listener}s Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: clean up, MockLog uses listener Created 4 years, 5 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 #ifndef CHROME_BROWSER_MEDIA_WEBRTC_BROWSERTEST_BASE_H_ 5 #ifndef CHROME_BROWSER_MEDIA_WEBRTC_BROWSERTEST_BASE_H_
6 #define CHROME_BROWSER_MEDIA_WEBRTC_BROWSERTEST_BASE_H_ 6 #define CHROME_BROWSER_MEDIA_WEBRTC_BROWSERTEST_BASE_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
(...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after
179 std::string default_video_codec = kUseDefaultVideoCodec) const; 179 std::string default_video_codec = kUseDefaultVideoCodec) const;
180 void ReceiveAnswer(const std::string& answer, 180 void ReceiveAnswer(const std::string& answer,
181 content::WebContents* from_tab) const; 181 content::WebContents* from_tab) const;
182 void GatherAndSendIceCandidates(content::WebContents* from_tab, 182 void GatherAndSendIceCandidates(content::WebContents* from_tab,
183 content::WebContents* to_tab) const; 183 content::WebContents* to_tab) const;
184 184
185 infobars::InfoBar* GetUserMediaAndWaitForInfoBar( 185 infobars::InfoBar* GetUserMediaAndWaitForInfoBar(
186 content::WebContents* tab_contents, 186 content::WebContents* tab_contents,
187 const std::string& constraints) const; 187 const std::string& constraints) const;
188 188
189 logging::ScopedLogMessageListener listener;
Dan Beam 2016/07/15 03:11:19 nit: log_listener_
wychen 2016/07/18 15:44:12 Done.
189 bool detect_errors_in_javascript_; 190 bool detect_errors_in_javascript_;
190 191
191 DISALLOW_COPY_AND_ASSIGN(WebRtcTestBase); 192 DISALLOW_COPY_AND_ASSIGN(WebRtcTestBase);
192 }; 193 };
193 194
194 #endif // CHROME_BROWSER_MEDIA_WEBRTC_BROWSERTEST_BASE_H_ 195 #endif // CHROME_BROWSER_MEDIA_WEBRTC_BROWSERTEST_BASE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698