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

Unified Diff: third_party/WebKit/Source/core/testing/NetInfo.h

Issue 2903493002: NetInfo network quality extension: Add callbacks and Layout tests (Closed)
Patch Set: Rebased, Use enum instead of string Created 3 years, 7 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
Index: third_party/WebKit/Source/core/testing/NetInfo.h
diff --git a/third_party/WebKit/Source/core/testing/NetInfo.h b/third_party/WebKit/Source/core/testing/NetInfo.h
new file mode 100644
index 0000000000000000000000000000000000000000..2cf33ea67b02a5a9e24a48a53fbb3ce311abdb92
--- /dev/null
+++ b/third_party/WebKit/Source/core/testing/NetInfo.h
@@ -0,0 +1,30 @@
+// Copyright 2017 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
haraken 2017/06/02 04:03:56 Remove this file.
tbansal1 2017/06/02 04:42:11 Done.
+
+#ifndef NetInfo_h
+#define NetInfo_h
+
+#include "platform/bindings/ScriptWrappable.h"
+#include "platform/heap/Handle.h"
+#include "platform/wtf/text/WTFString.h"
+
+namespace blink {
+
+class NetInfo final : public GarbageCollectedFinalized<NetInfo>,
+ public ScriptWrappable {
+ DEFINE_WRAPPERTYPEINFO();
+
+ public:
+ static NetInfo* create() { return new NetInfo; }
+ ~NetInfo();
+
+ DECLARE_TRACE();
+
+ private:
+ NetInfo();
+};
+
+} // namespace blink
+
+#endif // NetInfo_h

Powered by Google App Engine
This is Rietveld 408576698