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

Unified Diff: net/spdy/spdy_session.h

Issue 10763011: Remove several usages of linked_ptr in spdy land. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 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/buffered_spdy_framer_spdy3_unittest.cc ('k') | net/spdy/spdy_session.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/spdy/spdy_session.h
diff --git a/net/spdy/spdy_session.h b/net/spdy/spdy_session.h
index db040140337207b1676322685bd0f12edf63c147..fa7b018936fed84df1ec6166fcbc098e1fecdcaa 100644
--- a/net/spdy/spdy_session.h
+++ b/net/spdy/spdy_session.h
@@ -13,7 +13,6 @@
#include <string>
#include "base/gtest_prod_util.h"
-#include "base/memory/linked_ptr.h"
#include "base/memory/ref_counted.h"
#include "base/memory/weak_ptr.h"
#include "net/base/io_buffer.h"
@@ -165,7 +164,7 @@ class NET_EXPORT SpdySession : public base::RefCounted<SpdySession>,
RequestPriority priority,
uint8 credential_slot,
SpdyControlFlags flags,
- const linked_ptr<SpdyHeaderBlock>& headers);
+ const SpdyHeaderBlock& headers);
// Write a CREDENTIAL frame to the session.
int WriteCredentialFrame(const std::string& origin,
@@ -488,15 +487,15 @@ class NET_EXPORT SpdySession : public base::RefCounted<SpdySession>,
uint8 credential_slot,
bool fin,
bool unidirectional,
- const linked_ptr<SpdyHeaderBlock>& headers) OVERRIDE;
+ const SpdyHeaderBlock& headers) OVERRIDE;
virtual void OnSynReply(
SpdyStreamId stream_id,
bool fin,
- const linked_ptr<SpdyHeaderBlock>& headers) OVERRIDE;
+ const SpdyHeaderBlock& headers) OVERRIDE;
virtual void OnHeaders(
SpdyStreamId stream_id,
bool fin,
- const linked_ptr<SpdyHeaderBlock>& headers) OVERRIDE;
+ const SpdyHeaderBlock& headers) OVERRIDE;
// --------------------------
// Helper methods for testing
« no previous file with comments | « net/spdy/buffered_spdy_framer_spdy3_unittest.cc ('k') | net/spdy/spdy_session.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698