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

Unified Diff: net/spdy/spdy_test_utils.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/spdy/spdy_test_util_common.cc ('k') | net/spdy/spdy_test_utils.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/spdy/spdy_test_utils.h
diff --git a/net/spdy/spdy_test_utils.h b/net/spdy/spdy_test_utils.h
deleted file mode 100644
index 14bc8efbb4cf138d6085f74270b55d3e447dc292..0000000000000000000000000000000000000000
--- a/net/spdy/spdy_test_utils.h
+++ /dev/null
@@ -1,58 +0,0 @@
-// Copyright (c) 2012 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_SPDY_TEST_UTILS_H_
-#define NET_SPDY_TEST_UTILS_H_
-
-#include <stdint.h>
-
-#include <string>
-
-#include "net/spdy/spdy_protocol.h"
-
-namespace net {
-
-class HashValue;
-class TransportSecurityState;
-
-namespace test {
-
-std::string HexDumpWithMarks(const unsigned char* data, int length,
- const bool* marks, int mark_length);
-
-void CompareCharArraysWithHexError(
- const std::string& description,
- const unsigned char* actual,
- const int actual_len,
- const unsigned char* expected,
- const int expected_len);
-
-void SetFrameFlags(SpdyFrame* frame,
- uint8 flags,
- SpdyMajorVersion spdy_version);
-
-void SetFrameLength(SpdyFrame* frame,
- size_t length,
- SpdyMajorVersion spdy_version);
-
-std::string a2b_hex(const char* hex_data);
-
-// Returns a SHA1 HashValue in which each byte has the value |label|.
-HashValue GetTestHashValue(uint8_t label);
-
-// Returns SHA1 pinning header for the of the base64 encoding of
-// GetTestHashValue(|label|).
-std::string GetTestPin(uint8_t label);
-
-// Adds a pin for |host| to |state|.
-void AddPin(TransportSecurityState* state,
- const std::string& host,
- uint8_t primary_label,
- uint8_t backup_label);
-
-} // namespace test
-
-} // namespace net
-
-#endif // NET_SPDY_TEST_UTILS_H_
« no previous file with comments | « net/spdy/spdy_test_util_common.cc ('k') | net/spdy/spdy_test_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698