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

Side by Side Diff: net/http/http_cache_unittest.cc

Issue 19625002: Use a direct include of the message_loop header in net/, part 2. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « net/http/http_cache.cc ('k') | net/http/http_pipelined_connection_impl.cc » ('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 (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/http/http_cache.h" 5 #include "net/http/http_cache.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/bind_helpers.h" 8 #include "base/bind_helpers.h"
9 #include "base/memory/scoped_vector.h" 9 #include "base/memory/scoped_vector.h"
10 #include "base/message_loop.h" 10 #include "base/message_loop/message_loop.h"
11 #include "base/strings/string_util.h" 11 #include "base/strings/string_util.h"
12 #include "base/strings/stringprintf.h" 12 #include "base/strings/stringprintf.h"
13 #include "net/base/cache_type.h" 13 #include "net/base/cache_type.h"
14 #include "net/base/host_port_pair.h" 14 #include "net/base/host_port_pair.h"
15 #include "net/base/load_flags.h" 15 #include "net/base/load_flags.h"
16 #include "net/base/load_timing_info.h" 16 #include "net/base/load_timing_info.h"
17 #include "net/base/load_timing_info_test_util.h" 17 #include "net/base/load_timing_info_test_util.h"
18 #include "net/base/net_errors.h" 18 #include "net/base/net_errors.h"
19 #include "net/base/net_log_unittest.h" 19 #include "net/base/net_log_unittest.h"
20 #include "net/base/upload_bytes_element_reader.h" 20 #include "net/base/upload_bytes_element_reader.h"
(...skipping 5973 matching lines...) Expand 10 before | Expand all | Expand 10 after
5994 trans->SetPriority(net::HIGHEST); 5994 trans->SetPriority(net::HIGHEST);
5995 // Should trigger a new network transaction and pick up the new 5995 // Should trigger a new network transaction and pick up the new
5996 // priority. 5996 // priority.
5997 ReadAndVerifyTransaction(trans.get(), transaction); 5997 ReadAndVerifyTransaction(trans.get(), transaction);
5998 5998
5999 EXPECT_EQ(net::HIGHEST, 5999 EXPECT_EQ(net::HIGHEST,
6000 cache.network_layer()->last_create_transaction_priority()); 6000 cache.network_layer()->last_create_transaction_priority());
6001 6001
6002 RemoveMockTransaction(&kRangeGET_TransactionOK); 6002 RemoveMockTransaction(&kRangeGET_TransactionOK);
6003 } 6003 }
OLDNEW
« no previous file with comments | « net/http/http_cache.cc ('k') | net/http/http_pipelined_connection_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698