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

Unified Diff: third_party/libjingle/overrides/field_trial.cc

Issue 1419253002: Rearrange dependency to enable adding finch experiment in webrtc (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: formatting BUILD.gn Created 5 years, 2 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 side-by-side diff with in-line comments
Download patch
Index: third_party/libjingle/overrides/field_trial.cc
diff --git a/third_party/libjingle/overrides/field_trial.cc b/third_party/libjingle/overrides/field_trial.cc
new file mode 100644
index 0000000000000000000000000000000000000000..b07746ca3b5a76bcce233d751e2a64a3b989e0f8
--- /dev/null
+++ b/third_party/libjingle/overrides/field_trial.cc
@@ -0,0 +1,16 @@
+// Copyright 2015 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "base/metrics/field_trial.h"
+
+namespace webrtc {
+// Define webrtc::field_trial::FindFullName to provide webrtc with a field trial
Sergey Ulanov 2015/10/26 17:43:31 nit: This comment looks out of place between the t
guoweis_left_chromium 2015/10/26 18:16:44 Done.
+// implementation.
+namespace field_trial {
+std::string FindFullName(const std::string& trial_name) {
+ return base::FieldTrialList::FindFullName(trial_name);
+}
+} // namespace field_trial
+
Sergey Ulanov 2015/10/26 17:43:31 nit: remove this empty line or add one after line
guoweis_left_chromium 2015/10/26 18:16:44 Done.
+} // namespace webrtc

Powered by Google App Engine
This is Rietveld 408576698