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

Unified Diff: net/filter/sdch_filter_unittest.cc

Issue 1051933002: Split SdchManager::Dictionary out into separate class/file. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Incorporated comments. Created 5 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/filter/sdch_filter.h ('k') | net/net.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/filter/sdch_filter_unittest.cc
diff --git a/net/filter/sdch_filter_unittest.cc b/net/filter/sdch_filter_unittest.cc
index 4ba38d5d06f31dd90dc7937cd41486f89f1cbf76..09bda23a50bca70083bbbff3ea240e2fccd4b3cd 100644
--- a/net/filter/sdch_filter_unittest.cc
+++ b/net/filter/sdch_filter_unittest.cc
@@ -12,6 +12,8 @@
#include "base/memory/scoped_ptr.h"
#include "base/test/simple_test_clock.h"
#include "net/base/io_buffer.h"
+#include "net/base/sdch_dictionary.h"
+#include "net/base/sdch_manager.h"
#include "net/base/sdch_observer.h"
#include "net/filter/mock_filter_context.h"
#include "net/filter/sdch_filter.h"
@@ -1211,9 +1213,8 @@ TEST_F(SdchFilterTest, UnexpectedDictionary) {
ASSERT_TRUE(hash_set);
ASSERT_EQ(SDCH_OK, problem_code);
- const_cast<SdchManager::Dictionary*>(
- hash_set->GetDictionary(server_hash))->SetClockForTesting(
- clock.Pass());
+ const_cast<SdchDictionary*>(hash_set->GetDictionary(server_hash))
+ ->SetClockForTesting(clock.Pass());
// Encode output with the second dictionary.
std::string sdch_compressed(NewSdchCompressedData(expired_dictionary));
« no previous file with comments | « net/filter/sdch_filter.h ('k') | net/net.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698