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

Side by Side 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: Rebasing... Created 4 years, 8 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
« no previous file with comments | « components/test_runner/tracked_dictionary.h ('k') | components/test_runner/web_test_proxy.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 "components/test_runner/tracked_dictionary.h" 5 #include "components/test_runner/tracked_dictionary.h"
6 6
7 #include <utility> 7 #include <utility>
8 8
9 namespace test_runner { 9 namespace test_runner {
10 10
(...skipping 23 matching lines...) Expand all
34 } 34 }
35 35
36 changed_values_.Set(path, new_value->CreateDeepCopy()); 36 changed_values_.Set(path, new_value->CreateDeepCopy());
37 current_values_.Set(path, std::move(new_value)); 37 current_values_.Set(path, std::move(new_value));
38 } 38 }
39 39
40 void TrackedDictionary::SetBoolean(const std::string& path, bool new_value) { 40 void TrackedDictionary::SetBoolean(const std::string& path, bool new_value) {
41 Set(path, make_scoped_ptr(new base::FundamentalValue(new_value))); 41 Set(path, make_scoped_ptr(new base::FundamentalValue(new_value)));
42 } 42 }
43 43
44 void TrackedDictionary::SetString(const std::string& path,
45 const std::string& new_value) {
46 Set(path, make_scoped_ptr(new base::StringValue(new_value)));
47 }
48
44 } // namespace test_runner 49 } // namespace test_runner
OLDNEW
« no previous file with comments | « components/test_runner/tracked_dictionary.h ('k') | components/test_runner/web_test_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698