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

Unified Diff: content/renderer/effective_connection_type_helper.cc

Issue 2867693004: Snapshot of all changes to get jumbo in blink and content.
Patch Set: Exclude certain files from jumbo because of a Windows problem Created 3 years, 3 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 | « content/renderer/BUILD.gn ('k') | content/renderer/input/frame_input_handler_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/effective_connection_type_helper.cc
diff --git a/content/renderer/effective_connection_type_helper.cc b/content/renderer/effective_connection_type_helper.cc
index 7325420200b84d24381cccc7db04693516d89645..fb360d80302ccdfdd65223182a1382d1610d03cc 100644
--- a/content/renderer/effective_connection_type_helper.cc
+++ b/content/renderer/effective_connection_type_helper.cc
@@ -3,13 +3,10 @@
// found in the LICENSE file.
#include "content/renderer/effective_connection_type_helper.h"
+#include "third_party/WebKit/Source/platform/wtf/Assertions.h"
namespace content {
-#define STATIC_ASSERT_ENUM(a, b) \
- static_assert(static_cast<int>(a) == static_cast<int>(b), \
- "mismatching enums: " #a)
-
STATIC_ASSERT_ENUM(net::EFFECTIVE_CONNECTION_TYPE_UNKNOWN,
blink::WebEffectiveConnectionType::kTypeUnknown);
STATIC_ASSERT_ENUM(net::EFFECTIVE_CONNECTION_TYPE_OFFLINE,
« no previous file with comments | « content/renderer/BUILD.gn ('k') | content/renderer/input/frame_input_handler_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698