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

Side by Side Diff: net/spdy/spdy_framer_test.cc

Issue 2018453002: Remove unused variables. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove more vars Created 4 years, 6 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 unified diff | Download patch
« no previous file with comments | « media/renderers/default_renderer_factory.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "net/spdy/spdy_framer.h" 5 #include "net/spdy/spdy_framer.h"
6 6
7 #include <stdlib.h> 7 #include <stdlib.h>
8 #include <string.h> 8 #include <string.h>
9 9
10 #include <algorithm> 10 #include <algorithm>
(...skipping 356 matching lines...) Expand 10 before | Expand all | Expand 10 after
367 return buffer_.release(); 367 return buffer_.release();
368 } 368 }
369 369
370 size_t size() const { 370 size_t size() const {
371 CHECK(finished_); 371 CHECK(finished_);
372 return size_; 372 return size_;
373 } 373 }
374 374
375 private: 375 private:
376 SpdyMajorVersion version_; 376 SpdyMajorVersion version_;
377 TestHeadersHandler* headers_handler_;
378 std::unique_ptr<char[]> buffer_; 377 std::unique_ptr<char[]> buffer_;
379 size_t size_; 378 size_t size_;
380 bool finished_; 379 bool finished_;
381 380
382 DISALLOW_COPY_AND_ASSIGN(DecompressionVisitor); 381 DISALLOW_COPY_AND_ASSIGN(DecompressionVisitor);
383 }; 382 };
384 383
385 private: 384 private:
386 DISALLOW_COPY_AND_ASSIGN(SpdyFramerTestUtil); 385 DISALLOW_COPY_AND_ASSIGN(SpdyFramerTestUtil);
387 }; 386 };
(...skipping 5600 matching lines...) Expand 10 before | Expand all | Expand 10 after
5988 5987
5989 EXPECT_EQ(1, visitor->data_frame_count_); 5988 EXPECT_EQ(1, visitor->data_frame_count_);
5990 EXPECT_EQ(strlen(four_score), static_cast<unsigned>(visitor->data_bytes_)); 5989 EXPECT_EQ(strlen(four_score), static_cast<unsigned>(visitor->data_bytes_));
5991 EXPECT_EQ(0, visitor->headers_frame_count_); 5990 EXPECT_EQ(0, visitor->headers_frame_count_);
5992 } 5991 }
5993 } 5992 }
5994 5993
5995 } // namespace test 5994 } // namespace test
5996 5995
5997 } // namespace net 5996 } // namespace net
OLDNEW
« no previous file with comments | « media/renderers/default_renderer_factory.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698