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

Unified Diff: net/spdy/spdy_session_pool.h

Issue 2801603003: Add SpdyString alias for std::string in net/spdy. (Closed)
Patch Set: Created 3 years, 8 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_session.cc ('k') | net/spdy/spdy_session_pool.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/spdy/spdy_session_pool.h
diff --git a/net/spdy/spdy_session_pool.h b/net/spdy/spdy_session_pool.h
index 9da2fb7a26be07f2a04e1c847fd38cc631886b82..7d0b294ed75b0465827bcc19929f231ae5aa4e4e 100644
--- a/net/spdy/spdy_session_pool.h
+++ b/net/spdy/spdy_session_pool.h
@@ -10,7 +10,6 @@
#include <map>
#include <memory>
#include <set>
-#include <string>
#include <vector>
#include "base/macros.h"
@@ -24,6 +23,7 @@
#include "net/cert/cert_database.h"
#include "net/proxy/proxy_config.h"
#include "net/proxy/proxy_server.h"
+#include "net/spdy/platform/api/spdy_string.h"
#include "net/spdy/server_push_delegate.h"
#include "net/spdy/spdy_protocol.h"
#include "net/spdy/spdy_session_key.h"
@@ -164,7 +164,7 @@ class NET_EXPORT SpdySessionPool
void OnCertDBChanged() override;
void DumpMemoryStats(base::trace_event::ProcessMemoryDump* pmd,
- const std::string& parent_dump_absolute_name) const;
+ const SpdyString& parent_dump_absolute_name) const;
private:
friend class SpdySessionPoolPeer; // For testing.
@@ -202,10 +202,9 @@ class NET_EXPORT SpdySessionPool
// Close only the currently existing SpdySessions with |error|. Let
// any new ones created while this method is running continue to
// live. If |idle_only| is true only idle sessions are closed.
- void CloseCurrentSessionsHelper(
- Error error,
- const std::string& description,
- bool idle_only);
+ void CloseCurrentSessionsHelper(Error error,
+ const SpdyString& description,
+ bool idle_only);
HttpServerProperties* http_server_properties_;
« no previous file with comments | « net/spdy/spdy_session.cc ('k') | net/spdy/spdy_session_pool.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698