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

Side by Side Diff: net/http/disk_cache_based_quic_server_info_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
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 "net/http/disk_cache_based_quic_server_info.h" 5 #include "net/http/disk_cache_based_quic_server_info.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/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "base/macros.h"
10 #include "base/message_loop/message_loop.h" 11 #include "base/message_loop/message_loop.h"
11 #include "net/base/net_errors.h" 12 #include "net/base/net_errors.h"
12 #include "net/http/mock_http_cache.h" 13 #include "net/http/mock_http_cache.h"
13 #include "net/quic/crypto/quic_server_info.h" 14 #include "net/quic/crypto/quic_server_info.h"
14 #include "net/quic/quic_server_id.h" 15 #include "net/quic/quic_server_id.h"
15 #include "testing/gtest/include/gtest/gtest.h" 16 #include "testing/gtest/include/gtest/gtest.h"
16 17
17 using std::string; 18 using std::string;
18 19
19 namespace net { 20 namespace net {
(...skipping 627 matching lines...) Expand 10 before | Expand all | Expand 10 after
647 DeleteCacheCompletionCallback cb(quic_server_info); 648 DeleteCacheCompletionCallback cb(quic_server_info);
648 quic_server_info->Start(); 649 quic_server_info->Start();
649 int rv = quic_server_info->WaitForDataReady(cb.callback()); 650 int rv = quic_server_info->WaitForDataReady(cb.callback());
650 EXPECT_EQ(ERR_IO_PENDING, rv); 651 EXPECT_EQ(ERR_IO_PENDING, rv);
651 // Now complete the backend creation and let the callback run. 652 // Now complete the backend creation and let the callback run.
652 factory->FinishCreation(); 653 factory->FinishCreation();
653 EXPECT_EQ(OK, cb.GetResult(rv)); 654 EXPECT_EQ(OK, cb.GetResult(rv));
654 } 655 }
655 656
656 } // namespace net 657 } // namespace net
OLDNEW
« no previous file with comments | « net/http/disk_cache_based_quic_server_info.cc ('k') | net/http/failing_http_transaction_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698