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

Side by Side Diff: net/sdch/sdch_owner_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/sdch/sdch_owner.cc ('k') | net/server/http_connection.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 "base/location.h" 5 #include "base/location.h"
6 #include "base/macros.h"
6 #include "base/memory/memory_pressure_listener.h" 7 #include "base/memory/memory_pressure_listener.h"
7 #include "base/prefs/testing_pref_store.h" 8 #include "base/prefs/testing_pref_store.h"
8 #include "base/run_loop.h" 9 #include "base/run_loop.h"
9 #include "base/single_thread_task_runner.h" 10 #include "base/single_thread_task_runner.h"
10 #include "base/strings/stringprintf.h" 11 #include "base/strings/stringprintf.h"
11 #include "base/test/histogram_tester.h" 12 #include "base/test/histogram_tester.h"
12 #include "base/test/simple_test_clock.h" 13 #include "base/test/simple_test_clock.h"
13 #include "base/thread_task_runner_handle.h" 14 #include "base/thread_task_runner_handle.h"
14 #include "base/values.h" 15 #include "base/values.h"
15 #include "net/base/sdch_manager.h" 16 #include "net/base/sdch_manager.h"
(...skipping 900 matching lines...) Expand 10 before | Expand all | Expand 10 after
916 917
917 EXPECT_TRUE(CompleteLoadFromURL(url0, "0", true)); 918 EXPECT_TRUE(CompleteLoadFromURL(url0, "0", true));
918 EXPECT_TRUE(CompleteLoadFromURL(url1, "1", false)); 919 EXPECT_TRUE(CompleteLoadFromURL(url1, "1", false));
919 920
920 tester.ExpectTotalCount("Sdch3.NetworkBytesSpent", 1); 921 tester.ExpectTotalCount("Sdch3.NetworkBytesSpent", 1);
921 tester.ExpectUniqueSample("Sdch3.NetworkBytesSpent", 922 tester.ExpectUniqueSample("Sdch3.NetworkBytesSpent",
922 CreateDictionary(url1, "1").size(), 1); 923 CreateDictionary(url1, "1").size(), 1);
923 } 924 }
924 925
925 } // namespace net 926 } // namespace net
OLDNEW
« no previous file with comments | « net/sdch/sdch_owner.cc ('k') | net/server/http_connection.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698