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

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

Issue 13006020: net: extract net/cert out of net/base (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixes Created 7 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 unified diff | Download patch | Annotate | Revision Log
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.h"
11 #include "base/string_util.h" 11 #include "base/string_util.h"
12 #include "base/stringprintf.h" 12 #include "base/stringprintf.h"
13 #include "net/base/cache_type.h" 13 #include "net/base/cache_type.h"
Ryan Sleevi 2013/03/28 19:00:52 sort
Paweł Hajdan Jr. 2013/03/28 19:40:06 Done.
14 #include "net/base/cert_status_flags.h" 14 #include "net/cert/cert_status_flags.h"
15 #include "net/base/host_port_pair.h" 15 #include "net/base/host_port_pair.h"
16 #include "net/base/load_flags.h" 16 #include "net/base/load_flags.h"
17 #include "net/base/net_errors.h" 17 #include "net/base/net_errors.h"
18 #include "net/base/net_log_unittest.h" 18 #include "net/base/net_log_unittest.h"
19 #include "net/base/upload_bytes_element_reader.h" 19 #include "net/base/upload_bytes_element_reader.h"
20 #include "net/base/upload_data_stream.h" 20 #include "net/base/upload_data_stream.h"
21 #include "net/disk_cache/disk_cache.h" 21 #include "net/disk_cache/disk_cache.h"
22 #include "net/http/http_byte_range.h" 22 #include "net/http/http_byte_range.h"
23 #include "net/http/http_request_headers.h" 23 #include "net/http/http_request_headers.h"
24 #include "net/http/http_request_info.h" 24 #include "net/http/http_request_info.h"
(...skipping 5726 matching lines...) Expand 10 before | Expand all | Expand 10 after
5751 trans->SetPriority(net::HIGHEST); 5751 trans->SetPriority(net::HIGHEST);
5752 // Should trigger a new network transaction and pick up the new 5752 // Should trigger a new network transaction and pick up the new
5753 // priority. 5753 // priority.
5754 ReadAndVerifyTransaction(trans.get(), transaction); 5754 ReadAndVerifyTransaction(trans.get(), transaction);
5755 5755
5756 EXPECT_EQ(net::HIGHEST, 5756 EXPECT_EQ(net::HIGHEST,
5757 cache.network_layer()->last_create_transaction_priority()); 5757 cache.network_layer()->last_create_transaction_priority());
5758 5758
5759 RemoveMockTransaction(&kRangeGET_TransactionOK); 5759 RemoveMockTransaction(&kRangeGET_TransactionOK);
5760 } 5760 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698