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

Unified Diff: trunk/src/net/spdy/spdy_test_utils.h

Issue 485943004: Revert 290320 "Refactor pooling logic into a helper method" (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 years, 4 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 | « trunk/src/net/spdy/spdy_session_unittest.cc ('k') | trunk/src/net/spdy/spdy_test_utils.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/src/net/spdy/spdy_test_utils.h
===================================================================
--- trunk/src/net/spdy/spdy_test_utils.h (revision 290385)
+++ trunk/src/net/spdy/spdy_test_utils.h (working copy)
@@ -5,17 +5,12 @@
#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,
@@ -38,19 +33,6 @@
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
« no previous file with comments | « trunk/src/net/spdy/spdy_session_unittest.cc ('k') | trunk/src/net/spdy/spdy_test_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698