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

Unified Diff: net/base/load_timing_info_test_util.h

Issue 992733002: Remove //net (except for Android test stuff) and sdch (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 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 | « net/base/load_timing_info.cc ('k') | net/base/load_timing_info_test_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/load_timing_info_test_util.h
diff --git a/net/base/load_timing_info_test_util.h b/net/base/load_timing_info_test_util.h
deleted file mode 100644
index 5c2fd172a77d4f4c4846af2b7d43d594fb9d207c..0000000000000000000000000000000000000000
--- a/net/base/load_timing_info_test_util.h
+++ /dev/null
@@ -1,39 +0,0 @@
-// Copyright (c) 2013 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.
-
-#ifndef NET_BASE_LOAD_TIMING_INFO_TEST_UTIL_H_
-#define NET_BASE_LOAD_TIMING_INFO_TEST_UTIL_H_
-
-#include "net/base/load_timing_info.h"
-
-namespace net {
-
-// Flags indicating which times in a LoadTimingInfo::ConnectTiming struct should
-// be non-null.
-enum ConnectTimeFlags {
- CONNECT_TIMING_HAS_CONNECT_TIMES_ONLY = 0,
- CONNECT_TIMING_HAS_DNS_TIMES = 1 << 0,
- CONNECT_TIMING_HAS_SSL_TIMES = 1 << 1,
-};
-
-// Checks that all times in |connect_timing| are null.
-void ExpectConnectTimingHasNoTimes(
- const LoadTimingInfo::ConnectTiming& connect_timing);
-
-// Checks that |connect_timing|'s times are in the correct order.
-// |connect_start| and |connect_end| must be non-null. Checks null state and
-// order of DNS times and SSL times based on |flags|, which must be a
-// combination of ConnectTimeFlags.
-void ExpectConnectTimingHasTimes(
- const LoadTimingInfo::ConnectTiming& connect_timing,
- int connect_timing_flags);
-
-// Tests that all non-connection establishment times in |load_timing_info| are
-// null. Its |connect_timing| field is ignored.
-void ExpectLoadTimingHasOnlyConnectionTimes(
- const LoadTimingInfo& load_timing_info);
-
-} // namespace net
-
-#endif // NET_BASE_LOAD_TIMING_INFO_TEST_UTIL_H_
« no previous file with comments | « net/base/load_timing_info.cc ('k') | net/base/load_timing_info_test_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698