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

Unified Diff: net/quic/core/quic_versions_test.cc

Issue 2820423002: Move quic_flags.h from net/quic/core to net/quic/platform and split into api and impl. (Closed)
Patch Set: Created 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/quic/core/quic_versions.cc ('k') | net/quic/test_tools/quic_connection_peer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/core/quic_versions_test.cc
diff --git a/net/quic/core/quic_versions_test.cc b/net/quic/core/quic_versions_test.cc
index a87f225f6fab8a041b82a2a32fa9f7748c30bed8..0b392a9e5b2a445695f4e409810639d382bc90c6 100644
--- a/net/quic/core/quic_versions_test.cc
+++ b/net/quic/core/quic_versions_test.cc
@@ -4,8 +4,9 @@
#include "net/quic/core/quic_versions.h"
-#include "net/quic/core/quic_flags.h"
+#include "net/quic/platform/api/quic_flags.h"
#include "net/quic/test_tools/quic_test_utils.h"
+#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace net {
@@ -146,7 +147,7 @@ TEST(QuicVersionsTest, FilterSupportedVersionsNo39) {
QUIC_VERSION_39};
FLAGS_quic_reloadable_flag_quic_enable_version_38 = true;
- base::SetFlag(&FLAGS_quic_enable_version_39, false);
+ SetQuicFlag(&FLAGS_quic_enable_version_39, false);
QuicVersionVector filtered_versions = FilterSupportedVersions(all_versions);
ASSERT_EQ(4u, filtered_versions.size());
@@ -163,7 +164,7 @@ TEST(QuicVersionsTest, FilterSupportedVersionsAllVersions) {
QUIC_VERSION_39};
FLAGS_quic_reloadable_flag_quic_enable_version_38 = true;
- base::SetFlag(&FLAGS_quic_enable_version_39, true);
+ SetQuicFlag(&FLAGS_quic_enable_version_39, true);
QuicVersionVector filtered_versions = FilterSupportedVersions(all_versions);
ASSERT_EQ(all_versions, filtered_versions);
« no previous file with comments | « net/quic/core/quic_versions.cc ('k') | net/quic/test_tools/quic_connection_peer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698