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

Side by Side Diff: components/test_runner/layout_test_runtime_flags.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
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/layout_test_runtime_flags.h" 5 #include "components/test_runner/layout_test_runtime_flags.h"
6 6
7 namespace test_runner { 7 namespace test_runner {
8 8
9 LayoutTestRuntimeFlags::LayoutTestRuntimeFlags() { 9 LayoutTestRuntimeFlags::LayoutTestRuntimeFlags() {
10 Reset(); 10 Reset();
(...skipping 10 matching lines...) Expand all
21 21
22 set_dump_child_frame_scroll_positions(false); 22 set_dump_child_frame_scroll_positions(false);
23 23
24 set_is_printing(false); 24 set_is_printing(false);
25 25
26 set_policy_delegate_enabled(false); 26 set_policy_delegate_enabled(false);
27 set_policy_delegate_is_permissive(false); 27 set_policy_delegate_is_permissive(false);
28 set_policy_delegate_should_notify_done(false); 28 set_policy_delegate_should_notify_done(false);
29 set_wait_until_done(false); 29 set_wait_until_done(false);
30 30
31 set_accept_languages("");
32
31 // No need to report the initial state - only the future delta is important. 33 // No need to report the initial state - only the future delta is important.
32 tracked_dictionary().ResetChangeTracking(); 34 tracked_dictionary().ResetChangeTracking();
33 } 35 }
34 36
35 } // namespace test_runner 37 } // namespace test_runner
OLDNEW
« no previous file with comments | « components/test_runner/layout_test_runtime_flags.h ('k') | components/test_runner/test_runner.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698