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

Side by Side Diff: net/filter/sdch_filter_unittest.cc

Issue 1535363003: Switch to standard integer types in net/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: stddef Created 5 years 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 | « net/filter/sdch_filter.h ('k') | net/ftp/ftp_auth_cache.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 <limits.h> 5 #include <limits.h>
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
11 #include "base/logging.h" 11 #include "base/logging.h"
12 #include "base/macros.h"
12 #include "base/memory/scoped_ptr.h" 13 #include "base/memory/scoped_ptr.h"
13 #include "base/test/histogram_tester.h" 14 #include "base/test/histogram_tester.h"
14 #include "base/test/simple_test_clock.h" 15 #include "base/test/simple_test_clock.h"
15 #include "net/base/io_buffer.h" 16 #include "net/base/io_buffer.h"
16 #include "net/base/sdch_dictionary.h" 17 #include "net/base/sdch_dictionary.h"
17 #include "net/base/sdch_manager.h" 18 #include "net/base/sdch_manager.h"
18 #include "net/base/sdch_observer.h" 19 #include "net/base/sdch_observer.h"
19 #include "net/filter/mock_filter_context.h" 20 #include "net/filter/mock_filter_context.h"
20 #include "net/filter/sdch_filter.h" 21 #include "net/filter/sdch_filter.h"
21 #include "net/url_request/url_request_context.h" 22 #include "net/url_request/url_request_context.h"
(...skipping 1270 matching lines...) Expand 10 before | Expand all | Expand 10 after
1292 1293
1293 filter.reset(nullptr); 1294 filter.reset(nullptr);
1294 1295
1295 // Confirm that we got a "DictionaryUsed" signal from the SdchManager 1296 // Confirm that we got a "DictionaryUsed" signal from the SdchManager
1296 // for our dictionary. 1297 // for our dictionary.
1297 EXPECT_EQ(1, observer.dictionary_used_calls()); 1298 EXPECT_EQ(1, observer.dictionary_used_calls());
1298 EXPECT_EQ(server_hash, observer.last_server_hash()); 1299 EXPECT_EQ(server_hash, observer.last_server_hash());
1299 } 1300 }
1300 1301
1301 } // namespace net 1302 } // namespace net
OLDNEW
« no previous file with comments | « net/filter/sdch_filter.h ('k') | net/ftp/ftp_auth_cache.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698