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

Unified Diff: components/test_runner/layout_test_runtime_flags.h

Issue 1851483002: Revert of 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: 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
« no previous file with comments | « no previous file | components/test_runner/layout_test_runtime_flags.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/test_runner/layout_test_runtime_flags.h
diff --git a/components/test_runner/layout_test_runtime_flags.h b/components/test_runner/layout_test_runtime_flags.h
index 4405dba5d22e63e81fa63ba7bb4bbadb0b0a8e22..ba116df0ecc27cb3b76ef5c1dc034896528c057d 100644
--- a/components/test_runner/layout_test_runtime_flags.h
+++ b/components/test_runner/layout_test_runtime_flags.h
@@ -37,17 +37,6 @@
return result; \
} \
void set_##name(bool new_value) { dict_.SetBoolean(#name, new_value); }
-
-#define DEFINE_STRING_LAYOUT_TEST_RUNTIME_FLAG(name) \
- std::string name() const { \
- std::string result; \
- bool found = dict_.current_values().GetString(#name, &result); \
- DCHECK(found); \
- return result; \
- } \
- void set_##name(const std::string& new_value) { \
- dict_.SetString(#name, new_value); \
- }
// If true, the test_shell will generate pixel results in DumpAsText mode.
DEFINE_BOOL_LAYOUT_TEST_RUNTIME_FLAG(generate_pixel_results)
@@ -91,11 +80,7 @@
// If true, the policy delegate will signal layout test completion.
DEFINE_BOOL_LAYOUT_TEST_RUNTIME_FLAG(policy_delegate_should_notify_done)
- // Contents of Accept-Language HTTP header requested by the test.
- DEFINE_STRING_LAYOUT_TEST_RUNTIME_FLAG(accept_languages)
-
#undef DEFINE_BOOL_LAYOUT_TEST_RUNTIME_FLAG
-#undef DEFINE_STRING_LAYOUT_TEST_RUNTIME_FLAG
// Reports whether recursing over child frames is necessary.
bool dump_child_frames() const {
« no previous file with comments | « no previous file | components/test_runner/layout_test_runtime_flags.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698