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

Unified Diff: components/test_runner/tracked_dictionary.cc

Issue 1829253002: Replicate to all renderers the accepted languages set by a layout test. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@splitting-web-frame-test-client
Patch Set: Quit early if the value doesn't really change. Created 4 years, 9 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: components/test_runner/tracked_dictionary.cc
diff --git a/components/test_runner/tracked_dictionary.cc b/components/test_runner/tracked_dictionary.cc
index 890553afcbfd25891ed42930598fd58956e38256..5b78ea0feabdd4e7867a2f22491a1355e2f9a7c8 100644
--- a/components/test_runner/tracked_dictionary.cc
+++ b/components/test_runner/tracked_dictionary.cc
@@ -41,4 +41,9 @@ void TrackedDictionary::SetBoolean(const std::string& path, bool new_value) {
Set(path, make_scoped_ptr(new base::FundamentalValue(new_value)));
}
+void TrackedDictionary::SetString(const std::string& path,
+ const std::string& new_value) {
+ Set(path, make_scoped_ptr(new base::StringValue(new_value)));
+}
+
} // namespace test_runner

Powered by Google App Engine
This is Rietveld 408576698